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

:root {
    --primary-color: #0a0e27;
    --secondary-color: #1a1f3a;
    --accent-color: #d4af37;
    --accent-light: #f4e8c1;
    --text-color: #2c3e50;
    --text-light: #6c757d;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 10px 40px rgba(0, 0, 0, 0.15);
    --gradient-primary: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 50%, #2a2f4a 100%);
    --gradient-accent: linear-gradient(135deg, #d4af37 0%, #f4d03f 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-color);
    overflow-x: hidden;
    background: var(--white);
}

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

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

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

/* Navigation */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

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

a.logo {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 0.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: color 0.3s ease;
}

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

.tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.7rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a:hover {
    color: var(--accent-color);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 6px;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 2px;
}

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

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

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

/* Hero Section */
.hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(-45deg, #0a0e27, #1a1f3a, #2a2f4a, #1a1f3a);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.8;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    animation-delay: 0.2s;
    opacity: 0;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation-delay: 0.4s;
    opacity: 0;
}

.hero-title .highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-accent);
    animation: slideInLeft 0.8s ease-out 1s forwards;
    transform: scaleX(0);
    transform-origin: left;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-light);
    font-weight: 400;
    letter-spacing: 1px;
    animation-delay: 0.6s;
    opacity: 0;
}

.hero-description {
    font-size: 1.15rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
    animation-delay: 0.8s;
    opacity: 0;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation-delay: 1s;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: float 3s ease-in-out infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    position: relative;
}

.mouse::before {
    content: '';
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: pulse 2s infinite;
}

/* Buttons */
.btn {
    padding: 16px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn span,
.btn svg {
    position: relative;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--primary-color);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(5px);
}

.btn-secondary {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-label {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    background: var(--accent-light);
    color: var(--accent-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
}

.underline {
    width: 100px;
    height: 4px;
    background: var(--gradient-accent);
    margin: 0 auto 1.5rem;
    border-radius: 2px;
    position: relative;
}

.underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px var(--white), 0 0 0 6px var(--accent-color);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    font-weight: 400;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Section */
.features {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 80px 0;
}

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

.feature-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 4px solid var(--accent-color);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Quote Section */
.quote-section {
    background: var(--gradient-primary);
    padding: 80px 0;
}

.legal-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.legal-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--white);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.legal-quote cite {
    font-size: 1rem;
    color: var(--accent-color);
    font-style: italic;
}

/* Clients Section */
.clients {
    background: var(--white);
}

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

.client-logo {
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--primary-color);
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
}

.client-logo:hover {
    border-color: var(--accent-color);
    box-shadow: var(--shadow);
}

/* Legal News Section */
.legal-news {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
}

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

.news-cta p {
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Page Hero (Inner Pages) */
.page-hero {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 160px 0 100px;
    text-align: center;
}

.page-hero .section-label {
    background: rgba(212, 175, 55, 0.2);
    color: var(--accent-light);
}

.page-hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Page Content */
.page-content {
    padding: 80px 0;
}

.content-block {
    margin-bottom: 4rem;
}

.content-block h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-block p {
    margin-bottom: 1.5rem;
    line-height: 1.9;
    color: var(--text-color);
}

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

.vm-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.vm-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.vm-card p {
    margin: 0;
    color: var(--text-color);
}

.core-values-list {
    list-style: none;
}

.core-values-list li {
    padding: 1rem 0;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.core-values-list .value-letter {
    font-weight: 700;
    color: var(--accent-color);
    min-width: 2rem;
}

.services-preview {
    text-align: center;
}

/* Contact Page */
.contact-page .contact-page-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
}

.contact-offices h2,
.contact-form-wrapper h2 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.contact-offices .office-card {
    margin-bottom: 1.5rem;
}

.contact-details {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.contact-details h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details a {
    color: var(--text-color);
    text-decoration: none;
}

.contact-details a:hover {
    color: var(--accent-color);
}

/* Blog Section */
.blog-section {
    padding: 80px 0;
}

.blog-intro {
    max-width: 700px;
    margin: 0 auto 3rem;
    text-align: center;
}

.blog-intro p {
    font-size: 1.15rem;
    color: var(--text-light);
}

.blog-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-top: 4px solid var(--accent-color);
}

.news-date {
    font-size: 0.85rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.news-card a {
    color: var(--accent-color);
    text-decoration: none;
}

.news-card a:hover {
    text-decoration: underline;
}

/* Gallery Page */
.gallery-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: stretch;
}

.gallery-card {
    background: var(--white);
    border-radius: 18px;
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.14);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.gallery-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.45);
}

