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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI",
    sans-serif;
  background: linear-gradient(
    135deg,
    #1a2e1a 0%,
    #16213e 50%,
    #0f3460 100%
  );
  min-height: 100vh;
  padding: 20px;
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container {
  max-width: 1000px;
  width: 100%;
}

.business-card {
  border-radius: 24px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 600px;
  transform: translateY(20px);
  opacity: 0;
  animation: slideUp 0.8s ease-out 0.2s forwards;
}

@keyframes slideUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Left Side - Profile */
.profile-side {
  background: linear-gradient(135deg, #1e3d32 0%, #2d5a27 100%);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px 32px;
}

.profile-side::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
      circle at 30% 40%,
      rgba(255, 255, 255, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 70% 80%,
      rgba(144, 238, 144, 0.15) 0%,
      transparent 50%
    );
  animation: float 8s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) rotate(1deg);
  }
  66% {
    transform: translate(-20px, 20px) rotate(-1deg);
  }
}

.profile-content {
  position: relative;
  z-index: 2;
}

.profile-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 32px;
  display: block;
  transition: all 0.3s ease;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  object-fit: cover;
}

.profile-image:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}

.name {
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.title {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 8px;
}

.company {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
  margin-bottom: 32px;
}

.company-logo {
  margin-top: auto;
}

.company-logo a {
  display: inline-block;
  transition: all 0.3s ease;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  z-index: 10;
}

.company-logo a:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
}

.company-logo img {
  width: 15rem;
  transition: all 0.3s ease;
}

/* Right Side - Contact */
.contact-side {
  background: white;
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-header {
  margin-bottom: 40px;
}

.contact-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d5a27;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 16px;
  color: #5a6c57;
  font-weight: 500;
}

/* Contact Info */
.contact-info {
  margin-top: 32px;
  text-align: center;
  padding: 24px;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 39, 0.05),
    rgba(106, 153, 78, 0.05)
  );
  border-radius: 18px;
  border: 1px solid rgba(45, 90, 39, 0.1);
}

.location {
  font-size: 16px;
  color: #2d5a27;
  font-weight: 500;
  margin-top: 12px;
}

/* Contact Items */
.contact-list {
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  margin-bottom: 16px;
  border-radius: 18px;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 39, 0.05),
    rgba(106, 153, 78, 0.05)
  );
  border: 1px solid rgba(45, 90, 39, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(45, 90, 39, 0.08),
    rgba(106, 153, 78, 0.08)
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.contact-item:hover::before {
  opacity: 1;
}

.contact-item:hover {
  transform: translateX(8px);
  box-shadow: 0 12px 28px rgba(45, 90, 39, 0.15);
  border-color: rgba(45, 90, 39, 0.2);
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #4a7c59, #2d5a27);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(45, 90, 39, 0.3);
  position: relative;
  z-index: 1;
}

.contact-icon img, .save-button img {
  width: 24px;
  height: 24px;
}

.contact-details {
  flex: 1;
  position: relative;
  z-index: 1;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: #5a6c57;
  margin-bottom: 4px;
  text-transform: capitalize;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 16px;
  color: #2d3e2b;
  font-weight: 500;
}

/* Save Button */
.save-button {
  width: 100%;
  background: linear-gradient(135deg, #4a7c59 0%, #2d5a27 100%);
  color: white;
  border: none;
  border-radius: 18px;
  padding: 24px 32px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  box-shadow: 0 15px 35px rgba(45, 90, 39, 0.3);
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.save-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.save-button:hover::before {
  left: 100%;
}

.save-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(45, 90, 39, 0.4);
}

.save-button:active {
  transform: translateY(-2px);
}

.btn-icon {
  display: inline-block;
  margin-right: 12px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  body {
    padding: 0;
    min-height: 100vh;
  }

  .container {
    max-width: 100%;
    margin: 0;
  }

  .business-card {
    grid-template-columns: 1fr;
    max-width: 100%;
    min-height: 100vh;
    border-radius: 0;
    margin: 0;
    box-shadow: none;
  }

  .profile-side {
    padding: 24px 20px;
    border-radius: 0;
  }

  .contact-side {
    padding: 24px 20px;
    border-radius: 0;
    position: relative;
    justify-content: flex-start;
    min-height: auto;
  }

  .name {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .title {
    font-size: 18px;
    margin-bottom: 6px;
  }

  .company {
    font-size: 16px;
    margin-bottom: 20px;
  }

  .contact-title {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .contact-subtitle {
    font-size: 14px;
  }

  .contact-header {
    margin-bottom: 24px;
  }

  .contact-list {
    margin-bottom: 20px;
  }

  .company-logo img {
    width: 10rem;
  }

  .company-logo {
    display: none;
  }

  .save-button {
    margin-top: 20px;
    padding: 20px 24px;
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .business-card {
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }

  .profile-side {
    padding: 20px 16px;
    border-radius: 0;
  }

  .contact-side {
    padding: 20px 16px;
    border-radius: 0;
    position: relative;
    justify-content: flex-start;
    min-height: auto;
  }

  .contact-item {
    padding: 14px 16px;
    margin-bottom: 12px;
    border-radius: 12px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .contact-icon svg {
    width: 18px;
    height: 18px;
  }

  .name {
    font-size: 20px;
  }

  .title {
    font-size: 16px;
  }

  .company {
    font-size: 14px;
  }

  .contact-title {
    font-size: 20px;
  }

  .contact-subtitle {
    font-size: 13px;
  }

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

  .contact-value {
    font-size: 14px;
  }

  .save-button {
    padding: 18px 24px;
    font-size: 16px;
    border-radius: 12px;
    margin-top: 16px;
  }

  .company-logo img {
    width: 8rem;
  }

  .contact-info {
    margin-top: 20px;
    padding: 16px;
  }

  .location {
    font-size: 14px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .business-card {
    border-radius: 0;
    min-height: 100vh;
  }

  .profile-side,
  .contact-side {
    padding: 16px 12px;
    border-radius: 0;
  }

  .contact-item {
    border-radius: 8px;
    padding: 12px 14px;
  }

  .contact-icon {
    border-radius: 8px;
    width: 40px;
    height: 40px;
  }

  .contact-icon svg {
    width: 16px;
    height: 16px;
  }

  .save-button {
    border-radius: 8px;
    padding: 16px 20px;
    font-size: 15px;
  }

  .company-logo img {
    width: 6rem;
  }

  .name {
    font-size: 18px;
  }

  .title {
    font-size: 14px;
  }

  .company {
    font-size: 12px;
  }

  .contact-title {
    font-size: 18px;
  }

  .contact-subtitle {
    font-size: 12px;
  }

  .contact-info {
    padding: 12px;
    margin-top: 16px;
  }

  .location {
    font-size: 12px;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
