/* Import existing fonts and variables */
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNovaA-Bold.woff") format("woff"), url("../fonts/ProximaNovaA-Bold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Semibold.woff") format("woff"), url("../fonts/ProximaNova-Semibold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNovaT-Thin.woff") format("woff"), url("../fonts/ProximaNovaT-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Regular.woff") format("woff"), url("../fonts/ProximaNova-Regular.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNova-Light.woff") format("woff"), url("../fonts/ProximaNova-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Proxima Nova";
  src: url("../fonts/ProximaNovaA-Black.woff") format("woff"), url("../fonts/ProximaNovaA-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #3DAAD9;
  --secondary: #538DCC;
  --background: #ffffff;
  --text: #707070;
  --light-gray: #f8f9fa;
  --border-color: #e9ecef;
  --primary-font: "Proxima Nova", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--background);
  font-family: var(--primary-font);
  line-height: 1.6;
}

/* Top Bar */
.top-bar {
  background-color: var(--secondary);
  color: white;
  padding: 0.5rem 0;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
}

.top-bar-contact {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
}

.top-bar-link {
  color: white;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.top-bar-link:hover {
  color: var(--primary);
}

.top-bar-link i {
  font-size: 0.8rem;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
  transition: all 0.3s ease;
  top: 38px;
}

.navbar-brand {
  padding: 0;
}

.nav-logo {
  height: 50px;
  width: auto;
}

.navbar-nav .nav-link {
  color: var(--text) !important;
  font-weight: 500;
  margin: 0 1rem;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary) !important;
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 160px 0 80px;
  overflow: hidden;
}

.hero-content {
  z-index: 10;
  position: relative;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
  line-height: 1.2;
  animation: fadeInUp 1s ease-out;
}

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

.hero-subtitle {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 2rem;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

#specializations {
  color: var(--primary);
  font-weight: 600;
  transition: opacity 0.3s ease;
  border-right: 2px solid var(--primary);
  animation: blink 1s infinite;
}

