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

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #fff;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

/* ===== ANIMATION SYSTEM ===== */

/* Reveal base — hidden state */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.reveal-left {
    transform: translateX(-40px);
}

.reveal.reveal-right {
    transform: translateX(40px);
}

.reveal.reveal-scale {
    transform: scale(0.95);
}

/* Revealed state */
.reveal.revealed {
    opacity: 1;
    transform: translateY(0) translateX(0) scale(1);
}

/* Stagger children — each child starts hidden */
.stagger-children > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.stagger-children > *.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal,
    .stagger-children > * {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* ===== END ANIMATION SYSTEM ===== */

/* Top Bar */
.top-bar {
    background-color: #000;
    color: #fff;
    font-size: 0.75rem;
    padding: 10px 0;
    text-align: right;
    letter-spacing: 1px;
}

.top-bar i {
    margin-right: 6px;
}

.top-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-item {
    margin-left: 30px;
}

/* Header / Navbar */
.navbar {
    background-color: #fff;
    padding: 25px 0;
    transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.navbar-scrolled {
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    transition: height 0.3s ease;
}

.navbar-scrolled .logo img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-size: 0.8rem;
    color: #555;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding-bottom: 5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #000;
    transition: width 0.3s ease;
}

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

.nav-links a.active {
    color: #000;
    border-bottom: none;
}

.nav-links a:hover {
    color: #000;
}

/* Hero Section */
.hero {
    background-color: #1f1f1f;
    color: #fff;
    padding: 100px 20px;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-subtitle {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 3px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 30px;
}

.hero-title em {
    font-style: italic;
    font-weight: normal;
}

.hero-description {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background-color: #fff;
    color: #000;
    padding: 15px 35px;
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    background-color: #eee;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.btn-primary:active {
    transform: translateY(0);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Common Section Styles */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-subtitle {
    font-size: 0.75rem;
    color: #888;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 300;
    color: #222;
}

.section-title em {
    font-style: italic;
}

.section-divider {
    width: 40px;
    height: 2px;
    background-color: #222;
    border: none;
    margin: 20px 0 60px 0;
}

/* Practice Areas */
.practice-areas {
    background-color: #fff;
}

.practice-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    row-gap: 60px;
}

.practice-card {
    padding-left: 20px;
    border-left: 3px solid #222;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.practice-card:hover {
    transform: translateX(5px);
    border-left-color: #b59247;
}

.practice-card h3 {
    font-size: 1.4rem;
    font-weight: normal;
    margin-bottom: 15px;
    color: #222;
}

.practice-card p {
    font-size: 0.95rem;
    color: #777;
    margin-bottom: 25px;
    line-height: 1.6;
}

.practice-card ul {
    list-style-type: none;
}

.practice-card ul li {
    font-size: 0.85rem;
    color: #777;
    margin-bottom: 10px;
    position: relative;
    padding-left: 15px;
}

.practice-card ul li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #999;
}

/* Our Clients */
.our-clients {
    background-color: #f9f9f9;
    text-align: center;
}

.our-clients .section-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.our-clients .section-divider {
    margin: 20px auto 50px auto;
}

.clients-text {
    max-width: 900px;
    margin: 0 auto;
}

.clients-text p {
    font-size: 1.05rem;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.9;
}

/* Quote Section */
.quote-section {
    background-color: #1f1f1f;
    color: #fff;
    padding: 120px 20px;
    text-align: center;
}

.quote-container {
    max-width: 800px;
    margin: 0 auto;
}

.quote-container blockquote {
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1.5;
    color: #ddd;
    margin-bottom: 40px;
}

.quote-author {
    font-size: 0.75rem;
    color: #777;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Footer */
.footer {
    background-color: #171717;
    color: #999;
}

.footer-line {
    height: 2px;
    background-color: #b59247; /* Gold line matching screenshot */
    width: 100%;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 60px 20px;
    display: flex;
    justify-content: space-between;
    gap: 60px;
}

.brand-column {
    flex: 1;
    max-width: 350px;
}

.footer-logo {
    color: #fff;
    font-size: 1.6rem;
    font-weight: normal;
    margin-bottom: 5px;
}

.footer-sublogo {
    color: #b59247;
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.brand-column address,
.brand-column p {
    font-size: 0.85rem;
    font-style: normal;
    margin-bottom: 12px;
    line-height: 1.7;
}

.brand-column p {
    color: #777;
}

.footer-links {
    flex: 2;
    display: flex;
    justify-content: space-between;
}

.footer-column h4 {
    color: #b59247;
    font-size: 0.75rem;
    letter-spacing: 2px;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    font-size: 0.85rem;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-column ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #666;
    border-top: 1px solid #2a2a2a;
}

/* --- Consultation Page Styles --- */
.page-consultation {
    background-color: #f4f4f4;
}

.consultation-main {
    max-width: 1200px;
    margin: 60px auto 100px auto;
    padding: 0 20px;
}

.consultation-container {
    display: flex;
    gap: 50px;
}

/* Left Column: Contact Details */
.contact-info-col {
    flex: 1;
}

.page-title {
    font-size: 3.2rem;
    font-weight: 300;
    color: #222;
    margin-bottom: 20px;
}

.page-title em {
    font-style: italic;
}

hr.small {
    width: 40px;
    height: 2px;
    background-color: #222;
    border: none;
    margin-bottom: 40px;
    margin-top: 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.contact-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.contact-icon {
    background-color: #1a1a1a;
    color: #fff;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    font-size: 1rem;
    flex-shrink: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact-detail-item:hover .contact-icon {
    background-color: #b59247;
    transform: scale(1.1);
}

.contact-text h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #222;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.contact-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.5;
}

.map-container {
    width: 100%;
    border: 1px solid #ddd;
    border-radius: 2px;
    overflow: hidden;
}

/* Right Column: Form */
.form-col {
    flex: 1.2;
}

.form-card {
    background-color: #fff;
    padding: 50px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.03);
    border-radius: 2px;
    border: 1px solid #eaeaea;
}

.form-card h2 {
    font-size: 2rem;
    font-weight: normal;
    color: #222;
    margin-bottom: 10px;
}

.form-subtitle {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 30px;
}

.consultation-form .form-row {
    display: flex;
    gap: 20px;
}

.consultation-form .form-row .form-group {
    flex: 1;
}

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

.form-group label {
    display: block;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-family: inherit;
    font-size: 0.9rem;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #999;
    background-color: #fff;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.04);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23000000%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 15px top 50%;
    background-size: 10px auto;
}

.form-group textarea {
    resize: vertical;
}

.btn-submit {
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    padding: 18px;
    font-size: 0.85rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.15s ease, box-shadow 0.3s ease;
    margin-bottom: 15px;
}

.btn-submit:hover {
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.btn-submit:active {
    transform: translateY(0);
}

.confidential-note {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
}

/* --- Responsive Styles --- */
@media (max-width: 992px) {
    .practice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }

    .hero-description {
        margin: 0 auto 30px auto;
    }

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 20px;
    }
    
    .consultation-container {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-item {
        margin-left: 0;
    }

    .nav-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

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

    .practice-grid {
        grid-template-columns: 1fr;
    }
    
    .quote-container blockquote {
        font-size: 1.4rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .consultation-form .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        flex-direction: column;
    }
}

/* --- Gallery Page Styles --- */
.page-gallery {
    background-color: #f9f9f9;
}

.gallery-header {
    background-color: #f4f4f4;
    padding: 80px 20px;
    border-bottom: 1px solid #eaeaea;
}

.gallery-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-header .section-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
}

.gallery-header .section-subtitle .line {
    width: 40px;
    height: 1px;
    background-color: #ccc;
}

.gallery-header .page-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin: 20px 0;
}

.gallery-description {
    color: #888;
    font-size: 0.95rem;
}

.gallery-content {
    padding: 60px 20px 100px 20px;
}

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

.gallery-section-title {
    font-size: 0.8rem;
    font-weight: bold;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
    display: inline-block;
}

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

.gallery-item {
    width: 100%;
    aspect-ratio: 1; /* Creates a square */
    overflow: hidden;
    cursor: pointer;
    border-radius: 4px;
    background-color: #eee; /* Placeholder bg while loading */
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover img {
    filter: grayscale(0%);
    transform: scale(1.05); /* Slight zoom on hover */
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lightbox.show {
    opacity: 1;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    border-radius: 4px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    transform: scale(0.8);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.show .lightbox-content {
    transform: scale(1);
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-close:hover {
    color: #bbb;
}

/* Gallery Responsive Overrides */
@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-header .page-title {
        font-size: 2.8rem;
    }
}
@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Our People Page Styles --- */
.page-header {
    background-color: #f4f4f4;
    padding: 60px 20px;
}

.page-header-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header .section-subtitle {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #999;
}

.page-header .section-subtitle .line {
    width: 40px;
    height: 1px;
    background-color: #ccc;
}

.page-header .page-title {
    font-size: 3.5rem;
    font-weight: 300;
    margin: 15px 0;
}

.page-description {
    color: #888;
    font-size: 0.95rem;
    max-width: 600px;
    line-height: 1.6;
}

.breadcrumbs-container {
    background-color: #fff;
    border-bottom: 1px solid #eaeaea;
    padding: 15px 20px;
}

.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
}

.breadcrumbs a {
    color: #b59247;
    font-weight: bold;
}

.breadcrumbs a:hover {
    color: #000;
}

.breadcrumbs .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumbs .current {
    font-weight: bold;
    color: #333;
}

.people-main {
    background-color: #fff;
    padding-bottom: 100px;
}

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

.section-divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    color: #999;
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin: 80px 0 50px 0;
}

.section-divider-text::before,
.section-divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #eaeaea;
}

.section-divider-text::before {
    margin-right: 30px;
}

.section-divider-text::after {
    margin-left: 30px;
}

.people-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.person-card {
    background-color: #fff;
    border: 1px solid #eaeaea;
    border-radius: 2px;
    width: calc(33.333% - 20px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.person-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.people-grid.single-item .person-card {
    width: 400px; /* Slightly larger for managing partner or centered cards */
}

.person-img {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.person-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.person-img.placeholder-img {
    height: 300px; /* fallback height */
}

.person-info {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.person-name {
    font-size: 1.3rem;
    font-weight: normal;
    color: #222;
    margin-bottom: 5px;
}

.person-title {
    font-size: 0.75rem;
    color: #999;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.person-title::after {
    content: '';
    display: block;
    width: 25px;
    height: 3px;
    background-color: #111;
    margin-top: 15px;
}

.person-credentials {
    flex: 1;
    margin-bottom: 25px;
}

.person-credentials li {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 12px;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
}

.cred-icon {
    margin-right: 10px;
    font-size: 0.9rem;
    color: #b59247;
    margin-top: 2px;
}

.person-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.person-tags .tag {
    font-size: 0.65rem;
    background-color: #fff;
    color: #666;
    padding: 6px 10px;
    border: 1px solid #e0e0e0;
    border-radius: 2px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.person-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #eaeaea;
    padding-top: 20px;
    margin-top: auto;
}

.view-profile {
    font-size: 0.75rem;
    font-weight: bold;
    color: #222;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.view-profile:hover {
    color: #b59247;
}

.experience {
    font-size: 0.75rem;
    color: #aaa;
}

/* Responsive Our People */
@media (max-width: 1024px) {
    .person-card {
        width: calc(50% - 15px);
    }
}
@media (max-width: 768px) {
    .person-card {
        width: 100%;
    }
    .people-grid.single-item .person-card {
        width: 100%;
    }
}

/* --- Profile Modal Styles --- */
.profile-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-modal.show {
    opacity: 1;
}

.profile-modal-content {
    background-color: #fff;
    width: 90%;
    max-width: 900px; /* Increased from 600px */
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.profile-modal.show .profile-modal-content {
    transform: translateY(0);
}

.profile-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 35px;
    color: #999;
    cursor: pointer;
    transition: color 0.3s;
    font-weight: 200;
}

.profile-modal-close:hover {
    color: #333;
}

.modal-layout {
    display: flex;
    min-height: 500px;
}

.modal-left {
    flex: 0 0 45%; /* Image takes 45% of width */
    background-color: #f4f4f4;
}

.modal-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.modal-body {
    flex: 1;
    padding: 50px 40px;
}

.modal-body h2 {
    font-size: 2.4rem;
    font-weight: 400;
    color: #222;
    margin-bottom: 5px;
}

.modal-body #modal-title {
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: #b59247; /* Gold accent */
    text-transform: uppercase;
    margin-bottom: 5px;
}

.modal-body #modal-exp {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 30px;
}

.modal-section {
    margin-bottom: 25px;
}

.modal-section h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    color: #222;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.modal-section p {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.6;
}

#modal-bar-section {
    background-color: #f9f9f9;
    padding: 20px 25px;
    border-left: 4px solid #111;
}

#modal-bar-section h4 {
    margin-bottom: 8px;
}

.modal-btn {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: 40px;
}

/* Modal Responsive */
@media (max-width: 768px) {
    .modal-layout {
        flex-direction: column;
    }
    .modal-left {
        flex: none;
        height: 300px;
    }
    .modal-body {
        padding: 30px 20px;
    }
}

