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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  scroll-behavior: smooth;
}

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

.section {
  padding: 80px 0;
}

/* Navigation */
.card-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  height: 60px;
  overflow: hidden;
  transition: all 0.4s ease;
  max-width: 800px;
  width: 90%;
  opacity: 1;
}

.card-nav.hidden {
  opacity: 0;
  pointer-events: none;
}

.card-nav.open {
  height: 260px;
}

.card-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  height: 60px;
}

.hamburger-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
  padding: 8px;
  color: #1a1a2e;
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: currentColor;
  transition: all 0.3s ease;
}

.hamburger-menu.open .hamburger-line:first-child {
  transform: rotate(45deg) translate(3px, 3px);
}

.hamburger-menu.open .hamburger-line:last-child {
  transform: rotate(-45deg) translate(3px, -3px);
}

.logo-container {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-text {
  color: black;
  font-weight: bold;
  font-size: 14px;
  text-align: center;
  text-transform: uppercase;
}

.top-logo {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 1001;
  opacity: 1;
  transition: all 0.4s ease;
}

.top-logo.hidden {
  opacity: 0;
  pointer-events: none;
}

.top-logo img {
  height: 120px;
  width: auto;
}

.language-switch {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  padding: 8px 12px;
}

.switch-label {
  font-size: 14px;
  font-weight: 500;
  color: #1a1a2e;
  transition: color 0.3s ease;
}

.switch-toggle {
  position: relative;
  width: 40px;
  height: 20px;
}

.switch-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.switch-toggle .slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.3s;
  border-radius: 20px;
}

.switch-toggle .slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  transition: 0.3s;
  border-radius: 50%;
}

.switch-toggle input:checked + .slider {
  background-color: #4169e1;
}

.switch-toggle input:checked + .slider:before {
  transform: translateX(20px);
}

body.rtl {
  direction: rtl;
}

body.rtl .card-nav {
  left: 50%;
  transform: translateX(-50%);
}

body.rtl .language-switch {
  right: 20px;
  left: auto;
}

/* Slide Overlays */
.slide-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 90%;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide:nth-child(1).active ~ .slide-overlay-1,
.slide:nth-child(2).active ~ .slide-overlay-2,
.slide:nth-child(3).active ~ .slide-overlay-3 {
  opacity: 1;
}

.slide-text {
  font-size: 3rem;
  font-weight: bold;
  margin: 0 0 20px 0;
  color: white;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
}

.slide-subtitle {
  font-size: 1.5rem;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  margin: 0;
}

.slide-cta {
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  padding: 15px 30px;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.slide-cta:hover {
  background: #ffed4e;
  transform: translateY(-2px);
}

#caseCounter {
  color: #ffd700;
  font-size: 3.5rem;
}

.card-nav-cta-button {
  padding: 8px 16px;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  background: #1a1a2e;
  color: #fff;
  text-decoration: none;
  display: inline-block;
}

.card-nav-content {
  padding: 0 24px 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
}

.card-nav.open .card-nav-content {
  opacity: 1;
  transform: translateY(0);
}

.nav-card {
  padding: 20px;
  border-radius: 12px;
  background: rgba(26, 26, 46, 0.8);
  backdrop-filter: blur(10px);
  color: #fff;
}

.nav-card:nth-child(2) {
  background: rgba(22, 33, 62, 0.8);
}

.nav-card:nth-child(3) {
  background: rgba(15, 52, 96, 0.8);
}

.nav-card-label {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
}

.nav-card-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-card-link {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.3s ease;
}

.nav-card-link:hover {
  opacity: 0.7;
}

.main-content {
  padding-top: 0;
}

/* Image Slider Section */
.slider-section {
  height: 100vh;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: white;
}

/* About Section */
.about-section {
  background: #1a1a2e;
  color: white;
}

.about-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: white;
  animation: goldGlow 2s ease-in-out infinite alternate;
}

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

.about-text p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: white;
  animation: goldShimmer 3s ease-in-out infinite;
}

