/* V Law Associates - Main Stylesheet */

/* ===============================
   RESET & BASICS
   =============================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

:root {
  --primary: rgb(111, 190, 224);
  --secondary: #36a3e3;
  --light: #f8f9fa;
  --dark: #333;
  --gray: #6c757d;
  --light-gray: #e9ecef;
  --shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

body {
  padding-top: 120px;
  background: #d5edf5;
  color: #1f2d3d;
}

/* ===============================
   GEOMETRIC BACKGROUND
   =============================== */
.geometric-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
}

.geo-shape {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  animation: floatGeo 25s infinite linear;
}

.geo-shape:nth-child(1) { width: 15vh; height: 15vh; bottom: -20vh; left: 10%; animation-duration: 25s; }
.geo-shape:nth-child(2) { width: 8vh; height: 8vh; bottom: -10vh; left: 25%; animation-duration: 15s; }
.geo-shape:nth-child(3) { width: 20vh; height: 20vh; bottom: -25vh; left: 60%; animation-duration: 30s; }
.geo-shape:nth-child(4) { width: 12vh; height: 12vh; bottom: -15vh; left: 80%; animation-duration: 20s; }
.geo-shape:nth-child(5) { width: 5vh; height: 5vh; bottom: -10vh; left: 45%; animation-duration: 10s; }

@keyframes floatGeo {
  0% { transform: translateY(0) rotate(45deg) scale(1); opacity: 0; }
  10% { opacity: 1; }
  80% { opacity: 1; }
  100% { transform: translateY(-120vh) rotate(405deg) scale(1.5); opacity: 0; }
}

/* ===============================
   HEADER & NAVIGATION
   =============================== */
.header {
  position: fixed;
  top: 0;
  height: 140px;
  width: 100%;
  background-color: #ffffff;
  transition: background-color 0.4s ease, padding 0.4s ease;
  z-index: 1000;
  padding: 2px 0;
}

.header-inner {
  max-width: 1300px;
  margin: auto;
  padding: 3px 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Header Scroll Effect */
.header.scrolled {
  background-color: rgba(111, 190, 224, 0.8);
  padding: 10px 0;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header.scrolled .nav a {
  color: #ffffff;
}

.header.scrolled .logo {
  filter: brightness(0) invert(1);
}

.logo {
  height: 170px;
  position: relative;
  /* Default desktop position correction */
  top: -20px;
}

.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav a {
  text-decoration: none;
  color: #1f2d3d;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.nav a:hover,
.nav a.active {
  color: #fff;
  background-color: #86ABB4;
}

/* Header Scroll Effect for Nav Links */
.header.scrolled .nav a:hover,
.header.scrolled .nav a.active {
  color: #1f2d3d;
  background-color: #fff;
}

/* Dropdown */
.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgb(111, 190, 224);
  padding: 16px;
  min-width: 260px;
  display: none;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  display: block;
  color: #fff;
  padding: 8px 0;
  text-decoration: none;
  transition: background 0.3s ease, padding-left 0.3s ease;
}

.dropdown-menu a:hover {
  background: rgba(255, 255, 255, 0.15);
  padding-left: 10px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  height: 3px;
  width: 25px;
  background: #000;
  margin: 4px 0;
  transition: 0.3s;
}

/* ===============================
   HERO SECTION
   =============================== */
.hero {
  height: 100vh;
  position: relative;
  background-color: #1f2d3d;
  /* Fallback color */
}

/* Specific Practice Area Heroes moved to bottom to override defaults */

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: 1.5s;
}

.slide.active {
  opacity: 1;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(162, 197, 208, .6), rgba(134, 171, 180, .6));
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  max-width: 600px;
  z-index: 10;
}

.cta-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 14px 36px;
  background: #1f2d3d;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

/* ===============================
   SECTIONS & ANIMATIONS
   =============================== */
