/* ============================================
   ABOUT PAGE STYLES
   Standalone CSS for about.html
   ============================================ */

/* ----- RESET & BASE ----- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

body {
  font-family: Arial, sans-serif;
  color: #222;
  padding-top: 90px;
  background: #f5f5f5;
}

/* ----- HEADER (Fixed - Light Theme, Large Logo) ----- */
header {
  background: #ffffff;
  color: #081a2c;
  padding: 8px 5%;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 90px;
  z-index: 9999;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border-bottom: 1px solid #e8e8e8;
  display: flex;
  align-items: center;
  min-height: 90px;
  max-height: 90px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
  height: 100%;
}

.logo {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #081a2c;
  flex-shrink: 0;
}

.logo-img {
  height: 80px;
  width: auto;
  display: block;
}

.logo span {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #081a2c;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  padding: 5px;
  z-index: 9999;
  flex-shrink: 0;
}

.hamburger span {
  width: 28px;
  height: 3px;
  background: #081a2c;
  border-radius: 3px;
  transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

nav ul {
  display: flex;
  gap: 25px;
  list-style: none;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav ul li a {
  color: #081a2c;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s;
  font-size: 15px;
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a.active {
  color: #f0c040;
}

.phone {
  font-weight: bold;
  color: #f0c040;
  font-size: 15px;
  flex-shrink: 0;
}

/* ----- FLOATING ICONS - WhatsApp & Call ----- */
.floating-icon {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.floating-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: relative;
}

.floating-icon a:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.4);
}

.floating-icon a span {
  font-size: 28px;
  line-height: 1;
}

.whatsapp-btn {
  background: #25D366;
}

.whatsapp-btn i {
  color: #fff;
  font-size: 32px;
}

.call-btn {
  background: #081a2c;
}

.call-btn span {
  font-size: 28px;
}

.floating-icon a::after {
  content: attr(title);
  position: absolute;
  right: 70px;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.floating-icon a:hover::after {
  opacity: 1;
  visibility: visible;
}

.floating-icon .whatsapp-btn {
  animation: pulse-whatsapp 2s infinite;
}

.floating-icon .call-btn {
  animation: pulse-call 2s infinite 0.5s;
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes pulse-call {
  0% {
    box-shadow: 0 0 0 0 rgba(8, 26, 44, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(8, 26, 44, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(8, 26, 44, 0);
  }
}

/* ----- PAGE HEADER (Light Theme) ----- */
.page-header {
  background: #f8f9fa;
  padding: 100px 8% 60px;
  text-align: center;
  border-bottom: 3px solid #f0c040;
}

.page-header h1 {
  color: #081a2c;
  font-size: 48px;
  font-weight: 300;
  letter-spacing: 2px;
}

.page-header h1 span {
  color: #f0c040;
  font-weight: 700;
}

.page-header .subtitle {
  color: #666;
  font-size: 20px;
  margin-top: 10px;
  font-weight: 300;
}

/* ----- ATTORNEY PROFILE (Light Theme) ----- */
.attorney-profile {
  background: #ffffff;
  padding: 70px 8%;
}

.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 60px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: start;
}

/* Bio Content */
.bio-content h2 {
  text-align: left;
  color: #081a2c;
  font-size: 32px;
  margin-bottom: 25px;
  position: relative;
}

.bio-content h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #f0c040;
}

.bio-content p {
  font-size: 17px;
  line-height: 1.9;
  color: #444;
  margin-bottom: 20px;
}

.bio-content .signature {
  font-family: 'Georgia', serif;
  font-size: 24px;
  color: #081a2c;
  margin-top: 30px;
  font-style: italic;
}

/* Credentials Grid */
.credentials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.credential-card {
  background: #fff;
  padding: 25px 25px 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
  border-top: 4px solid #f0c040;
  transition: transform 0.3s, box-shadow 0.3s;
}

.credential-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 35px rgba(0, 0, 0, 0.1);
}

.credential-card .icon {
  color: #f0c040;
  font-size: 28px;
  margin-bottom: 12px;
  display: block;
}

.credential-card h3 {
  color: #081a2c;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.credential-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.credential-card ul li {
  font-size: 15px;
  color: #555;
  line-height: 1.7;
  padding: 4px 0;
  border-bottom: 1px solid #f0f0f0;
}

.credential-card ul li:last-child {
  border-bottom: none;
}

.credential-card ul li strong {
  color: #081a2c;
}

.credential-card ul li .highlight {
  color: #f0c040;
  font-weight: 600;
}

.credential-card.full-width {
  grid-column: 1 / -1;
}

/* Practice Badges */
.practice-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.practice-badge {
  background: #f0c040;
  color: #081a2c;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

/* Associations List - horizontal */
.associations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}

.associations-list li {
  border-bottom: none !important;
  padding: 4px 0;
}

/* ----- ATTORNEY IMAGE - CIRCULAR ----- */
.attorney-image-wrapper {
  text-align: center;
  margin-bottom: 35px;
}

.attorney-image-container {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 15px;
  border-radius: 50%;
  padding: 5px;
  background: linear-gradient(135deg, #f0c040, #081a2c);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
}

.attorney-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  display: block;
}

.image-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: #f0c040;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.image-badge i {
  color: #081a2c;
  font-size: 20px;
}

.image-title h3 {
  color: #081a2c;
  font-size: 24px;
  margin-bottom: 2px;
  letter-spacing: 1px;
}

.image-title p {
  color: #777;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* ----- STATS SECTION (Light Theme) ----- */
.stats-section {
  background: #081a2c;
  padding: 60px 8%;
  color: #fff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.stat-item h3 {
  font-size: 48px;
  color: #f0c040;
  font-weight: 700;
  margin-bottom: 5px;
}

.stat-item p {
  font-size: 18px;
  color: #d8dde8;
  font-weight: 300;
}

/* ----- CTA SECTION ----- */
.cta-section {
  position: relative;
  background: url('../img/pattern.png');
  background-size: cover;
  padding: 70px 8%;
  text-align: center;
  overflow: hidden;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 44, 0.92);
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  color: #fff;
  font-size: 36px;
  margin-bottom: 15px;
}

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

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cta-btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta-btn i {
  margin-right: 10px;
}

.cta-btn.primary {
  background: #f0c040;
  color: #081a2c;
  border: 2px solid #f0c040;
}

.cta-btn.primary:hover {
  background: transparent;
  color: #f0c040;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(240, 192, 64, 0.3);
}

.cta-btn.secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #f0c040;
}

