/* J law Consulting - Corporate Website Styles */

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

:root {
    /* Corporate Color Palette */
    --primary-navy: #1f3850;
    --primary-blue: #0a4f7c;
    --accent-blue: #1e6b96;
    --light-grey: #f8f9fa;
    --medium-grey: #6c757d;
    --dark-grey: #343a40;
    --white: #ffffff;
    --gold-accent: #d4af37;
    --text-grey: #6c757d;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --section-padding: 80px 0;
    --container-max-width: 1200px;
    
    /* Shadows */
    --shadow-light: 0 2px 10px rgba(0,0,0,0.1);
    --shadow-medium: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-heavy: 0 8px 30px rgba(0,0,0,0.2);
}

/* Base Typography */
body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--dark-grey);
    background-color: var(--white);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow-light);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 80px;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    height: 60px;
    width: auto;
}

.logo-image {
    height: 60px;
    width: auto;
}

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

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

.nav-link {
    text-decoration: none;
    color: var(--primary-navy);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--accent-blue);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-accent);
    transition: width 0.3s ease;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--accent-blue) 100%);
    color: var(--white);
    padding: 160px 0 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.1;
    transform: scale(0.5);
    object-position: center center;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(31, 56, 80, 0.8) 0%, rgba(30, 107, 150, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content-banner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-logo {
    flex-shrink: 0;
}

.hero-logo-image {
    height: 144px;
    width: auto;
    border-radius: 15px;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 8px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text h1 {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.6;
}

.cta-button {
    display: inline-block;
    background: var(--gold-accent);
    color: var(--primary-navy);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-medium);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-heavy);
}

/* Section Styles */
.section {
    padding: var(--section-padding);
    position: relative;
}
<img src="assets/image_2.jpg" alt="Professional consultation" class="hero-bg-image">
/* Add subtle centered background watermark */
.section::before {
    content: 'J LAW CONSULTING';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    font-size: 2.5rem;
    font-weight: 900;
    color: rgba(31, 56, 80, 0.05);
    font-family: var(--font-heading);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.1em;
}

.section .container {
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--medium-grey);
    text-align: center;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Card Styles */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 50px;
}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content-banner {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.2rem;
    }
    
    .hero-logo-image {
        height: 96px;
    }
}

.card {
    background: var(--white);
    border-radius: 15px;
    padding: 40px 30px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-blue));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 24px;
}

.card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.card p {
    color: var(--medium-grey);
    line-height: 1.6;
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.team-member {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--gold-accent), var(--accent-blue));
}

.team-member:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--light-grey), #e9ecef);
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--medium-grey);
    border: 4px solid var(--white);
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-title {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-grey);
    font-size: 0.9rem;
}

.contact-icon {
    font-size: 16px;
    color: var(--gold-accent);
}

/* Biography Section Styles */
.biography-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 50px;
}

.biography-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.biography-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-accent);
}

.biography-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--light-grey);
}

.biography-avatar {
    margin-right: 25px;
    flex-shrink: 0;
}

.biography-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-accent);
}

.biography-title h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.biography-title .role {
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 1.1rem;
}

.biography-content {
    line-height: 1.7;
}

.biography-content p {
    margin-bottom: 20px;
    color: var(--text-grey);
    font-size: 1rem;
}

.biography-content p:last-child {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .biography-grid {
        grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    }
}

/* Small Hero Section for Sub-pages */
.small-hero {
    min-height: 40vh;
    padding: 100px 0 60px;
}

.small-hero .hero-content h1 {
    font-size: 3rem;
    margin-bottom: 15px;
}

.small-hero .hero-content p {
    font-size: 1.2rem;
    margin-bottom: 25px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-5px);
}

/* Biography Links Grid */
.biography-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.biography-link-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    min-height: 400px;
}

.biography-link-card:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-accent);
}

.biography-link-card .bio-link-btn {
    position: relative;
    z-index: 5;
}

.biography-link-card .biography-avatar {
    margin: 0 auto 20px;
    width: 100px;
    height: 100px;
}

.biography-link-card .biography-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gold-accent);
}

.biography-link-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 8px;
}

.biography-link-card .role {
    color: var(--gold-accent);
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.bio-preview {
    color: var(--text-grey);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
    flex-grow: 1;
}

.bio-link-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold-accent), #c9a332);
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    transition: background 0.3s ease;
    margin-top: auto;
    cursor: pointer;
}

.bio-link-btn:hover {
    background: linear-gradient(135deg, #c9a332, #b8922d);
    color: white;
}

/* Individual Biography Styles */
.individual-biography {
    max-width: 900px;
    margin: 0 auto;
}

.individual-biography .biography-header {
    flex-direction: column;
    text-align: center;
    margin-bottom: 40px;
}

.biography-avatar-large {
    margin: 0 auto 25px;
    width: 150px;
    height: 150px;
}

.biography-photo-large {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--gold-accent);
}

.biography-intro h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.role-title {
    color: var(--gold-accent);
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.individual-biography .biography-content {
    text-align: left;
}

.individual-biography .biography-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin: 30px 0 15px 0;
    border-left: 4px solid var(--gold-accent);
    padding-left: 15px;
}

.individual-biography .biography-content h3:first-child {
    margin-top: 0;
}

