/* ===========================
   Kamochu Njoroge & Co. Advocates
   Stylesheet
   =========================== */

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

:root {
    --navy: #1a2340;
    --navy-light: #253257;
    --gold: #b8860b;
    --gold-light: #d4a843;
    --white: #ffffff;
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --font-sans: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --font-serif: Georgia, 'Times New Roman', serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--gray-800);
    line-height: 1.7;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

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

a:hover {
    color: var(--gold);
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--navy);
    line-height: 1.3;
}

.hidden {
    display: none !important;
}

/* --- Container --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    cursor: pointer;
    transition: all var(--transition);
    border: 2px solid transparent;
    font-family: var(--font-sans);
    letter-spacing: 0.02em;
}

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

.btn-primary:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    color: var(--white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    color: var(--white);
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--navy);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

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

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

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 76px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--navy);
}

.logo:hover {
    color: var(--navy);
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--gold);
}

.logo strong {
    display: block;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.logo small {
    display: block;
    font-size: 0.75rem;
    color: var(--gray-500);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 8px;
}

.nav-links a {
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--gray-700);
    border-radius: 6px;
    transition: all var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--navy);
    background: var(--gray-50);
}

.nav-links .btn {
    color: var(--white);
    margin-left: 8px;
}

.nav-links .btn:hover {
    color: var(--white);
    background: var(--gold-light);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--navy);
    border-radius: 2px;
    transition: all var(--transition);
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--navy) 0%, #0d1520 100%);
    padding-top: 76px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 60px 0;
}

.hero h1 {
    font-size: 3.5rem;
    font-family: var(--font-serif);
    color: var(--white);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* --- Stats Bar --- */
.stats-bar {
    background: var(--gold);
    padding: 32px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-serif);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.85);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* --- Sections --- */
.section {
    padding: 80px 0;
}

.section-gray {
    background: var(--gray-50);
}

.section-dark {
    background: var(--navy);
    color: var(--white);
}