.cta-btn.secondary:hover {
  background: #f0c040;
  color: #081a2c;
  transform: translateY(-3px);
}

/* ----- FOOTER ----- */
.footer {
  position: relative;
  background: #081a2c;
  background-image: url('../img/pattern.png');
  background-size: cover;
  color: #fff;
  overflow: hidden;
}

.footer-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8, 26, 44, 0.95);
}

.footer-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px 8% 35px;
}

.footer-logo {
  text-align: center;
  margin-bottom: 40px;
}

.footer-logo img {
  max-width: 200px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding-bottom: 35px;
  margin-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  flex-wrap: wrap;
}

.footer-nav a {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  position: relative;
  transition: all 0.35s ease;
  letter-spacing: 0.5px;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 0;
  height: 3px;
  background: #f0c040;
  transition: all 0.35s ease;
  border-radius: 2px;
}

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

.footer-nav a:hover {
  color: #f0c040;
}

.footer-contact {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.office,
.phone {
  text-align: center;
  padding: 10px 20px;
}

.office:not(:last-child),
.phone {
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-contact i {
  font-size: 48px;
  color: #f0c040;
  margin-bottom: 20px;
  display: block;
}

.office h3 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 15px;
  letter-spacing: 1px;
  font-weight: 700;
}

.office p {
  font-size: 18px;
  line-height: 1.8;
  color: #d6dde7;
  margin-bottom: 20px;
}

.office a {
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 14px;
  font-weight: 700;
  color: #f0c040;
  transition: all 0.3s ease;
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 2px solid transparent;
}

.office a:hover {
  color: #fff;
  border-bottom-color: #f0c040;
}

.phone p {
  font-size: 22px;
  margin-bottom: 15px;
  color: #d6dde7;
  font-weight: 300;
}

.phone h2 {
  font-size: 48px;
  font-weight: 700;
  color: #f0c040;
  letter-spacing: 1px;
}

.footer-bottom {
  text-align: center;
  padding-top: 35px;
}

.footer-bottom p {
  font-size: 18px;
  margin-bottom: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s ease;
  font-size: 15px;
}

.footer-links a:hover {
  color: #f0c040;
}

.footer-links span {
  color: rgba(255, 255, 255, 0.2);
}

.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  font-size: 18px;
  transition: all 0.35s ease;
  text-decoration: none;
}