.about-text h4 {
  font-size: 1.4rem;
  margin: 30px 0 15px 0;
  color: white;
  text-align: center;
  animation: goldGlow 2s ease-in-out infinite alternate;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature {
  padding: 25px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border-left: 4px solid #ffd700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(255, 215, 0, 0.3);
}

.feature h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: white;
  animation: goldPulse 2s ease-in-out infinite;
}

.feature p {
  color: white;
  opacity: 0.9;
}

@keyframes goldGlow {
  0% { text-shadow: 0 0 5px rgba(255, 215, 0, 0.5); }
  100% { text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.6); }
}

@keyframes goldShimmer {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
}

@keyframes goldPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

/* Services Section */
.services-section {
  background: linear-gradient(rgba(248, 249, 250, 0.05), rgba(248, 249, 250, 0.05)), url('images/Slider Images/logistics.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
}

.services-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a2e;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  position: relative;
}

.magic-bento-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(65, 105, 225, 0.3);
  border-radius: 16px;
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  backdrop-filter: blur(5px);
}

.magic-bento-card--border-glow:hover {
  box-shadow: 0 0 20px rgba(65, 105, 225, 0.4);
}

.magic-bento-card:hover {
  transform: translateY(-5px);
  border-color: rgba(65, 105, 225, 0.5);
}

.magic-bento-card__header {
  margin-bottom: 16px;
}

.magic-bento-card__label {
  display: inline-block;
  background: rgba(65, 105, 225, 0.2);
  color: rgb(65, 105, 225);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.magic-bento-card__content {
  position: relative;
  z-index: 2;
}

.magic-bento-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: rgb(65, 105, 225);
}

.magic-bento-card__description {
  color: #555;
  line-height: 1.5;
  font-size: 14px;
}

/* Teams Section */
.teams-section {
  background: #1a1a2e;
  color: white;
}

.teams-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: white;
}

.teams-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.team-card-container {
  position: relative;
  height: 500px;
}

.team-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  backdrop-filter: blur(10px);
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
}

.team-card.active {
  opacity: 1;
  transform: translateX(0);
}

.team-navigation {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  font-size: 24px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.nav-btn:hover {
  background: rgba(255, 255, 255, 0.3);
}

.team-indicators {
  display: flex;
  gap: 8px;
}

.indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: white;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 0;
  background: #000000;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

@media (max-width: 768px) {
  .team-photo {
    width: 150px;
    height: 150px;
  }
}

@media (max-width: 480px) {
  .team-photo {
    width: 120px;
    height: 120px;
  }
}

.team-photo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center center;
  border-radius: 0;
}

.team-card h3 {
  font-size: 1.8rem;
  margin-bottom: 12px;
  color: white;
}

.team-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
}

.team-details {
  position: relative;
}

.lawyer-detail {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.lawyer-detail.active {
  display: block;
}

.lawyer-detail h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: white;
}

.lawyer-detail h4 {
  font-size: 1.2rem;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.lawyer-detail p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.9);
}

.specialties h5 {
  font-size: 1.1rem;
  margin-bottom: 15px;
  color: white;
}

.specialties ul {
  list-style: none;
  padding: 0;
}

.specialties li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.specialties li:last-child {
  border-bottom: none;
}

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

/* LinkedIn Section */
.linkedin-section {
  background: #f8f9fa;
}

.linkedin-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
  color: #1a1a2e;
}

.section-subtitle {
  text-align: center;
  font-size: 1.1rem;
  color: #666;
  margin-bottom: 50px;
}

.linkedin-embed {
  max-width: 800px;
  margin: 0 auto 40px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.linkedin-embed iframe {
  width: 100%;
  min-height: 500px;
  border: none;
}

.linkedin-cta {
  text-align: center;
}

.linkedin-button {
  display: inline-block;
  background: #0077b5;
  color: white;
  padding: 15px 30px;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: background-color 0.3s ease;
}

.linkedin-button:hover {
  background: #005885;
}

/* Contact Section */
.contact-section {
  background: #fff;
}

.contact-section h2 {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: #1a1a2e;
}

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

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

.contact-item h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #1a1a2e;
}