@keyframes blink {
  0%, 50% {
    border-color: transparent;
  }
  51%, 100% {
    border-color: var(--primary);
  }
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-buttons .btn {
  padding: 12px 30px;
  font-weight: 500;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.hero-image {
  text-align: center;
  position: relative;
  z-index: 10;
}

.hero-profile {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  z-index: 1;
}

@media (max-width: 767px) {
  .hero-background {
    width: 60%;
    height: 100%;
    top: 110px;
    right: 0%;
  }
  
  .hero-background .bg-shapes {
    width: 100%;
    height: 60%;
    object-fit: contain;
    object-position: right center;
  }
}

.hero-background .bg-shapes {
  width: 100%;
  height: 80%;
  object-fit: cover;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 1rem;
}

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

/* Bio Section */
.bio-section {
  background-color: var(--light-gray);
}

/* Press Section */
.press-section {
  padding: 80px 0;
  background-color: white;
}

.press-card {
  background: white;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.press-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.press-logo {
  max-width: 100%;
  border-radius: 12px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.press-card:hover .press-logo {
  transform: scale(1.05);
}

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

.press-content h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.press-date {
  color: #6c757d;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  font-style: italic;
}

.press-excerpt {
  color: #495057;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.press-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.press-link:hover {
  color: var(--secondary);
  text-decoration: underline;
}

.press-link i {
  font-size: 0.9rem;
}

.bio-content {
  margin-top: 2rem;
}

.bio-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  color: var(--text);
}

.bio-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.highlight-item {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease;
  text-align: center;
}

.highlight-icon {
  margin-bottom: 1.5rem;
}

.highlight-icon i {
  font-size: 2.5rem;
  color: var(--primary);
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.highlight-item:hover {
  transform: translateY(-5px);
}

.highlight-item h4 {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.bio-sidebar {
  position: sticky;
  top: 100px;
}

.contact-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.contact-card h4 {
  color: var(--secondary);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.contact-card .contact-item-compact {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
}

.contact-item-icon {
  width: 35px;
  height: 35px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-icon i {
  font-size: 0.9rem;
  color: white;
}

.contact-item-info {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.4;
}

.contact-item-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-info a:hover {
  color: var(--secondary);
}

/* Practice Areas Section */
.practice-areas-section {
  background: white;
}

.practice-area-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  text-align: center;
  height: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Practice area column spacing */
.practice-areas-section .col-lg-4,
.practice-areas-section .col-md-6 {
  margin-bottom: 3rem;
}

.card-icon {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.card-icon i {
  font-size: 2rem;
  color: white;
}

.practice-area-card h3 {
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.practice-area-card p {
  color: var(--text);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-gray);
}

.contact-cards {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.contact-cards-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-card-compact {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  min-width: 250px;
  max-width: 300px;
  flex: 1;
}

.contact-card-compact:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.contact-card-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.contact-card-compact:hover .contact-card-icon {
  transform: scale(1.1);
}

.contact-card-icon i {
  font-size: 1.5rem;
  color: white;
}

.contact-card-info {
  flex: 1;
}

.contact-card-info h4 {
  color: var(--secondary);
  margin-bottom: 0.3rem;
  font-weight: 600;
  font-size: 1rem;
}

.contact-card-info p {
  color: var(--text);
  margin-bottom: 0;
  line-height: 1.4;
  font-size: 0.95rem;
}

.contact-card-info a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: 500;
}

.contact-card-info a:hover {
  color: var(--secondary);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: 120px 0 80px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  overflow: hidden;
  margin: 0;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.cta-background {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.cta-bg-shapes {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}

.cta-content {
  position: relative;
  z-index: 10;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.cta-content p {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-buttons .btn {
  padding: 15px 30px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  min-width: 200px;
  justify-content: center;
}

.cta-buttons .btn-primary {
  background-color: white;
  color: var(--primary);
  border: 2px solid white;
}

.cta-buttons .btn-primary:hover {
  background-color: transparent;
  color: white;
  transform: translateY(-2px);
}

.cta-buttons .btn-primary {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.cta-buttons .btn-outline-primary {
  background-color: transparent;
  color: white;
  border: 2px solid white;
}

.cta-buttons .btn-outline-primary:hover {
  background-color: white;
  color: var(--primary);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 15px 30px !important;
  font-size: 1.1rem !important;
}

/* Footer */
.footer {
  background-color: #000000;
  color: white;
  padding: 2rem 0;
  text-align: center;
}

.footer-content p {
  margin: 0;
  font-size: 0.9rem;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  color: white;
}

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

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

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

/* Responsive Design */
@media (max-width: 991px) {
  .container {
    padding-left: 25px;
    padding-right: 25px;
  }
  
  .top-bar-contact {
    flex-direction: row;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-subtitle {
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .bio-highlights {
    grid-template-columns: 1fr;
  }
  
  .bio-sidebar {
    position: static;
    margin-top: 2rem;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    margin-top: 2rem;
  }
  
  .contact-cards {
    flex-direction: column;
    align-items: center;
  }
  
  .contact-cards-2x2 {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }
  
  .contact-card-compact {
    min-width: 300px;
    max-width: 400px;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .cta-content p {
    font-size: 1.1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-buttons .btn {
    min-width: 250px;
  }
}

@media (max-width: 767px) {
  .top-bar {
    padding: 0.3rem 0;
    font-size: 0.8rem;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
  }
  
  .navbar {
    top: 27px;
    position: fixed;
    width: 100%;
    z-index: 1020;
  }
  
  .top-bar-contact {
    gap: 1rem;
    justify-content: center;
  }
  
  .top-bar-link span {
    display: none;
  }
  
  .top-bar-link i {
    font-size: 1rem;
  }
  
  .hero-section {
    padding: 140px 20px 60px;
  }
  
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
  
  .hero-profile {
    max-width: 200px;
  }
  
  .practice-area-card {
    padding: 2rem 1.5rem;
  }
  
  .navbar-nav {
    text-align: center;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    margin: 0.5rem 0;
  }
  
  .contact-card-compact {
    min-width: 280px;
    max-width: 350px;
    margin: 0 auto;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 575px) {
  section {
    padding: 60px 0;
  }
  
  .hero-section {
    padding: 140px 15px 60px;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .section-title {
    font-size: 1.5rem;
  }
  
  .bio-text {
    font-size: 1rem;
  }
  
  .practice-area-card {
    padding: 1.5rem 1rem;
  }
  
  .contact-card-compact {
    min-width: 250px;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .hero-background .bg-shapes {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
  }
}