section {
  padding: 90px 7%;
  scroll-margin-top: 140px;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.practice-grid,
.experts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.card {
  background: #ffffff;
  padding: 40px;
  text-align: center;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.card img,
.step img {
  width: 50px;
  margin-bottom: 15px;
}

.card h3,
.step h3 {
  color: #2c3e50;
  font-size: 16px;
}

.practice h2 {
  margin-bottom: 50px;
}

/* Process Section */
.process-steps {
  display: flex;
  gap: 20px;
}

.step {
  background: #fff;
  padding: 30px;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.step:hover {
  transform: scale(1.05);
}

.step img {
  margin-bottom: 15px;
}

/* Client Strip */
/* Client Slider */
.slider-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 40px 0;
  background: #d5edf5;
}

.slider-track {
  display: flex;
  width: calc(200px * 12);
  /* 200px per slide * 12 slides (6 original + 6 duplicates) */
  animation: scroll 30s linear infinite;
}

.slide-logo {
  width: 200px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-logo img {
  width: 100%;
  max-height: 80px;
  object-fit: contain;
  transition: all 0.3s ease;
  opacity: 1;
}

.slide-logo img:hover {
  transform: scale(1.1);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-200px * 6));
  }
}

/* ===============================
   ABOUT PAGE
   =============================== */
.about-hero {
  height: 60vh;
  background: url('./about-hero.jpg') center/cover no-repeat;
  position: relative;
}

.about-hero-content {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 80px 7%;
  align-items: center;
}

.about-image img {
  width: 100%;
  max-width: 420px;
  border-radius: 6px;
}

/* ===============================
   FORMS
   =============================== */
.appointment-form {
  max-width: 500px;
  margin: 0 auto;
  display: grid;
  gap: 15px;
}

.appointment-form input,
.appointment-form textarea {
  padding: 12px;
}

.file-upload {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 15px;
}

.file-upload label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.file-upload label span {
  font-size: 12px;
  color: #777;
}

.file-upload input[type="file"] {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  cursor: pointer;
}

.file-upload input[type="file"]::file-selector-button {
  padding: 8px 14px;
  border: none;
  background: #1f2a44;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  margin-right: 10px;
}

.file-upload input[type="file"]::file-selector-button:hover {
  background: #2f3f66;
}