.contact-item p {
  color: #666;
  line-height: 1.6;
}

.contact-form {
  background: #f8f9fa;
  padding: 40px;
  border-radius: 12px;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #1a1a2e;
}

.contact-form button {
  background: #1a1a2e;
  color: white;
  border: none;
  padding: 15px;
  font-size: 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background: #2a2a3e;
}

/* Footer */
.footer {
  background: #1a1a2e;
  color: white;
  text-align: center;
  padding: 30px 0;
}

/* Service Popup */
.service-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.popup-content {
  background: white;
  padding: 40px;
  border-radius: 16px;
  max-width: 500px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #666;
}

.popup-content h3 {
  color: rgb(65, 105, 225);
  font-size: 1.8rem;
  margin-bottom: 20px;
}

.popup-content p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 25px;
}

.popup-contact {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 25px;
}

.popup-contact div {
  margin-bottom: 10px;
  color: #333;
}

.popup-cta {
  background: rgb(65, 105, 225);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}

.popup-cta:hover {
  background: rgb(55, 95, 215);
}

/* About Popup */
.about-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.about-popup .popup-content {
  background: #1a1a2e;
  color: #ffd700;
  padding: 40px;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border: 2px solid #ffd700;
}

.about-popup .popup-content h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 20px;
  animation: goldGlow 2s ease-in-out infinite alternate;
}

.about-popup .popup-content p {
  color: white;
  line-height: 1.6;
  margin-bottom: 25px;
  opacity: 0.9;
}

.about-popup .popup-cta {
  background: #ffd700;
  color: #1a1a2e;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  width: 100%;
}

.about-popup .popup-cta:hover {
  background: #ffed4e;
}