.section-dark h2 {
    color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.section-header p {
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-dark .section-header p {
    color: var(--gray-400);
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin-bottom: 12px;
}

.section-tag-light {
    color: var(--gold-light);
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* --- About Preview --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.about-text .btn {
    margin-top: 12px;
}

.about-image {
    position: relative;
}

.about-image-inner {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-decoration {
    width: 120px;
    height: 120px;
    border: 3px solid var(--gold);
    border-radius: 50%;
    position: relative;
}

.about-decoration::after {
    content: '\2696';
    font-size: 3rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold);
}

/* --- Services Grid --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid var(--gray-200);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}

.service-icon {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 12px;
    font-family: var(--font-sans);
    font-weight: 600;
}

.service-card p {
    color: var(--gray-600);
    font-size: 0.92rem;
    line-height: 1.6;
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.feature {
    display: flex;
    gap: 20px;
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    font-family: var(--font-serif);
    line-height: 1;
    flex-shrink: 0;
}

.feature h3 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 8px;
}

.feature p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* --- Testimonials --- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--navy-light);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255,255,255,0.08);
}

.testimonial-stars {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-card p {
    color: var(--gray-300);
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author strong {
    display: block;
    color: var(--white);
    font-size: 0.95rem;
}

.testimonial-author span {
    color: var(--gray-500);
    font-size: 0.82rem;
}

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--navy) 0%, #0d1520 100%);
    padding: 80px 0;
}

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

.cta-content h2 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 16px;
}

.cta-content p {
    color: var(--gray-400);
    font-size: 1.1rem;
    margin-bottom: 32px;
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Page Header --- */
.page-header {
    background: linear-gradient(135deg, var(--navy) 0%, #0d1520 100%);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.8rem;
    color: var(--white);
    margin-bottom: 12px;
}

.page-header p {
    color: var(--gray-400);
    font-size: 1.1rem;
}

/* --- About Detail --- */
.about-detail {
    max-width: 800px;
}

.about-detail-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.about-detail-text p {
    color: var(--gray-600);
    font-size: 1.05rem;
    margin-bottom: 16px;
}

/* --- Mission Grid --- */
.mission-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.mission-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.mission-icon {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 16px;
}

.mission-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.mission-card p {
    color: var(--gray-600);
    font-size: 0.95rem;
}

/* --- Values Grid --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    padding: 32px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}

.value-card:hover {
    border-color: var(--gold);
    box-shadow: var(--shadow-md);
}

.value-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.4;
    margin-bottom: 12px;
}

.value-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 10px;
}

.value-card p {
    color: var(--gray-600);
    font-size: 0.92rem;
}

/* --- Practice Areas --- */
.practice-areas {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.practice-area {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
}

.practice-area:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.practice-area-header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 32px;
    background: var(--gray-50);
    border-bottom: 1px solid var(--gray-200);
}

.practice-area-icon {
    font-size: 2rem;
    color: var(--gold);
    flex-shrink: 0;
}

.practice-area-header h2 {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.practice-area-tagline {
    color: var(--gray-500);
    font-size: 0.9rem;
}

.practice-area-body {
    padding: 28px 32px;
}

.practice-area-body p {
    color: var(--gray-600);
    margin-bottom: 16px;
    font-size: 0.98rem;
}

.practice-area-body h4 {
    font-size: 0.95rem;
    font-family: var(--font-sans);
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 10px;
}

.practice-area-body ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px 24px;
}

.practice-area-body ul li {
    color: var(--gray-600);
    font-size: 0.92rem;
    padding-left: 18px;
    position: relative;
}

.practice-area-body ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
}

/* --- Team --- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.team-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}

.team-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--gold);
}

.team-card-featured {
    grid-column: 1 / -1;
    flex-direction: row;
}

.team-photo {
    flex-shrink: 0;
}

.team-card-featured .team-photo {
    width: 280px;
}

.team-photo-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    font-family: var(--font-serif);
    letter-spacing: 0.05em;
}

.team-card-featured .team-photo-placeholder {
    height: 100%;
    min-height: 280px;
}

.team-info {
    padding: 28px;
}

.team-info h2 {
    font-size: 1.4rem;
    margin-bottom: 4px;
}

.team-role {
    color: var(--gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.team-bio {
    color: var(--gray-600);
    font-size: 0.92rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

.team-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.team-specialties span {
    background: var(--gray-100);
    color: var(--navy);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.team-email {
    color: var(--gold);
    font-size: 0.88rem;
    font-weight: 500;
}

/* --- Join Team --- */
.join-team {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.join-team h2 {
    font-size: 1.8rem;
    margin-bottom: 16px;
}

.join-team p {
    color: var(--gray-600);
    margin-bottom: 24px;
    font-size: 1.02rem;
}

/* --- Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.contact-form-wrapper > p {
    color: var(--gray-600);
    margin-bottom: 32px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 0.95rem;
    font-family: var(--font-sans);
    transition: border-color var(--transition);
    background: var(--white);
    color: var(--gray-800);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(184, 134, 11, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-disclaimer {
    font-size: 0.82rem;
    color: var(--gray-500);
    text-align: center;
    margin-top: 4px;
}

/* --- Contact Sidebar --- */
.contact-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-info-card {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 28px;
}

.contact-info-card h3 {
    font-size: 1.1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info-card-dark {
    background: var(--navy);
    border-color: var(--navy);
}

.contact-info-card-dark h3 {
    color: var(--white);
}

.contact-info-card-dark p {
    color: var(--gray-400);
    font-size: 0.92rem;
    margin-bottom: 20px;
}

.contact-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.contact-info-item:last-child {
    margin-bottom: 0;
}

.contact-info-icon {
    font-size: 1.3rem;
    color: var(--gold);
    flex-shrink: 0;
    line-height: 1;
    margin-top: 2px;
}

.contact-info-item strong {
    display: block;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 2px;
}

.contact-info-item a,
.contact-info-item span {
    color: var(--gray-800);
    font-size: 0.95rem;
}

.office-hours {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hours-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.92rem;
}

.hours-row span {
    color: var(--gray-600);
}

.hours-row strong {
    color: var(--navy);
    font-size: 0.88rem;
}

/* --- Footer --- */
.footer {
    background: var(--navy);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    color: var(--white);
}

.footer-logo .logo-icon {
    color: var(--gold);
    font-size: 1.5rem;
}

.footer-logo strong {
    display: block;
    font-size: 0.95rem;
}

.footer-logo small {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-500);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.footer-about p {
    color: var(--gray-500);
    font-size: 0.88rem;
    line-height: 1.7;
}

.footer-links h4,
.footer-contact h4 {
    color: var(--white);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul a {
    color: var(--gray-500);
    font-size: 0.88rem;
    transition: color var(--transition);
}

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

.footer-contact p,
.footer-contact a {
    color: var(--gray-500);
    font-size: 0.88rem;
    display: block;
    margin-bottom: 8px;
}

.footer-contact a:hover {
    color: var(--gold);
}

.footer-bottom {
    margin-top: 48px;
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
}

.footer-bottom p {
    color: var(--gray-600);
    font-size: 0.82rem;
    text-align: center;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 480px;
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 76px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-md);
        gap: 4px;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 12px 14px;
    }

    .nav-links .btn {
        margin-left: 0;
        margin-top: 8px;
        text-align: center;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .about-preview {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid .testimonial-card:last-child {
        max-width: none;
    }

    .page-header {
        padding: 120px 0 48px;
    }

    .page-header h1 {
        font-size: 2rem;
    }

    .section {
        padding: 56px 0;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .mission-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .practice-area-body ul {
        grid-template-columns: 1fr;
    }

    .team-grid {
        grid-template-columns: 1fr;
    }

    .team-card-featured {
        flex-direction: column;
    }

    .team-card-featured .team-photo {
        width: 100%;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .cta-content h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .btn-lg {
        padding: 12px 28px;
        font-size: 0.92rem;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }
}
.team-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px; /* optional */
}