/* ===== CSS Variables - Matching Deepanam.com ===== */
:root {
    /* Primary Colors from current website */
    --primary: #0557bc;
    --primary-hover: #0063dc;
    --secondary: #1c2440;
    --dark-navy: #0b1341;

    /* Backgrounds */
    --bg-white: #ffffff;
    --bg-light: #f1f3f4;
    --bg-lighter: #f2f5f7;

    /* Text Colors */
    --text-dark: #0b1341;
    --text-body: #424242;
    --text-light: #666666;
    --text-muted: #888888;

    /* Accent for Counseling */
    --accent-counsel: #6b4c9a;
    --accent-counsel-light: #f5f0fa;

    /* UI */
    --border: #e0e0e0;
    --border-light: #eaeaea;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);

    /* Border Radius - matching current site's minimal style */
    --radius-sm: 2px;
    --radius: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;

    /* Transitions */
    --transition: all 0.3s ease;

    /* Typography */
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-body);
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 600;
}

h1 { font-size: clamp(1.875rem, 4vw, 2.75rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.125rem, 2.5vw, 1.375rem); }
h4 { font-size: 1.0625rem; }

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Buttons - Matching current site style ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

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

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

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

.btn-secondary:hover {
    background: var(--dark-navy);
    color: var(--bg-white);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    padding: 12px 26px;
}

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

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

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

.btn-lg {
    padding: 17px 34px;
    font-size: 1rem;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

.btn-full {
    width: 100%;
}

.btn svg {
    width: 18px;
    height: 18px;
}

/* ===== Section Styles ===== */
section {
    padding: 80px 0;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-header h2 {
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.0625rem;
    color: var(--text-light);
}

.section-title {
    margin-bottom: 16px;
}

/* ===== Header ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--bg-white);
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.header-top {
    background: var(--dark-navy);
    color: var(--bg-white);
    padding: 8px 0;
    font-size: 0.875rem;
}

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

.header-top a {
    color: var(--bg-white);
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-top a:hover {
    opacity: 0.9;
}

.header-contact {
    display: flex;
    gap: 24px;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--dark-navy);
    line-height: 1.2;
}

.logo-text span {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu a {
    padding: 10px 16px;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--text-dark);
    border-radius: var(--radius-sm);
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
    background: var(--bg-lighter);
}

.header-cta {
    padding: 12px 24px;
}

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

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

/* ===== Hero Section ===== */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(5, 87, 188, 0.03) 100%);
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
}

.hero-subtitle {
    display: inline-block;
    color: var(--primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.hero h1 {
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.hero-content > p {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.hero-image {
    position: relative;
}

.hero-image-placeholder {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    border-radius: var(--radius-lg);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.hero-card {
    position: absolute;
    background: var(--bg-white);
    padding: 20px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-light);
}

.hero-card-1 {
    bottom: -20px;
    left: -20px;
}

.hero-card-2 {
    top: 20px;
    right: -20px;
}

.hero-card-icon {
    width: 44px;
    height: 44px;
    background: var(--bg-lighter);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 12px;
}

.hero-card-icon.counsel {
    background: var(--accent-counsel-light);
    color: var(--accent-counsel);
}

.hero-card h4 {
    font-size: 0.9375rem;
    margin-bottom: 4px;
}

.hero-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0;
}

/* ===== Services Section ===== */
.services-section {
    background: var(--bg-white);
}

.services-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.services-intro h2 {
    margin-bottom: 16px;
}

.services-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--border-light);
    padding-bottom: 0;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-body);
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    color: var(--primary);
}

.tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-btn svg {
    width: 20px;
    height: 20px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--bg-lighter);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon.counsel {
    background: var(--accent-counsel-light);
    color: var(--accent-counsel);
}

.service-card h4 {
    margin-bottom: 12px;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== About / Why Choose Section ===== */
.about-section {
    background: var(--bg-light);
}

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

.about-image {
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-md);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.about-content h2 {
    margin-bottom: 20px;
}

.about-content > p {
    color: var(--text-light);
    margin-bottom: 28px;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-item h4 {
    margin-bottom: 4px;
    font-size: 1rem;
}

.feature-item p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Team Section ===== */
.team-section {
    background: var(--bg-white);
}

.team-category {
    margin-bottom: 60px;
}

.team-category:last-child {
    margin-bottom: 0;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border-light);
}

.category-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.category-title svg {
    color: var(--primary);
}

.category-badge {
    padding: 6px 14px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Member */
.featured-member {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 32px;
    margin-bottom: 32px;
    border: 1px solid var(--border-light);
}

.featured-image {
    position: relative;
}

.member-photo {
    width: 100%;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 1px solid var(--border-light);
}

.member-photo.counsel {
    color: var(--accent-counsel);
}

.featured-tag {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 16px;
    background: var(--primary);
    color: var(--bg-white);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    white-space: nowrap;
}

.featured-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.member-role {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}

.member-spec {
    color: var(--text-muted);
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.member-bio {
    color: var(--text-body);
    margin-bottom: 20px;
    line-height: 1.7;
}

.member-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.member-tags span {
    padding: 5px 12px;
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-body);
}

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

.team-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

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

.card-image {
    position: relative;
}

.card-image .member-photo {
    aspect-ratio: 4/3;
    border-radius: 0;
}

.card-image .featured-tag {
    bottom: auto;
    top: 12px;
    left: 12px;
    transform: none;
}

.card-content {
    padding: 24px;
}

.card-content h4 {
    margin-bottom: 6px;
}

.card-content .member-role {
    font-size: 0.875rem;
}

.card-content .member-spec {
    font-size: 0.8125rem;
    margin-bottom: 12px;
}

.card-content .member-bio {
    font-size: 0.9375rem;
    margin-bottom: 16px;
}

.card-content .member-tags {
    margin-bottom: 16px;
}

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

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

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    padding: 32px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow);
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    color: #f5a623;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
}