/* Mobile Responsive */
@media (max-width: 480px) {
  .container {
    padding: 0 15px;
    max-width: 100%;
    margin: 0 auto;
  }

  .top-logo {
    top: 10px;
    left: 15px;
  }

  .top-logo img {
    height: 50px;
  }

  .language-switch {
    top: 10px;
    right: 15px;
    padding: 4px 8px;
  }

  .switch-label {
    font-size: 10px;
  }

  .card-nav {
    width: calc(100% - 30px);
    left: 50%;
    transform: translateX(-50%);
    top: 70px;
    height: 50px;
  }

  .card-nav-top {
    padding: 12px 16px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo-text {
    font-size: 10px;
    text-align: center;
  }

  .card-nav.open {
    height: auto;
    min-height: 350px;
  }

  .slide-overlay {
    width: calc(100% - 30px);
    text-align: center;
    padding: 0 15px;
  }

  .slide-text {
    font-size: 1.2rem;
    line-height: 1.1;
    text-align: center;
    margin: 0 auto;
  }

  .slide-subtitle {
    font-size: 0.8rem;
    text-align: center;
    margin: 0 auto;
  }

  .slide-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
    display: block;
    margin: 20px auto 0;
  }

  #caseCounter {
    font-size: 1.5rem;
  }

  .section {
    padding: 30px 0;
  }

  .about-section h2,
  .services-section h2,
  .teams-section h2,
  .contact-section h2 {
    font-size: 1.4rem;
    margin-bottom: 30px;
    text-align: center;
  }

  .about-content {
    text-align: left;
  }

  .about-text {
    text-align: left;
  }

  .about-text p {
    font-size: 0.9rem;
    text-align: left;
  }

  .about-text h4 {
    text-align: center;
  }

  .feature {
    padding: 15px;
    text-align: left;
  }

  .feature h3 {
    font-size: 1.1rem;
  }

  .magic-bento-card {
    padding: 16px;
    text-align: left;
  }

  .magic-bento-card__title {
    font-size: 1.2rem;
  }

  .team-card-container {
    text-align: center;
  }

  .team-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
  }

  .team-card {
    padding: 15px;
    text-align: center;
  }

  .team-card h3 {
    font-size: 1.1rem;
    text-align: center;
  }

  .team-card p {
    font-size: 0.9rem;
    text-align: center;
  }

  .team-details {
    text-align: left;
  }

  .lawyer-detail h3 {
    font-size: 1.4rem;
    text-align: center;
  }

  .lawyer-detail h4 {
    font-size: 1rem;
    text-align: center;
  }

  .lawyer-detail p {
    font-size: 0.9rem;
    text-align: left;
  }

  .contact-content {
    text-align: left;
  }

  .contact-item {
    text-align: left;
  }

  .contact-form {
    padding: 15px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px;
    font-size: 0.9rem;
    width: 100%;
    box-sizing: border-box;
  }

  .popup-content {
    padding: 20px 15px;
    margin: 15px;
    text-align: left;
  }

  .linkedin-section {
    text-align: center;
  }

  .linkedin-cta {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
    max-width: 100%;
    margin: 0 auto;
  }

  .top-logo {
    top: 15px;
    left: 20px;
  }

  .top-logo img {
    height: 70px;
  }

  .language-switch {
    top: 15px;
    right: 20px;
    padding: 6px 10px;
  }

  .switch-label {
    font-size: 12px;
  }

  .card-nav {
    width: calc(100% - 40px);
    left: 50%;
    transform: translateX(-50%);
    top: 90px;
  }
  
  .card-nav-content {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .card-nav.open {
    height: auto;
    min-height: 380px;
  }

  .nav-card {
    padding: 16px;
    text-align: left;
  }

  .section {
    padding: 40px 0;
  }

  .about-content,
  .contact-content,
  .teams-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .card-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .slide-overlay {
    width: calc(100% - 40px);
    text-align: center;
  }

  .slide-text {
    font-size: 1.6rem;
    line-height: 1.2;
    text-align: center;
  }

  .slide-subtitle {
    font-size: 1rem;
    text-align: center;
  }

  .slide-cta {
    padding: 12px 24px;
    font-size: 1rem;
    display: block;
    margin: 20px auto 0;
  }

  #caseCounter {
    font-size: 1.8rem;
  }

  .about-section h2,
  .services-section h2,
  .teams-section h2,
  .contact-section h2 {
    font-size: 1.8rem;
    margin-bottom: 40px;
    text-align: center;
  }

  .about-content {
    text-align: left;
  }

  .about-text h4 {
    text-align: center;
  }

  .team-card-container {
    text-align: center;
  }

  .team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
  }

  .team-card {
    padding: 20px 15px;
    text-align: center;
  }

  .team-card h3 {
    font-size: 1.3rem;
    text-align: center;
  }

  .team-details {
    text-align: left;
  }

  .lawyer-detail h3,
  .lawyer-detail h4 {
    text-align: center;
  }

  .contact-form {
    padding: 20px 15px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    box-sizing: border-box;
  }

  .logo-text {
    font-size: 12px;
    text-align: center;
  }

  .popup-content {
    padding: 25px 20px;
    margin: 20px;
  }

  .linkedin-embed {
    margin: 0 0 40px;
  }

  .linkedin-section {
    text-align: center;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .slider-section {
    height: 100vh;
  }

  .slide-text {
    font-size: 1.4rem;
  }

  .slide-subtitle {
    font-size: 0.9rem;
  }

  .card-nav {
    top: 60px;
  }

  .top-logo img {
    height: 50px;
  }
}

/* Touch improvements */
@media (hover: none) and (pointer: coarse) {
  .nav-btn,
  .indicator,
  .dot,
  .magic-bento-card,
  .feature {
    min-height: 44px;
    min-width: 44px;
  }

  .card-nav-cta-button {
    padding: 12px 20px;
    min-height: 44px;
  }

  .slide-cta {
    min-height: 44px;
    padding: 12px 30px;
  }
}