.gallery-image {
    position: relative;
    aspect-ratio: 3 / 4;
    background: linear-gradient(135deg, var(--accent-light) 0%, #ffffff 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-image img {
    transform: scale(1.05);
}

.gallery-image-fallback {
    display: none;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: var(--primary-color);
    font-weight: 700;
    text-align: center;
    border-bottom: 4px solid var(--accent-color);
}

.gallery-card figcaption {
    padding: 1.8rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gallery-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-size: 1.45rem;
    margin-bottom: 0.75rem;
}

.gallery-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Career Section */
.career-section {
    padding: 80px 0;
}

.career-benefits {
    list-style: none;
}

.career-benefits li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.career-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

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

.services-cta {
    text-align: center;
    margin-top: 3rem;
}

.services-full-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Profile Photos & Write-up Section */
.profile-photos-section {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 100px 0;
    overflow: hidden;
}

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

.diagonal-photos {
    position: relative;
    min-height: 420px;
}

.photo-frame {
    position: absolute;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: var(--shadow-hover);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.photo-frame-1 {
    width: 280px;
    height: 350px;
    top: 0;
    left: 0;
    transform: rotate(-6deg);
    z-index: 2;
}

.photo-frame-2 {
    width: 300px;
    height: 380px;
    bottom: 0;
    right: 0;
    transform: rotate(5deg);
    z-index: 1;
}

.profile-writeup-col {
    padding-left: 1rem;
}

.profile-writeup-col .section-label {
    margin-bottom: 0.5rem;
}

.profile-writeup-col h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.profile-writeup-col .highlight-text {
    color: var(--accent-color);
    font-weight: 700;
}

.writeup-lead {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.profile-writeup-col p {
    margin-bottom: 1.2rem;
    color: var(--text-color);
    line-height: 1.8;
}

.profile-writeup-col .btn {
    margin-top: 1rem;
}

/* SAN Recognition Section */
.san-recognition {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.san-recognition::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(212, 175, 55, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.san-recognition::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.san-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.san-content .section-label {
    background: rgba(212, 175, 55, 0.18);
    color: var(--accent-light);
    border: 1px solid rgba(212, 175, 55, 0.35);
}

.san-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    color: var(--white);
    margin: 1rem 0 1.2rem;
    line-height: 1.2;
    font-weight: 700;
}

.san-content .highlight-text {
    color: var(--accent-color);
}

.san-underline {
    margin: 0 0 1.8rem 0;
}

.san-lead {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--accent-light);
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.san-content p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.9;
    margin-bottom: 1.2rem;
    font-size: 1.02rem;
}

.san-content strong {
    color: var(--accent-color);
    font-weight: 600;
}

.san-content .btn {
    margin-top: 1.5rem;
}

.san-image-col {
    display: flex;
    justify-content: center;
    align-items: center;
}

.san-image-frame {
    position: relative;
    max-width: 420px;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5),
                0 0 0 1px rgba(212, 175, 55, 0.4),
                0 0 0 8px rgba(212, 175, 55, 0.08);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.san-image-frame:hover {
    transform: translateY(-6px);
}

.san-image-frame img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.san-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 0.5rem 1.1rem;
    background: var(--gradient-accent);
    color: var(--primary-color);
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
    text-transform: uppercase;
}

/* About Section */
.about {
    background: var(--white);
}

.about-content {
    max-width: 950px;
    margin: 0 auto;
}

.about-text p {
    margin-bottom: 1.8rem;
    font-size: 1.1rem;
    line-height: 1.9;
    color: var(--text-color);
}

.lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
    line-height: 1.6;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.credential-item {
    padding: 2rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-left: 4px solid var(--accent-color);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.credential-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.5s;
}

.credential-item:hover::before {
    left: 100%;
}

.credential-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-left-width: 6px;
}

.credential-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.credential-item strong {
    display: block;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.credential-item p {
    color: var(--text-light);
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

/* Services Section */
.services {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.service-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    filter: grayscale(0.3);
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    filter: grayscale(0);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
}

/* Offices Section */
.offices {
    background: var(--white);
}

.offices-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.office-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2.5rem;
    border-radius: 16px;
    border-top: 4px solid var(--accent-color);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.office-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.office-card:hover::after {
    opacity: 1;
}

.office-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-width: 6px;
}

.office-card h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.office-details {
    position: relative;
    z-index: 1;
}

.office-details p {
    color: var(--text-color);
    line-height: 1.9;
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.office-details strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

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

.contact-item {
    padding: 2rem;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-hover);
}

.contact-item h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 600;
}

.contact-item p {
    margin-bottom: 0.8rem;
    font-size: 1rem;
}

.contact-item a {
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.contact-item a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.contact-item a:hover {
    color: var(--accent-color);
}

.contact-item a:hover::after {
    width: 100%;
}

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

.form-group {
    margin-bottom: 1.8rem;
    position: relative;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
    font-size: 1.4rem;
    font-weight: 600;
}

.footer-section p {
    margin-bottom: 0.8rem;
    opacity: 0.9;
    line-height: 1.8;
}

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

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
    transition: all 0.3s ease;
    display: inline-block;
    position: relative;
}

.footer-section a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent-color);
    transition: width 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-section a:hover::after {
    width: 100%;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

/* Responsive Design */

/* Make all images responsive by default */
img {
    max-width: 100%;
    height: auto;
}

/* Large Desktop / Wide screens */
@media (max-width: 1200px) {
    .container {
        padding: 0 24px;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }

    .nav-menu {
        gap: 1.2rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
    }

    .logo h1 {
        font-size: 1.4rem;
    }

    .tagline {
        font-size: 0.7rem;
    }

    section {
        padding: 80px 0;
    }

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

    .hero-title {
        font-size: 3.5rem;
    }

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

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

    .feature-card {
        padding: 2rem;
    }

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

    .contact-wrapper {
        gap: 2.5rem;
    }

    .contact-form {
        padding: 2.5rem;
    }

    .profile-photos-grid {
        gap: 2.5rem;
    }

    .photo-frame-1 {
        width: 240px;
        height: 300px;
    }

    .photo-frame-2 {
        width: 260px;
        height: 330px;
    }

    .profile-writeup-col h2 {
        font-size: 1.8rem;
    }

    .san-recognition {
        padding: 80px 0;
    }

    .san-grid {
        gap: 3rem;
    }

    .san-content h2 {
        font-size: 2.3rem;
    }

    .san-lead {
        font-size: 1.25rem;
    }

    .san-image-frame {
        max-width: 380px;
    }

    .page-hero {
        padding: 140px 0 80px;
    }

    .page-hero h1 {
        font-size: 3rem;
    }
}

/* Tablet Portrait & Mobile */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    /* Navigation */
    .nav-wrapper {
        padding: 0.9rem 0;
    }

    .logo h1 {
        font-size: 1.15rem;
        letter-spacing: -0.3px;
    }

    .tagline {
        font-size: 0.65rem;
        letter-spacing: 0.3px;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        height: 100vh;
        height: 100dvh;
        text-align: center;
        transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: var(--shadow-hover);
        padding: 90px 0 2rem;
        gap: 0;
        justify-content: flex-start;
        overflow-y: auto;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .nav-menu a {
        font-size: 1.05rem;
        display: inline-block;
        padding: 0.5rem 1rem;
        min-height: 44px;
    }

    /* Sections */
    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 2.5rem;
    }

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

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

    /* Hero */
    .hero {
        padding: 120px 0 70px;
        min-height: auto;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.4rem 1.2rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }

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

    .hero-description {
        font-size: 0.98rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        padding: 14px 30px;
        font-size: 0.95rem;
    }

    .scroll-indicator {
        display: none;
    }

    /* Features */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 2rem 1.5rem;
    }

    /* Profile Photos */
    .profile-photos-section {
        padding: 60px 0;
    }

    .profile-photos-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .profile-photos-col {
        order: 1;
    }

    .profile-writeup-col {
        order: 2;
        padding-left: 0;
        text-align: center;
    }

    .profile-writeup-col .btn {
        width: auto;
    }

    .diagonal-photos {
        min-height: 380px;
        display: block;
        position: relative;
        max-width: 320px;
        margin: 0 auto;
    }

    .photo-frame-1 {
        position: absolute;
        top: 0;
        left: 0;
        transform: rotate(-5deg);
        width: 200px;
        height: 250px;
    }

    .photo-frame-2 {
        position: absolute;
        bottom: 0;
        right: 0;
        left: auto;
        transform: rotate(5deg);
        width: 220px;
        height: 270px;
        margin-top: 0;
    }

    .profile-writeup-col h2 {
        font-size: 1.7rem;
    }

    .writeup-lead {
        font-size: 1.05rem;
    }

    /* SAN Recognition */
    .san-recognition {
        padding: 60px 0;
    }

    .san-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .san-content {
        order: 2;
    }

    .san-image-col {
        order: 1;
    }

    .san-underline {
        margin-left: auto;
        margin-right: auto;
    }

    .san-content h2 {
        font-size: 1.9rem;
    }

    .san-lead {
        font-size: 1.15rem;
    }

    .san-content p {
        font-size: 0.98rem;
        text-align: left;
    }

    .san-image-frame {
        max-width: 340px;
    }

    .san-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.9rem;
        top: 14px;
        right: 14px;
    }

    /* About */
    .about-text p {
        font-size: 1rem;
    }

    .lead {
        font-size: 1.2rem;
    }

    .credentials {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .credential-item {
        padding: 1.5rem;
    }

    /* Quote */
    .quote-section {
        padding: 60px 0;
    }

    .legal-quote p {
        font-size: 1.4rem;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .client-logo {
        padding: 1.5rem 1rem;
        font-size: 0.9rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .service-card h3 {
        font-size: 1.4rem;
    }

    .service-icon {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    /* Offices */
    .offices-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .office-card {
        padding: 2rem 1.5rem;
    }

    /* Contact */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .contact-info {
        gap: 1.5rem;
    }

    .contact-item {
        padding: 1.5rem;
    }

    .contact-item:hover {
        transform: none;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px 15px;
        font-size: 16px; /* prevents iOS zoom on focus */
    }

    /* Page Hero */
    .page-hero {
        padding: 110px 0 60px;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .page-hero p {
        font-size: 1rem;
    }

    /* Page Content */
    .page-content {
        padding: 60px 0;
    }

    .content-block {
        margin-bottom: 3rem;
    }

    .content-block h2 {
        font-size: 1.7rem;
    }

    .vision-mission {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .vm-card {
        padding: 1.8rem;
    }

    /* Contact Page */
    .contact-page .contact-page-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    /* Gallery */
    .gallery-section {
        padding: 60px 0;
    }

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

    .gallery-card figcaption {
        padding: 1.5rem;
    }

    /* Blog */
    .blog-section {
        padding: 60px 0;
    }

    .blog-placeholder {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Career */
    .career-section {
        padding: 60px 0;
    }

    /* Footer */
    .footer {
        padding: 3rem 0 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
        text-align: center;
    }

    .footer-section a:hover {
        transform: none;
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .logo h1 {
        font-size: 1rem;
    }

    .tagline {
        display: none;
    }

    .nav-wrapper {
        padding: 0.8rem 0;
    }

    section {
        padding: 50px 0;
    }

    /* Hero */
    .hero {
        padding: 100px 0 60px;
    }

    .hero-badge {
        font-size: 0.7rem;
        letter-spacing: 0.5px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.15;
    }

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

    .hero-description {
        font-size: 0.92rem;
        margin-bottom: 1.8rem;
    }

    .btn {
        padding: 13px 24px;
        font-size: 0.92rem;
    }

    /* Sections */
    .section-header {
        margin-bottom: 2rem;
    }

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

    .section-label {
        font-size: 0.7rem;
        padding: 0.35rem 1rem;
    }

    /* Features */
    .feature-card {
        padding: 1.8rem 1.2rem;
    }

    .feature-card h3 {
        font-size: 1.25rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }

    /* Profile photos */
    .diagonal-photos {
        min-height: 320px;
        max-width: 280px;
    }

    .photo-frame-1 {
        width: 165px;
        height: 210px;
    }

    .photo-frame-2 {
        width: 180px;
        height: 230px;
    }

    .profile-writeup-col h2 {
        font-size: 1.45rem;
    }

    .writeup-lead {
        font-size: 1rem;
    }

    /* SAN Recognition */
    .san-content h2 {
        font-size: 1.6rem;
    }

    .san-lead {
        font-size: 1.05rem;
    }

    .san-image-frame {
        max-width: 280px;
    }

    .san-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.8rem;
        letter-spacing: 1.5px;
    }

    /* About */
    .lead {
        font-size: 1.1rem;
    }

    .credential-item {
        padding: 1.3rem;
    }

    .credential-item strong {
        font-size: 1.1rem;
    }

    /* Quote */
    .legal-quote p {
        font-size: 1.15rem;
    }

    /* Clients */
    .clients-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .client-logo {
        padding: 1.3rem 1rem;
    }

    /* Services */
    .service-card {
        padding: 1.8rem 1.3rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

    .service-icon {
        font-size: 2.8rem;
    }

    /* Offices */
    .office-card {
        padding: 1.8rem 1.3rem;
    }

    .office-card h3 {
        font-size: 1.3rem;
    }

    /* Contact */
    .contact-form {
        padding: 1.8rem 1.2rem;
    }

    .contact-item {
        padding: 1.3rem;
    }

    .contact-item h3 {
        font-size: 1.2rem;
    }

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

    /* Page Hero */
    .page-hero {
        padding: 100px 0 50px;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }

    .page-hero p {
        font-size: 0.95rem;
    }

    /* Page Content */
    .content-block h2 {
        font-size: 1.5rem;
    }

    .vm-card {
        padding: 1.5rem;
    }

    .vm-card h3 {
        font-size: 1.3rem;
    }

    .core-values-list li {
        padding: 0.8rem 0;
        font-size: 0.95rem;
    }

    /* Footer */
    .footer-section h3 {
        font-size: 1.2rem;
    }
}

/* Extra small devices */
@media (max-width: 360px) {
    .hero-title {
        font-size: 1.7rem;
    }

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

    .logo h1 {
        font-size: 0.9rem;
    }

    .photo-frame-1 {
        width: 145px;
        height: 185px;
    }

    .photo-frame-2 {
        width: 160px;
        height: 205px;
    }

    .diagonal-photos {
        min-height: 280px;
        max-width: 240px;
    }
}

/* Landscape orientation on small devices */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 110px 0 50px;
    }

    .nav-menu {
        padding: 70px 0 1rem;
    }
}

/* Touch device optimizations - disable hover-only effects */
@media (hover: none) and (pointer: coarse) {
    .feature-card:hover,
    .service-card:hover,
    .office-card:hover,
    .credential-item:hover,
    .gallery-card:hover,
    .contact-item:hover {
        transform: none;
    }

    .btn:hover {
        transform: none;
    }

    .footer-section a:hover {
        transform: none;
    }
}

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

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}