button[type="submit"] {
  background-color: #71a5de;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

button[type="submit"]:hover {
  background-color: #083566;
}

/* ===============================
   CONTACT SECTION
   =============================== */
.contact {
  background: #1f2d3d;
  color: #fff;
  display: flex;
  justify-content: space-around;
  padding: 40px;
  min-height: 0;
}

/* ===============================
   PRACTICE PAGE UTILS
   =============================== */
.practice-list {
  padding: 80px 7%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.practice-item {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
  opacity: 0;
  transform: translateY(40px);
  transition: 0.8s ease;
}

.practice-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.practice-item h3 {
  margin: 20px;
  color: #1f2d3d;
}

.practice-item p {
  margin: 0 20px 30px;
  color: #555;
}

.practice-item.active {
  opacity: 1;
  transform: translateY(0);
}

.practice-parallel-layout {
  display: flex;
  gap: 40px;
  padding: 90px 7%;
  align-items: flex-start;
}

.practice-text {
  flex: 2;
}

.practice-side-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: sticky;
  top: 150px;
}

.practice-card {
  background: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: 0.3s;
}

.practice-card:hover,
.practice-card.active {
  background: #1f2d3d;
  color: #fff;
  transform: translateX(5px);
}

/* ===============================
   THOUGHT & LEADERSHIP PAGE
   =============================== */
.tl-page {
  background: #f5f5f5;
  color: #333;
  font-family: "Segoe UI", sans-serif;
}

.tl-page .hero {
  background: linear-gradient(135deg, #1f2d3d, #36a3e3);
  color: #fff;
  height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.tl-page .hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.tl-page .hero p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}

.tl-page .intro {
  padding: 60px 20px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
}

.tl-page .cards {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0 20px 80px;
  flex-wrap: wrap;
}

.tl-page .card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  width: 300px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.tl-page .card:hover {
  transform: translateY(-10px);
}

.tl-page .card i {
  font-size: 2.5rem;
  color: #36a3e3;
  margin-bottom: 20px;
}

.tl-page .card h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: #1f2d3d;
}

.tl-page .card p {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.5;
}

/* ===============================
   FOOTER
   =============================== */
footer {
  background-color: var(--primary);
  color: white;
  padding: 3rem 0 2rem;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-logo span {
  color: #ffffff;
}

.footer-about p {
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-links h3,
.footer-contact h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.footer-links ul {
  list-style-type: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--secondary);
}

.footer-contact p {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  color: #ffffff;
}

.footer-contact i {
  margin-right: 10px;
  color: #ffffff;
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
  color: #ffffff;
}

/* ===============================
   RESPONSIVE (MEDIA QUERIES)
   =============================== */

/* Tablet & Smaller Desktop */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}

/* Mobile Devices (Max Width: 768px) */
@media (max-width: 768px) {

  /* General Layout */
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
    padding-top: 80px;
    /* Reduced from 120px */
  }

  /* Header & Navigation */
  .header {
    width: 100vw;
    height: auto;
    /* Allow dynamic height */
  }

  .header-inner {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 10px 16px;
    min-height: 70px;
  }

  .logo {
    height: 55px;
    /* Safe mobile size */
    flex-shrink: 0;
    top: 0;
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    flex-shrink: 0;
  }

  .nav {
    position: absolute;
    top: 70px;
    right: 0;
    background: #6FBEE0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    display: none;
    padding: 20px 0;
    left: 0;
  }

  .nav a {
    padding: 12px 0;
    width: 100%;
    text-align: center;
  }

  .nav.active {
    display: flex;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
  }

  /* Header Scroll State on Mobile */
  .header.scrolled {
    min-height: 70px;
    padding: 4px 0;
  }

  /* Header Shrink Disable/Adjust on Mobile */
  .header.scrolled .logo {
    height: 45px;
    transition: height 0.3s ease;
  }

  .header.scrolled .hamburger {
    transform: none;
  }

  /* Logo behavior when menu is open */
  .header:has(.nav.active) .logo {
    height: 55px;
  }

  /* Process Steps (How We Do It) */
  .process-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-steps .step {
    width: 100%;
    max-width: 280px;
  }

  /* Contact Section */
  .contact {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 20px;
    padding: 30px 20px;
    text-align: left;
  }

  .contact div {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
  }

  .contact .icon {
    font-size: 20px;
    min-width: 24px;
  }

  /* Footer */
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-contact p {
    justify-content: center;
  }

  .practice-parallel-layout {
    flex-direction: column;
  }

  .practice-side-cards {
    width: 100%;
    position: static;
  }
}

.clients {
  padding: 80px 0;
  background-color: #f4f7f6;
  /* Light grey background to make cards pop */
}

.clients h2 {
  text-align: center;
  margin-bottom: 60px;
  font-size: 2.5rem;
  color: #1f2d3d;
  font-weight: 700;
}

.slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0 40px 0;
}

.slider-track {
  display: flex;
  width: calc(280px * 12);
  /* Adjusted for wider card width */
  animation: scroll 40s linear infinite;
  gap: 30px;
  /* Space between cards */
}

.slide-logo {
  width: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-shrink: 0;
}

/* The Card Style with Stacked Effect */
.logo-card-wrapper {
  background: #D5EDF5;
  width: 80%;
  height: 150px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  position: relative;
  /* This creates the "stacked" look from the 1st image */
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.05),
    0 0 0 2px #60ade9,
    0 0 0 4px rgba(0, 0, 0, 0.02);
  transition: transform 0.3s ease;
}

.slide-logo img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  filter: grayscale(20%);
  /* Optional: softens logos to match design */
  transition: filter 0.3s ease;
}

/* The Text Label below the image */
.client-label {
  margin-top: 15px;
  font-size: 14px;
  font-weight: 600;
  color: #4a5568;
  text-align: center;
}

.slide-logo:hover .logo-card-wrapper {
  transform: translateY(-5px);
}

.slide-logo:hover img {
  filter: grayscale(0%);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-280px * 6));
  }

  /* Adjust based on width+gap */
}