.individual-biography .biography-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.individual-biography .biography-content li {
    margin-bottom: 8px;
    color: var(--text-grey);
    line-height: 1.6;
}

@media (min-width: 768px) {
    .individual-biography .biography-header {
        flex-direction: row;
        text-align: left;
    }
    
    .biography-avatar-large {
        margin: 0 30px 0 0;
    }
    
    .contact-info {
        justify-content: flex-start;
    }
}

@media (max-width: 767px) {
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .small-hero .hero-content h1 {
        font-size: 2.2rem;
    }
    
    .biography-links-grid {
        grid-template-columns: 1fr;
    }
}

/* Publications Page Styles */
.publication-meta {
    display: flex;
    gap: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--medium-grey);
}

.publication-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.publication-meta i {
    color: var(--gold-accent);
}

.publication-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.view-btn, .download-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
    justify-content: center;
}

.view-btn {
    background: linear-gradient(135deg, var(--primary-navy), var(--accent-blue));
    color: white;
}

.view-btn:hover {
    background: linear-gradient(135deg, var(--accent-blue), var(--primary-navy));
    transform: translateY(-2px);
    color: white;
}

.download-btn {
    background: linear-gradient(135deg, var(--gold-accent), #c9a332);
    color: white;
}

.download-btn:hover {
    background: linear-gradient(135deg, #c9a332, #b8922d);
    transform: translateY(-2px);
    color: white;
}

.access-info-section {
    margin-top: 60px;
}

.access-info-section h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--primary-navy);
    text-align: center;
    margin-bottom: 40px;
}

.access-info-section .card h4 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
}

/* Privacy Policy Styles */
.privacy-policy-content {
    max-width: 900px;
    margin: 0 auto;
}

.last-updated {
    color: var(--medium-grey);
    font-style: italic;
    margin-bottom: 30px;
    text-align: center;
}

.policy-section {
    margin-bottom: 40px;
}

.policy-section h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 15px;
    border-left: 4px solid var(--gold-accent);
    padding-left: 15px;
}

.policy-section ul {
    margin: 15px 0;
    padding-left: 25px;
}

.policy-section li {
    margin-bottom: 8px;
    color: var(--text-grey);
    line-height: 1.6;
}

.policy-section strong {
    color: var(--primary-navy);
}

.contact-details {
    margin-top: 25px;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--light-grey);
    border-radius: 10px;
}

.contact-method i {
    font-size: 16px;
    color: var(--gold-accent);
    margin-right: 12px;
    margin-top: 2px;
}

.contact-method strong {
    display: block;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.contact-method p {
    margin: 0;
    color: var(--text-grey);
    line-height: 1.5;
}

.policy-footer {
    margin-top: 50px;
    padding: 25px;
    background: var(--light-grey);
    border-radius: 15px;
    text-align: center;
}

.policy-footer em {
    color: var(--text-grey);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Publications Section */
.publications-grid {
    display: grid;
    gap: 20px;
    margin-top: 40px;
}

.year-section {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow-light);
}

.year-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary-navy);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--light-grey);
}

.publication-item {
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.publication-item:last-child {
    border-bottom: none;
}

.publication-item:hover {
    background: var(--light-grey);
    padding-left: 20px;
    border-radius: 8px;
}

.publication-title {
    color: var(--primary-navy);
    font-weight: 600;
    margin-bottom: 5px;
}

.publication-preview {
    color: var(--medium-grey);
    font-size: 0.9rem;
    display: none;
    margin-top: 10px;
    padding: 15px;
    background: var(--light-grey);
    border-radius: 8px;
    border-left: 4px solid var(--accent-blue);
}

.publication-item:hover .publication-preview {
    display: block;
}

/* Newsletter Signup */
.newsletter-form {
    background: var(--light-grey);
    border-radius: 15px;
    padding: 40px;
    margin-top: 40px;
    text-align: center;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.form-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.form-label {
    margin-bottom: 8px;
    color: var(--primary-navy);
    font-weight: 500;
}

.form-input {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-blue);
}

.submit-button {
    background: var(--primary-navy);
    color: var(--white);
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-button:hover {
    background: var(--accent-blue);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: 60px 0 30px;
}

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

.footer-section h3 {
    font-family: var(--font-heading);
    margin-bottom: 20px;
    color: var(--gold-accent);
}

.footer-section p,
.footer-section a {
    color: var(--text-grey);
    text-decoration: none;
    line-height: 1.6;
    font-size: 0.9rem;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #b0c4de;
}

.footer-logo .logo-image {
    height: 40px;
    width: auto;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .header {
        height: auto;
        position: static;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Single Card */
.contact-single {
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.contact-single .card {
    max-width: 400px;
    width: 100%;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-30 {
    margin-bottom: 30px;
}

.bg-light {
    background-color: var(--light-grey);
}

.text-navy {
    color: var(--primary-navy);
}

/* Enhanced footer logo and contact alignment */
.footer-logo img {
    height: 100px;
    width: auto;
}

.footer-section:first-child {
    max-width: 300px;
}

.footer-section .contact-item.left-align {
    text-align: left;
    justify-content: flex-start;
}

/* Publications page specific styling */
.publications-page .section:first-of-type {
    padding-top: 40px;
}

.text-gold {
    color: var(--gold-accent);
}