.testimonial-author strong {
    display: block;
    color: var(--text-dark);
    font-size: 0.9375rem;
}

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

/* ===== Blog Section ===== */
.blog-section {
    background: var(--bg-white);
}

.blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.blog-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.blog-card.featured {
    grid-row: span 2;
}

.blog-image {
    position: relative;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lighter) 100%);
    aspect-ratio: 16/9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.blog-card.featured .blog-image {
    aspect-ratio: 4/3;
}

.blog-category {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    background: var(--bg-white);
    color: var(--primary);
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.blog-content {
    padding: 24px;
}

.blog-card.featured .blog-content {
    padding: 28px;
}

.blog-date {
    display: block;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.blog-content h3 {
    margin-bottom: 12px;
    font-size: 1.125rem;
    transition: var(--transition);
}

.blog-card.featured .blog-content h3 {
    font-size: 1.375rem;
}

.blog-card:hover h3 {
    color: var(--primary);
}

.blog-content p {
    font-size: 0.9375rem;
    color: var(--text-light);
    margin-bottom: 16px;
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.875rem;
}

.read-more svg {
    width: 16px;
    height: 16px;
    transition: var(--transition);
}

.read-more:hover svg {
    transform: translateX(4px);
}

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

/* ===== Gallery ===== */
.gallery-section {
    background: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 180px;
    gap: 16px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: linear-gradient(135deg, var(--bg-lighter) 0%, var(--bg-white) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--primary);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.gallery-item.large {
    grid-column: span 2;
    grid-row: span 2;
}

.gallery-item.tall {
    grid-row: span 2;
}

.gallery-item span {
    font-size: 0.875rem;
    color: var(--text-body);
    font-weight: 500;
}

.gallery-item:hover {
    background: var(--primary);
    color: var(--bg-white);
    border-color: var(--primary);
}

.gallery-item:hover span {
    color: var(--bg-white);
}

/* ===== Contact ===== */
.contact-section {
    background: var(--bg-white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 16px;
}

.contact-info > p {
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 16px;
}

.contact-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--bg-lighter);
    color: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    margin-bottom: 4px;
    font-size: 0.9375rem;
}

.contact-item p,
.contact-item a {
    color: var(--text-body);
    font-size: 0.9375rem;
    margin: 0;
}

/* Contact Form */
.contact-form-wrapper {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 36px;
    border: 1px solid var(--border-light);
}

.contact-form h3 {
    margin-bottom: 24px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    font-size: 0.9375rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    background: var(--bg-white);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(5, 87, 188, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: var(--dark-navy);
    padding: 60px 0;
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    color: var(--bg-white);
    margin-bottom: 16px;
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* ===== Footer ===== */
.footer {
    background: var(--secondary);
    color: rgba(255, 255, 255, 0.8);
    padding: 60px 0 24px;
}

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

.footer-brand .logo {
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    color: var(--bg-white);
}

.footer-brand .logo-text span {
    color: rgba(255, 255, 255, 0.6);
}

.footer-brand p {
    font-size: 0.9375rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.social-links {
    display: flex;
    gap: 12px;
}

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

.social-links a:hover {
    background: var(--primary);
}

.footer-links h4 {
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* ===== Page Headers ===== */
.page-header {
    background: var(--dark-navy);
    padding: 140px 0 60px;
    text-align: center;
}

.page-header h1 {
    color: var(--bg-white);
    margin-bottom: 12px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.6);
}

.breadcrumb a:hover {
    color: var(--bg-white);
}

/* ===== Lightbox ===== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    display: none;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2000;
    padding: 40px;
}

.lightbox.active {
    display: flex;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--bg-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-content {
    max-width: 900px;
    max-height: 80vh;
}

.lightbox-placeholder {
    padding: 100px 160px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    color: var(--text-body);
}

.lightbox-caption {
    color: var(--bg-white);
    margin-top: 16px;
    font-size: 1rem;
}

/* ===== Mobile Responsive ===== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .services-intro {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

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

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

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

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

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

@media (max-width: 768px) {
    section {
        padding: 60px 0;
    }

    .header-top {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-menu a {
        padding: 12px 16px;
        width: 100%;
    }

    .header-cta {
        display: none;
    }

    .nav-toggle {
        display: flex;
    }

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

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

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

    .hero {
        padding: 100px 0 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-image {
        display: none;
    }

    .services-tabs {
        flex-direction: column;
        border-bottom: none;
        gap: 8px;
    }

    .tab-btn {
        width: 100%;
        justify-content: center;
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 0;
    }

    .tab-btn.active {
        border-color: var(--primary);
        background: var(--bg-lighter);
    }

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

    .featured-member {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }

    .featured-image {
        max-width: 180px;
        margin: 0 auto;
    }

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

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

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

    .blog-card.featured {
        grid-row: auto;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 140px;
    }

    .gallery-item.large {
        grid-column: span 2;
        grid-row: span 1;
    }

    .gallery-item.tall {
        grid-row: span 1;
    }

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

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

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

    .cta-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero-ctas .btn {
        width: 100%;
    }

    .hero-stats {
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat {
        min-width: 100px;
    }

    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

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

    .gallery-item.large,
    .gallery-item.tall {
        grid-column: auto;
    }
}

/* ===== Accessibility ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