/* ===============================
   EXPERT PROFILE STYLES (NEW)
   =============================== */
.expert-profile-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #fdfdfd;
  min-height: 60vh;
}

.expert-card-profile {
  background: white;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  /* Softer, larger shadow */
  overflow: hidden;
  display: flex;
  flex-direction: column;
  /* Mobile first */
  max-width: 1000px;
  /* Wider for better balance */
  width: 100%;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

.expert-card-profile:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.expert-image-section {
  flex: 1;
  min-height: 350px;
  position: relative;
  overflow: hidden;
}

.expert-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.expert-card-profile:hover .expert-image-section img {
  transform: scale(1.05);
  /* Subtle zoom on hover */
}

.expert-info-section {
  flex: 1.4;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

.expert-role {
  color: var(--secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  font-size: 0.85rem;
  display: inline-block;
  background: rgba(54, 163, 227, 0.1);
  padding: 6px 12px;
  border-radius: 4px;
  width: fit-content;
}

.expert-name {
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.expert-bio {
  color: #555;
  line-height: 1.8;
  margin-bottom: 35px;
  font-size: 1.05rem;
}

.expert-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid #eee;
}

.expert-detail-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #444;
  font-weight: 500;
  font-size: 0.95rem;
}

.expert-detail-item i {
  color: var(--secondary);
  font-size: 1.2rem;
  background: rgba(54, 163, 227, 0.1);
  padding: 10px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive adjustments for Expert Profile */
@media (min-width: 850px) {
  .expert-card-profile {
    flex-direction: row;
  }

  .expert-image-section {
    min-height: auto;
    flex: 1;
  }

  .expert-info-section {
    flex: 1.2;
  }
}

/* Experts Page Styles */
.experts-section {
  padding: 60px 7%;
  background: #f8f9fa;
}

.experts-section:nth-child(even) {
  background: #fff;
}

.experts-section h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: #1f2d3d;
}

.experts-carousel {
  display: flex;
  overflow-x: auto;
  gap: 30px;
  padding-bottom: 30px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.experts-carousel::-webkit-scrollbar {
  display: none;
}

.expert-card {
  min-width: 300px;
  max-width: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}

.expert-card:hover {
  transform: translateY(-10px);
}

.expert-image {
  height: 300px;
  width: 100%;
  object-fit: cover;
  background-color: #ddd;
}

.expert-info {
  padding: 20px;
  text-align: center;
}

.expert-info h3 {
  font-size: 1.2rem;
  margin-bottom: 5px;
  color: #1f2d3d;
}

.expert-info p {
  color: #777;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.control-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  transition: all 0.3s;
}

.control-btn:hover {
  background: #1f2d3d;
  color: #fff;
}

/* Expert Profile Styles */
.profile-container {
  max-width: 1200px;
  margin: 180px auto 80px;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 50px;
}

.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.profile-image {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-contact {
  background: rgb(111, 190, 224);
  color: #fff;
  padding: 30px;
  border-radius: 8px;
}

.quick-contact h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 10px;
  display: inline-block;
}

.contact-item {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.contact-item i {
  width: 20px;
}

.contact-icons {
  margin-top: 20px;
  display: flex;
  gap: 15px;
}

.contact-icons a {
  color: #fff;
  font-size: 1.2rem;
  transition: transform 0.3s;
}

.contact-icons a:hover {
  transform: translateY(-3px);
}

.profile-content h4 {
  color: rgb(111, 190, 224);
  font-size: 1rem;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.profile-content h1 {
  font-size: 2.5rem;
  color: #1f2d3d;
  margin-bottom: 25px;
}

.profile-content p {
  line-height: 1.8;
  color: #555;
  margin-bottom: 20px;
  font-size: 1rem;
}

.experience-section {
  margin-top: 40px;
}

.experience-section h2 {
  font-size: 1.8rem;
  color: #1f2d3d;
  margin-bottom: 15px;
}

@media (max-width: 768px) {
  .profile-container {
    grid-template-columns: 1fr;
    margin-top: 140px;
  }
}

/* ===============================
   SPECIFIC PRACTICE AREA HEROES
   (Must be after .about-hero to override)
   =============================== */
.arbitration-hero {
  background: url('practice-arbitration.jpg') center/cover no-repeat !important;
}

.corporate-hero {
  background: url('practice-corporate.jpg') center/cover no-repeat !important;
}

.constitutional-hero {
  background: url('practice-constitutional.jpg') center/cover no-repeat !important;
}

.consumer-hero {
  background: url('practice-consumer.jpg') center/cover no-repeat !important;
}

.taxation-hero {
  background: url('practice-taxation.jpg') center/cover no-repeat !important;
}

.property-hero {
  background: url('practice-property.jpg') center/cover no-repeat !important;
}

.civil-hero {
  background: url('practice-civil-criminal.jpg') center/cover no-repeat !important;
}

/* ===============================
   DISCLAIMER POP-UP MODAL (Bottom Banner)
   =============================== */
.disclaimer-modal {
  display: flex;
  position: fixed;
  inset: 0;
  z-index: 99999;
  background-color: rgba(31, 45, 61, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  align-items: flex-end;
  /* Align to bottom */
  justify-content: center;
  padding: 0;
  /* Remove padding for full width banner */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.disclaimer-modal.show {
  opacity: 1;
  visibility: visible;
}

/* Prevent scrolling while modal is open */
body.modal-open {
  overflow: hidden;
  height: 100vh;
}

.disclaimer-content {
  background: #ffffff;
  width: 100%;
  max-width: 100%;
  padding: 40px 10%;
  /* More padding for landscape banner */
  border-radius: 0;
  /* Flat banner styling */
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-align: left;
  /* Alignment for banner */
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  /* Flex layout to separate text and buttons */
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.disclaimer-modal.show .disclaimer-content {
  transform: translateY(0);
}

.disclaimer-text-area {
  flex: 1;
  /* Take up remaining horizontal space */
}

/* Enable logo in bottom banner as requested */
.disclaimer-content .logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.disclaimer-content h2 {
  color: #1f2d3d;
  font-size: 2rem;
  margin-bottom: 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  display: inline-block;
  padding-bottom: 10px;
}

.disclaimer-content h2::after {
  content: '';
  position: absolute;
  left: 0;
  /* Left align underline */
  bottom: 0;
  width: 60px;
  height: 3px;
  background-color: #36a3e3;
}

.disclaimer-content p {
  color: #555;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 0;
  /* Remove bottom margin as it's side-by-side */
  text-align: justify;
  max-width: 100%;
  border-right: none;
  padding-right: 0;
}

.disclaimer-buttons {
  display: flex;
  gap: 20px;
  flex-direction: column;
  /* Stack buttons vertically */
  min-width: 250px;
}

.btn-accept {
  background-color: #36a3e3;
  color: white;
  padding: 14px 35px;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(54, 163, 227, 0.4);
  transition: all 0.3s ease;
  width: 100%;
}

.btn-accept:hover {
  background-color: #1f2d3d;
  box-shadow: 0 6px 20px rgba(31, 45, 61, 0.4);
  transform: translateY(-3px);
}

.btn-decline {
  background-color: transparent;
  color: #1f2d3d;
  padding: 14px 35px;
  border: 2px solid #1f2d3d;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 100%;
}

.btn-decline:hover {
  background-color: #1f2d3d;
  color: white;
  transform: translateY(-3px);
}

/* Responsive Disclaimer */
@media (max-width: 900px) {
  .disclaimer-content {
    flex-direction: column;
    padding: 30px 20px;
  }

  .disclaimer-content p {
    margin-bottom: 30px;
  }

  .disclaimer-buttons {
    flex-direction: row;
    width: 100%;
  }

  .btn-accept,
  .btn-decline {
    flex: 1;
  }
}

@media (max-width: 600px) {
  .disclaimer-content h2 {
    font-size: 1.6rem;
  }

  .disclaimer-buttons {
    flex-direction: column;
  }
}