/* Base Styles */
:root {
    /* Plass Advocates brand: gold + burgundy */
    --primary-color: #626b6d;   /* gold */
    --secondary-color: #133a6d; /* burgundy */
    --text-color: #131313;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --dark: #00295e;            /* deep burgundy */
    --gray: #f5f5f5;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 500;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--secondary-color);
    line-height: 1.3;
    font-weight: 700;
}

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

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 14px;
}

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

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

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border: 1px solid var(--white);
    margin-left: 15px;
}

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

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

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

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

.section-header span {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 10px;
    display: block;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 15px;
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background-color: var(--primary-color);
}

/* Top Bar */
.top-bar {
    background-color: var(--secondary-color);
    padding: 10px 0;
    font-size: 14px;
}

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

.contact-info span {
    color: #999;
    margin-right: 20px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 5px;
}

.social-links a {
    color: #999;
    margin-left: 15px;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Header */
.header {
    background-color: var(--white);
    /*box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);*/
    position: relative;
    z-index: 1000;
}

/* New header variants */
.top-bar--light { background: var(--white); padding: 8px 0; }
.top-bar--light .contact-info { display: flex; align-items: center; gap: 18px; white-space: nowrap; }
.top-bar--light .contact-info span { color: #555; display: inline-flex; align-items: center; }
.top-bar--light .contact-info i { color: var(--secondary-color); }

/* New link-style contacts */
.top-bar--light .contact-links { display: flex; align-items: center; gap: 22px; white-space: nowrap; margin-left: 15rem; }
.top-bar--light .contact-links a { color: var(--secondary-color); font-size: 14px; display: inline-flex; align-items: center; }
.top-bar--light .contact-links a i { margin-right: 8px; color: var(--secondary-color); }
.top-bar--light .contact-links a:hover { color: var(--primary-color); }
.top-bar--light .social-links a { color: var(--secondary-color); }
.top-bar--light .social-links a:hover { color: var(--primary-color); }
.top-sep { border: 0; border-top: 1px solid #eee; margin: 8px 0 0; }

.header--modern .navbar { gap: 24px; padding: 8px 0 8px 180px; position: relative; }
.logo-block { background: #ffffff; padding: 40px 40px; border-radius: 4px; flex-shrink: 0; position: absolute; left: 0; top: 30%; transform: translateY(-50%); width: 150px; box-shadow: 0 8px 22px rgba(0,0,0,.12); }
.logo-block { transition: all .25s ease; }
.logo-block .logo { color: var(--white); }
.logo-block .logo h1 { color: var(--white); letter-spacing: 2px; }
.logo-block .logo span { color: rgba(255,255,255,.8); letter-spacing: 3px; }

.main-menu { list-style: none; display: flex; align-items: center; gap: 35px; margin: 0; padding: 0; flex: 1; justify-content: center; }
.main-menu > li > a { font-weight: 600; font-size: 15px; color: var(--secondary-color); position: relative; padding: 8px 26px; }
.main-menu > li > a:hover { color: var(--primary-color); }
.main-menu .caret { font-size: 10px; margin-left: 6px; }

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



/* Sticky shrink behavior */
.header.sticky .navbar { padding-left: 150px; transition: padding .25s ease; }
.header.sticky .logo-block {padding: 14px 24px; width: 120px; top: 70%; }
.header.sticky .logo-block .logo h1 { font-size: 20px; }
.header.sticky .logo-block .logo span { font-size: 10px; letter-spacing: 2px; }
.nav-icon { background: transparent; border: 1px solid #eee; width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--secondary-color); cursor: pointer; transition: var(--transition); }
.nav-icon:hover { background: var(--primary-color); color: var(--white); border-color: var(--primary-color); }

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo a {
    display: flex;
    flex-direction: column;
    color: var(--secondary-color);
}

.logo h1 {
    font-size: 32px;
    margin: 0;
    line-height: 1;
    letter-spacing: 2px;
}

.logo span {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
    margin-top: 5px;
    font-weight: 500;
}

.nav-links {
    display: flex;
    align-items: center;
}

.nav-links a {
    margin-left: 30px;
    font-weight: 500;
    position: relative;
    padding: 5px 0;
    font-size: 15px;
}

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

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

.nav-links .btn {
    margin-left: 30px;
    padding: 10px 25px;
}

.nav-dropdown { position: relative; }
.nav-dropdown > a { display: inline-flex; align-items: center; }
.nav-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  padding: 10px 14px;
  min-width: 260px;
  display: none;
  z-index: 50;
}
.nav-dropdown:hover .dropdown { display: block; }
.nav-dropdown .dropdown a {
  display: block;
  padding: 8px 6px;
  color: var(--dark);
  white-space: nowrap;
}
.nav-dropdown .dropdown a:hover { color: var(--primary-color); }

/* Responsive for new header */
@media (max-width: 991px) {
  .logo-block { padding: 10px 14px; }
  .header.sticky .logo-block {margin-left: -150px;}
  .header--modern .navbar { padding: 12px 0; }
  .logo-block { position: static; transform: none; width: auto; box-shadow: none; }
  .main-menu { display: none; }
  .mobile-menu { display: block; color: var(--secondary-color); }
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Drawer (overlay menu) */
.mobile-drawer { position: fixed; inset: 0; background: var(--secondary-color); color: var(--white); transform: translateX(100%); transition: transform .35s ease; z-index: 2000; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer-inner { width: 100%; height: 100%; padding: 22px 20px; display: flex; flex-direction: column; }
.mobile-drawer-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.mobile-drawer .logo { color: var(--white); text-decoration: none; }
.mobile-drawer .logo h1 { color: var(--white); font-size: 22px; line-height: 1; }
.mobile-drawer .logo span { color: rgba(255,255,255,.85); font-size: 11px; letter-spacing: 2px; }
.drawer-close { background: transparent; border: none; color: var(--primary-color); font-size: 22px; cursor: pointer; }
.mobile-menu-list { list-style: none; padding: 10px 0; margin: 0; overflow-y: auto; }
.mobile-menu-list > li { border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu-list a, .mobile-menu-list button.sub-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; text-align: left; padding: 14px 6px; color: var(--white); background: transparent; border: 0; font-size: 16px; cursor: pointer; }
.mobile-menu-list a:hover, .mobile-menu-list button.sub-toggle:hover { color: var(--primary-color); }
.mobile-menu-list .has-sub .submenu { list-style: none; padding-left: 10px; max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.mobile-menu-list .has-sub.open .submenu { max-height: 800px; }
.mobile-menu-list .submenu a { padding: 10px 6px; font-size: 15px; color: rgba(255,255,255,.9); }

/* Hero Section */
.hero {
    background: linear-gradient(rgba(19, 58, 109, 0.85), rgba(0, 41, 94, 0.85)), url('../images/hero/hero-bg.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    text-align: left;
    color: var(--white);
    padding: 180px 0 100px;
    position: relative;
}

/* Hero slider controls (does not affect hero typography) */
.hero .hero-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.5); color: var(--white); background: rgba(0,0,0,.25); display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 3; transition: var(--transition); }
.hero .hero-nav:hover { background: var(--primary-color); border-color: var(--primary-color); }
.hero .hero-nav.prev { left: 18px; }
.hero .hero-nav.next { right: 18px; }
.hero .hero-dots { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 3; }
.hero .hero-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.45); cursor: pointer; transition: var(--transition); }
.hero .hero-dots .dot.active, .hero .hero-dots .dot:hover { background: var(--primary-color); }

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero h1 span {
    color: var(--primary-color);
}

.hero p {
    font-size: 18px;
    margin-bottom: 30px;
    color: #eee;
    max-width: 600px;
}

.hero-buttons {
    margin-top: 40px;
}

/* Practice Areas */
.practice-areas {
    padding: 100px 0;
    background-color: var(--light-bg);
}

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

.practice-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 5px;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

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

.practice-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(200, 169, 126, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--primary-color);
    font-size: 30px;
    transition: var(--transition);
}

.practice-card:hover .practice-icon {
    background-color: var(--primary-color);
    color: var(--white);
}

.practice-card h3 {
    margin-bottom: 15px;
    font-size: 22px;
}

.practice-card p {
    margin-bottom: 20px;
    color: var(--text-color);
}

.read-more {
    color: var(--primary-color);
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
}

.read-more i {
    margin-left: 5px;
    transition: var(--transition);
}

.read-more:hover i {
    margin-left: 10px;
}

/* About Section */
.about-section {
    padding: 100px 0;
}

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

.about-text span {
    color: var(--primary-color);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
    margin-bottom: 15px;
    display: block;
}

.about-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.about-text p {
    margin-bottom: 30px;
    color: var(--text-color);
    font-weight: 500;
}

.about-features {
    margin-bottom: 30px;
}

.feature {
    display: flex;
    margin-bottom: 20px;
}

.feature i {
    color: var(--primary-color);
    margin-right: 15px;
    font-size: 20px;
    margin-top: 5px;
}

.feature h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.feature p {
    margin: 0;
    font-size: 16px;
    color: #131313;
    font-weight: 500;
    
}

.about-stats {
    display: flex;
    gap: 30px;
    margin-top: 40px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat p {
    font-size: 14px;
    color: #131313;
    margin: 0;
}

.about-image {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image:before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid var(--primary-color);
    border-radius: 5px;
    z-index: -1;
}

.experience-badge {
    position: absolute;
    bottom: 5px;
    right: 0px;
    background-color: var(--primary-color);
    color: var(--white);
    width: 120px;
    height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 5px 15px rgba(200, 169, 126, 0.3);
}

.experience-badge span {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.experience-badge p {
    font-size: 14px;
    margin: 0;
    line-height: 1.2;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(rgba(19, 58, 109, 0.85), rgba(0, 41, 94, 0.85));
    padding: 100px 0;
    text-align: center;
    color: var(--white);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}


/* About Featured (two-column corporate section) */
.about-featured { padding: 90px 0; }
.af-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: start; }
.af-left .eyebrow.gold { color: var(--primary-color); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; font-size: 13px; }
.af-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: 44px; line-height: 1.2; color: var(--secondary-color); margin: 10px 0 14px; }
.af-lead { color: var(--text-color); margin-bottom: 24px; font-weight: 500; }
.af-feature { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: start; margin: 18px 0; font-weight: 500;}
.af-icon { width: 54px; height: 54px; border-radius: 4px; background: var(--secondary-color); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.af-icon.alt { background: var(--primary-color); color: #2a2a2a; }
.af-feature h4 { margin: 0 0 6px; color: var(--secondary-color); }
.af-feature p { margin: 0; color: var(--text-color); }
.af-signature { margin-top: 28px; }
.af-signature .sig { font-family: 'Playfair Display', serif; font-size: 28px; color: var(--secondary-color); display: block; }
.af-signature small { color: var(--text-color); }

.af-right { display: grid; grid-template-columns: 1fr 1fr; gap: 0px; }
.af-card { min-height: 220px; border-radius: 0px; overflow: hidden; position: relative; }
.af-card.panel { padding: 26px; display: flex; flex-direction: column; justify-content: center; }
.af-card.panel.dark { background: var(--secondary-color); color: var(--white); }
.af-card.panel.gold { background: var(--primary-color); color: var(--dark); }
.af-card.image { background-size: cover; background-position: center; }
.af-card.panel h4 { margin: 0 0 10px; font-size: 20px; }
.af-card.panel p { margin: 0; }

@media (max-width: 991px) {
  .af-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 575px) {
  .af-title { font-size: 34px; }
  .af-right { grid-template-columns: 1fr; }
}

.cta-content h2 {
    color: var(--white);
    font-size: 36px;
    margin-bottom: 20px;
}

.cta-content p {
    max-width: 700px;
    margin: 0 auto 30px;
    font-size: 18px;
    color: #eee;
}

/* Attorneys Section */
.attorneys-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.attorneys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

/* One-row, four-card layout on desktop */
@media (min-width: 992px) {
  .attorneys-section .attorneys-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.attorney-card {
    background-color: var(--white);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

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

.attorney-image {
    position: relative;
    overflow: hidden;
}

.attorney-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    transition: var(--transition);
}

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

.attorney-image .social-links {
    position: absolute;
    bottom: -60px;
    left: 0;
    right: 0;
    background-color: var(--primary-color);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 15px;
    transition: var(--transition);
}

.attorney-card:hover .social-links {
    bottom: 0;
}

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

.attorney-image .social-links a:hover {
    background-color: var(--secondary-color);
}

.attorney-info {
    padding: 25px;
    text-align: center;
}

.attorney-info h3 {
    margin-bottom: 5px;
    font-size: 22px;
}

.attorney-info p {
    color: var(--primary-color);
    font-weight: 500;
    margin: 0;
}

/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
}

.testimonials-slider {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--white);
    padding: 50px;
    border-radius: 5px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    position: relative;
}

.quote-icon {
    font-size: 60px;
    color: rgba(200, 169, 126, 0.1);
    position: absolute;
    top: 20px;
    right: 30px;
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-content p {
    font-size: 18px;
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.8;
}

.client-info {
    display: flex;
    align-items: center;
}

.client-info img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-right: 20px;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.client-info h4 {
    margin-bottom: 5px;
    font-size: 18px;
}

.client-info span {
    color: var(--primary-color);
    font-size: 14px;
}

/* Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 50px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
}

.info-icon {
    width: 60px;
    height: 60px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.info-text h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.info-text p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.contact-form {
    background-color: var(--white);
    padding: 40px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-form h3 {
    margin-bottom: 30px;
    font-size: 24px;
    position: relative;
    padding-bottom: 15px;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    transition: var(--transition);
}

.form-group textarea {
    height: 150px;
    resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
/* Contact (mockup-aligned) */
.contact-intro { text-align: center; margin: 0 0 26px; }
.contact-left { display: flex; flex-direction: column; }
.info-tiles { display: grid; grid-template-columns: repeat(2, minmax(260px, 1fr)); gap: 22px 34px; margin-bottom: 22px; }
.info-card { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: center; padding: 6px 0; }
.icon-tile { width: 64px; height: 64px; border-radius: 4px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.icon-tile.gold { background: rgba(98,107,109,.6); color: #fff; }
.icon-tile.dark { background: var(--secondary-color); color: #fff; }
.info-card .info-text h4 { margin: 0 0 6px; font-size: 20px; font-weight: 700; color: var(--secondary-color); }
.info-card .info-text p { margin: 0; color: #131313; font-size: 14px; }
.contact-divider { border: 0; border-top: 1px solid #e5e5e5; margin: 18px 0; }
.social-heading { margin: 6px 0 12px; color: var(--secondary-color); }
.social-inline { display: flex; gap: 12px; }
.social-inline a { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; border-radius: 4px; background: var(--secondary-color); color: #fff; transition: var(--transition); }
.social-inline a:nth-child(1) { background: #133a6d; color: #fff; }
.social-inline a:hover { transform: translateY(-1px); filter: brightness(1.05); }
.contact-right .btn-block { width: 100%; display: inline-block; }

@media (max-width: 991px) {
  .info-tiles { grid-template-columns: 1fr; }
}

/* Maps grid on contact page */
.map-section { padding-top: 40px; }
.map-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.map-embed { background: #fff; border-radius: 6px; box-shadow: 0 6px 20px rgba(0,0,0,.06); overflow: hidden; }
.map-embed iframe { width: 100%; height: 380px; border: 0; display: block; }

@media (max-width: 991px) {
  .map-grid { grid-template-columns: 1fr; }
  .map-embed iframe { height: 320px; }
}

/* Footer */
.footer {
    background-color: var(--secondary-color);
    color: #d7cfcf;
}

.footer-top {
    padding: 80px 0 50px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-widget h3 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.footer-widget h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-widget p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #999;
    border-radius: 50%;
    transition: var(--transition);
}

.footer-social a:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-widget ul li {
    margin-bottom: 12px;
}

.footer-widget ul li a {
    color: #ffffff;
    transition: var(--transition);
    display: inline-block;
}

.footer-widget ul li a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.newsletter-form {
    display: flex;
    margin-top: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    background-color: transparent;
    color: #999;
    border-radius: 4px 0 0 4px;
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0 20px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--white);
    color: var(--primary-color);
}

.footer-bottom {
    background-color: var(--dark);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: #999;
    font-size: 14px;
    transition: var(--transition);
}

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

/* Responsive Styles */
@media (max-width: 1199px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 991px) {
    .container {
        max-width: 720px;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -300px;
        width: 300px;
        height: 100vh;
        background-color: var(--white);
        flex-direction: column;
        padding: 80px 30px 30px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        transition: var(--transition);
        z-index: 999;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links a {
        margin: 15px 0;
        width: 100%;
        text-align: left;
    }
    
    .nav-links .btn {
        margin: 15px 0 0;
        width: 100%;
        text-align: center;
    }
    
    .mobile-menu {
        display: block;
        z-index: 1000;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        margin-top: 50px;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .testimonials-slider {
        padding: 30px;
    }
}

@media (max-width: 767px) {
    .container {
        max-width: 540px;
    }
    /* Hide top contact strip on mobile */
    .top-bar.top-bar--light { display: none; }
    
    .top-bar-content {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .contact-info {
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 150px 0 80px;
        text-align: center;
    }
    
    .hero-content {
        margin: 0 auto;
    }
    
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .btn-outline {
        margin-left: 0;
    }
    
    .section-header h2 {
        font-size: 30px;
    }
    
    .about-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .cta-content h2 {
        font-size: 30px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 575px) {
    .container {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .practice-grid,
    .attorneys-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .testimonials-slider {
        padding: 20px;
    }
    
    .client-info {
        flex-direction: column;
        text-align: center;
    }
    
    .client-info img {
        margin-right: 0;
        margin-bottom: 15px;
    }
}

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

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

/* ========================= */
/* About Page                */
/* ========================= */

/* Page hero with breadcrumb */
.page-hero {
    padding: 140px 0 90px;
    color: var(--white);
    background-size: cover;
    background-position: center;
}

.text-white{
    color: var(--white);
}

.page-hero h1 {
    font-size: 44px;
    margin-bottom: 8px;
    color: var(--white);
}
.page-hero p { color: #f0e8e8; }

.section-pad { padding: 90px 0; }
.section-pad.light { background-color: var(--light-bg); }

/* Intro row */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 40px;
    align-items: center;
}
.intro-card { position: relative; }
.intro-card img {
    border-radius: 6px;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.intro-badges {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 15px;
}
.intro-badges span {
    background: rgba(200,169,126,.12);
    color: var(--secondary-color);
    border: 1px solid rgba(200,169,126,.35);
    padding: 8px 12px;
    border-radius: 30px;
    font-size: 13px;
}
.intro-badges i { color: var(--primary-color); margin-right: 6px; }

.intro-copy .eyebrow {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}
.intro-copy h2 { margin: 10px 0 15px; }
.bullets { margin: 15px 0 25px; }
.bullets li { display: flex; align-items: center; margin-bottom: 8px; }
.bullets i { color: var(--primary-color); margin-right: 10px; }

.mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.mini-tile {
    background: var(--white);
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 18px;
    box-shadow: 0 5px 12px rgba(0,0,0,.04);
}
.mini-tile.emph { background: linear-gradient(135deg, rgba(200,169,126,.16), rgba(200,169,126,.06)); }

.stats-row {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    margin-top: 35px;
}
.stats-row .stat { text-align: center; padding: 18px 12px; background: var(--light-bg); border-radius: 6px; }
.stats-row .stat h3 { color: var(--secondary-color); font-size: 28px; margin-bottom: 6px; }

/* Guide band (consultation) */
.guide-band { background: linear-gradient(rgba(90,31,31,.06), rgba(90,31,31,.06)); padding: 70px 0; }
.guide-card {
    background: var(--white);
    border-radius: 8px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,.08);
}
.mini-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 12px; }
.mini-form input, .mini-form textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 4px; font-family: 'Poppins', sans-serif; font-size: 14px; }
.mini-form textarea { resize: none; }
.info-list { margin: 12px 0 18px; }
.info-list li { display: flex; align-items: flex-start; margin-bottom: 8px; }
.info-list i { color: var(--primary-color); margin-right: 10px; }
.contact-box { display: flex; gap: 15px; flex-wrap: wrap; }
.contact-box span { background: rgba(90,31,31,.06); padding: 8px 12px; border-radius: 4px; }

/* Process */
.process .process-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
}
.process .step { background: var(--white); border: 1px solid #eee; padding: 22px; border-radius: 6px; text-align: center; box-shadow: 0 8px 20px rgba(0,0,0,.05); }
.process .ico { width: 54px; height: 54px; border-radius: 50%; display: inline-flex; align-items:center; justify-content:center; background: rgba(200,169,126,.14); color: var(--secondary-color); margin-bottom: 10px; }

/* Pricing */
.pricing .pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.price-card { background: var(--white); border: 1px solid #eee; border-radius: 8px; padding: 24px; box-shadow: 0 10px 24px rgba(0,0,0,.05); text-align: center; }
.price-card .tag { display: inline-block; background: rgba(200,169,126,.16); color: var(--secondary-color); padding: 6px 12px; border-radius: 20px; font-size: 12px; margin-bottom: 10px; }
.price-card.featured { border-color: var(--primary-color); box-shadow: 0 16px 40px rgba(200,169,126,.22); }
.price-card h3 { font-size: 28px; margin: 10px 0 15px; }
.price-card ul { margin: 0 0 16px; }
.price-card ul li { margin-bottom: 6px; }

/* Experience band */
.experience-band { background: var(--secondary-color); padding: 80px 0; color: var(--white); }
.experience-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; }
.exp-image img { border-radius: 6px; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.exp-stats h3 { color: var(--white); margin-bottom: 18px; }
.meter { background: rgba(255,255,255,.18); border-radius: 30px; overflow: hidden; margin-bottom: 10px; }
.meter span { display: block; background: var(--primary-color); color: var(--secondary-color); padding: 8px 12px; font-weight: 600; }
.meter b { margin-right: 8px; }

/* Service detail */
.service-wrap { padding: 70px 0; }
.service-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; }
.service-figure img { border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.service-content h2 { margin: 15px 0; }
.service-aside { background: var(--secondary-color); border: 1px solid #eee; padding: 22px; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
.service-aside h3 { margin-bottom: 12px; }
.service-aside .contact-box { margin-top: 10px; display: grid; gap: 8px; }
.service-aside .social a { margin-right: 10px; color: var(--secondary-color); }
.service-section { margin-top: 30px; }
.service-section h4 { margin-bottom: 8px; }
.service-list { list-style: none; padding: 0; }
.service-list li { margin-bottom: 8px; }

/* Responsive tweaks for About page */
@media (max-width: 991px) {
  .about-intro-grid { grid-template-columns: 1fr; }
  .mini-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .guide-card { grid-template-columns: 1fr; }
  .process .process-grid { grid-template-columns: repeat(2,1fr); }
  .pricing .pricing-grid { grid-template-columns: 1fr; }
  .experience-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
}

/* ========================= */
/* News / Blog Listing       */
/* ========================= */
.news-list .section-header span {
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.post-card {
  background: var(--white);
  border: 1px solid #eee;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(0,0,0,.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.post-card .thumb img { width: 100%; display: block; }
.post-card .meta {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #777;
  font-size: 13px;
  padding: 16px 18px 0;
}
.post-card .meta .cat { color: var(--secondary-color); font-weight: 600; }
.post-card h3 { font-size: 20px; line-height: 1.35; padding: 6px 18px; }
.post-card h3 a { color: var(--dark); transition: var(--transition); }
.post-card h3 a:hover { color: var(--primary-color); }
.post-card p { padding: 0 18px 10px; color: var(--text-color); }
.post-card .read-more { padding: 0 18px 18px; color: var(--secondary-color); font-weight: 600; display: inline-flex; align-items: center; gap: 8px; }
.post-card .read-more:hover { color: var(--primary-color); }

.pagination { display: flex; gap: 10px; margin-top: 36px; }
.pagination .page {
  display: inline-block;
  padding: 10px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  color: var(--secondary-color);
}
.pagination .page.current, .pagination .page:hover {
  background: var(--primary-color);
  color: var(--white);
  border-color: var(--primary-color);
}

@media (max-width: 991px) {
  .posts-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .posts-grid { grid-template-columns: 1fr; }
}

/* Legal Team bios */
.team-bios { background: var(--white); }
.bio { padding: 30px 0; border-bottom: 1px solid #eee; }
.bio:last-child { border-bottom: 0; }
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 30px; align-items: start; }
.bio-photo img { width: 100%; height: auto; border-radius: 6px; box-shadow: 0 10px 24px rgba(0,0,0,.08); }
.bio-content h2 { margin: 0 0 6px; }
.bio-title { color: #777; margin: 0 0 16px; font-weight: 500; }
.bio-content h3 { margin: 18px 0 8px; font-size: 18px; }
.bio-content p { margin: 0 0 12px; font-weight: 500; color: var(--text-color); }

@media (max-width: 991px) {
  .bio-grid { grid-template-columns: 1fr; }
}

board-slider-section {
  background: #f3f3f3;
  padding: 30px 0;
  overflow: hidden;
}

.board-slider-wrapper {
  overflow: hidden;
  position: relative;
}

.board-logo-track {
  display: flex;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.board-logo-slide {
  flex: 0 0 auto;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
}

.board-logo-slide img {
  max-width: 100%;
  height: auto;
  filter: grayscale(0);
  transition: transform 0.3s ease;
}

.board-logo-slide img:hover {
  transform: scale(1.05);
}

@keyframes scroll-logos {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

.form-alert{
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.form-alert.success{ background:#e9f8ef; border:1px solid #7bd8a3; color:#0f5132; }
.form-alert.error{ background:#fdecea; border:1px solid #f5a6a1; color:#842029; }