.socials a:hover {
  background: #f0c040;
  border-color: #f0c040;
  color: #081a2c;
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(240, 192, 64, 0.3);
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 992px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .page-header {
    padding: 90px 5% 50px;
  }

  .page-header h1 {
    font-size: 36px;
  }

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

  .footer-contact {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .office:not(:last-child),
  .phone {
    border-right: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 65px !important;
  }

  header {
    height: 65px !important;
    min-height: 65px !important;
    max-height: 65px !important;
    padding: 0 4% !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
  }

  nav {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    height: 100% !important;
  }

  .logo {
    font-size: 13px !important;
    gap: 8px !important;
    flex-shrink: 1 !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
  }

  .logo span {
    font-size: 13px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .logo-img {
    height: 45px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    display: block !important;
  }

  .phone {
    display: block !important;
    font-size: 11px !important;
    margin: 0 8px 0 auto !important;
    flex-shrink: 0 !important;
    color: #f0c040 !important;
    font-weight: bold !important;
  }

  .hamburger {
    display: flex !important;
    margin-left: 0 !important;
    padding: 5px !important;
    flex-shrink: 0 !important;
    cursor: pointer !important;
    z-index: 9999 !important;
  }

  .hamburger span {
    width: 25px !important;
    height: 3px !important;
    background: #081a2c !important;
    display: block !important;
  }

  nav ul {
    display: none !important;
    flex-direction: column !important;
    width: 100% !important;
    padding: 20px 5% !important;
    gap: 0 !important;
    align-items: center !important;
    background: #ffffff !important;
    position: absolute !important;
    top: 65px !important;
    left: 0 !important;
    right: 0 !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 3px solid #f0c040 !important;
    z-index: 9998 !important;
    margin: 0 !important;
  }

  nav ul.active {
    display: flex !important;
  }

  nav ul li {
    width: 100% !important;
    list-style: none !important;
  }

  nav ul li a {
    color: #081a2c !important;
    font-size: 16px !important;
    padding: 12px 0 !important;
    width: 100% !important;
    text-align: center !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block !important;
    text-decoration: none !important;
    font-weight: 500 !important;
  }

  nav ul li a:hover,
  nav ul li a.active {
    color: #f0c040 !important;
    background: #f8f9fa !important;
  }

  nav ul li:last-child a {
    border-bottom: none !important;
  }

  .page-header {
    padding: 80px 5% 40px;
  }

  .page-header h1 {
    font-size: 28px;
  }

  .page-header .subtitle {
    font-size: 16px;
  }

  .attorney-profile {
    padding: 50px 5%;
  }

  .bio-content h2 {
    font-size: 26px;
  }

  .bio-content p {
    font-size: 16px;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .stat-item h3 {
    font-size: 32px;
  }

  .stat-item p {
    font-size: 15px;
  }

  .cta-section {
    padding: 50px 5%;
  }

  .cta-content h2 {
    font-size: 28px;
  }

  .cta-content p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .cta-btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }

  .footer-container {
    padding: 50px 5% 30px;
  }

  .footer-nav {
    gap: 25px;
    padding-bottom: 25px;
    margin-bottom: 35px;
  }

  .footer-nav a {
    font-size: 15px;
  }

  .footer-contact {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 35px;
  }

  .office,
  .phone {
    padding: 25px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-right: none !important;
  }

  .office:last-child,
  .phone:last-child {
    border-bottom: none;
  }

  .footer-contact i {
    font-size: 38px;
    margin-bottom: 15px;
  }

  .office h3 {
    font-size: 22px;
  }

  .office p {
    font-size: 16px;
  }

  .phone p {
    font-size: 18px;
  }

  .phone h2 {
    font-size: 36px;
  }

  .footer-bottom p {
    font-size: 15px;
  }

  .floating-icon {
    bottom: 20px;
    right: 20px;
  }

  .floating-icon a {
    width: 50px;
    height: 50px;
  }

  .floating-icon a span {
    font-size: 22px;
  }

  .whatsapp-btn i {
    font-size: 26px;
  }

  .attorney-image-container {
    width: 170px;
    height: 170px;
  }
  
  .image-badge {
    width: 34px;
    height: 34px;
  }
  
  .image-badge i {
    font-size: 16px;
  }
  
  .image-title h3 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  body {
    padding-top: 55px !important;
  }

  header {
    height: 55px !important;
    min-height: 55px !important;
    max-height: 55px !important;
    padding: 0 3% !important;
  }

  .logo {
    font-size: 10px !important;
    gap: 5px !important;
  }

  .logo-img {
    height: 38px !important;
  }

  .logo span {
    font-size: 10px !important;
  }

  .phone {
    font-size: 9px !important;
    margin: 0 5px 0 auto !important;
  }

  .hamburger span {
    width: 22px !important;
    height: 2.5px !important;
  }

  nav ul {
    top: 55px !important;
    padding: 15px 4% !important;
  }

  nav ul li a {
    font-size: 14px !important;
    padding: 10px 0 !important;
  }

  .page-header h1 {
    font-size: 24px;
  }

  .page-header .subtitle {
    font-size: 14px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .stat-item h3 {
    font-size: 28px;
  }

  .bio-content .signature {
    font-size: 20px;
  }

  .credential-card {
    padding: 20px;
  }

  .practice-badges {
    gap: 8px;
  }

  .practice-badge {
    font-size: 12px;
    padding: 4px 12px;
  }

  .cta-content h2 {
    font-size: 24px;
  }

  .cta-btn {
    padding: 14px 30px;
    font-size: 16px;
  }

  .footer-nav {
    gap: 15px;
  }

  .footer-nav a {
    font-size: 13px;
  }

  .footer-logo img {
    max-width: 150px;
  }

  .office h3 {
    font-size: 19px;
  }

  .office p {
    font-size: 15px;
  }

  .phone h2 {
    font-size: 28px;
  }

  .socials a {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }

  .attorney-image-container {
    width: 150px;
    height: 150px;
  }
  
  .image-badge {
    width: 30px;
    height: 30px;
    bottom: 4px;
    right: 4px;
  }
  
  .image-badge i {
    font-size: 14px;
  }

  .floating-icon {
    bottom: 15px;
    right: 15px;
  }

  .floating-icon a {
    width: 45px;
    height: 45px;
  }

  .floating-icon a span {
    font-size: 20px;
  }

  .whatsapp-btn i {
    font-size: 22px;
  }
}