/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* BODY */
body {
  background: #f5f6fa;
  color: #222;
}

/* TOP BANNER */
.promotion-banner {
  background: #111;
  color: white;
  text-align: center;
  padding: 10px;
  font-size: 14px;
}

.promotion-banner a {
  color: #00ff99;
  text-decoration: none;
  font-weight: bold;
}

/* MAIN CARD (WITH TEXTURE) */
.container {
  max-width: 600px;
  margin: auto;

  background:
    radial-gradient(circle at 10% 10%, rgba(0, 200, 83, 0.08), transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(0, 153, 255, 0.08), transparent 40%),
    linear-gradient(135deg, #ffffff, #f7f9fc);

  border-radius: 0;

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

/* COVER */
.cover-photo {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #ddd, #eee);
}

/* PROFILE IMAGE */
.profile-img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  position: absolute;
  bottom: -45px;
  left: 20px;
  border: 3px solid white;
  object-fit: cover;
  background: white;
}

/* Company name */
.location.job-description {
  text-align: center;
  margin-top: 55px;
  margin-bottom: 2px;
  color: #222;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 0.5px;
}

/* City */
.location:not(.job-description) {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 15px;
  color: #555;
  font-size: 16px;
}

/* BIO */
.bio {
  text-align: center;
  margin-top: 10px;
  margin-bottom: 20px;
  color: #555;
  padding: 0 10px;
  font-size: 16px;
}

/* SAVE CONTACT BUTTON */
.save-contact-btn {
  display: block;
  text-align: center;
  margin: 10px auto;
  padding: 12px 18px;
  width: 60%;
  max-width: 200px;

  background: #3d42be;

  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-weight: bold;
  transition: 0.3s ease;
}

.save-contact-btn:hover {
  background: #2f3499;
  transform: translateY(-1px);
}

/* CALL NOW BUTTON */
.call-now {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: inline-block;
  padding: 10px 18px;

  background: #3d42be;

  color: white;
  text-decoration: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: bold;
  z-index: 10;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
}

.call-now:hover {
  background: #2f3499;
}

/* LINKS */
.link-row {
  display: flex;
  align-items: center;
  padding: 12px;
  border-bottom: 1px solid #eee;
}

.link-row a {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  color: #333;
  width: 100%;
}

.link-row img {
  width: 24px;
  height: 24px;
}

/* SHARE BUTTON */
.share-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  color: #333;
}

.share-btn img {
  width: 24px;
  height: 24px;
}

/* BANK SECTION */
.banking-section {
  text-align: center;
  margin: 20px;
}

#bankingBtn {
  padding: 10px 20px;
  background: #222;
  color: white;
  border: none;
  cursor: pointer;
  border-radius: 6px;
}

.bank-details {
  display: none;
  margin-top: 10px;
  background: #f1f1f1;
  padding: 10px;
  border-radius: 6px;
}

/* BRANDING */
.branding {
  text-align: center;
  padding: 20px;
}

.logo {
  width: 80px;
}

.brand-name {
  font-size: 18px;
  font-weight: bold;
  margin-top: 10px;
}

.brand-desc {
  margin-top: 40px;
  color: #666;
}

.brand-desc a {
  color: #00c853;
  text-decoration: none;
}

/* PORTFOLIO SECTION */

.portfolio-section {
  padding: 20px;
}

.portfolio-section h3 {
  text-align: center;
  margin-bottom: 12px;
  font-size: 20px;
}

.portfolio-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.portfolio-image {
  position: absolute;
  width: 100%;
  top: 0;
  left: 100%;
  opacity: 0;

  animation: portfolioSlide 25s infinite;
}

.portfolio-image img {
  width: 100%;
  border-radius: 12px;
  display: block;
  object-fit: contain;

  transition: 0.3s;
}

.portfolio-image img:hover {
  transform: scale(1.02);
}

.portfolio-image:nth-child(1) {
  position: relative;
  animation-delay: 0s;
}

.portfolio-image:nth-child(2) {
  animation-delay: 5s;
}

.portfolio-image:nth-child(3) {
  animation-delay: 10s;
}

.portfolio-image:nth-child(4) {
  animation-delay: 15s;
}

.portfolio-image:nth-child(5) {
  animation-delay: 20s;
}

@keyframes portfolioSlide {
  0% {
    left: 100%;
    opacity: 0;
  }

  8% {
    left: 0;
    opacity: 1;
  }

  28% {
    left: 0;
    opacity: 1;
  }

  36% {
    left: -100%;
    opacity: 0;
  }

  100% {
    left: -100%;
    opacity: 0;
  }
}

/* MODAL */

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 90%;
  max-height: 90%;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  color: white;
  cursor: pointer;
}

/* MOBILE */

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

  .profile-img {
    width: 100px;
    height: 100px;
    bottom: -40px;
  }

  .location.job-description {
    margin-top: 45px;
  }

  .location:not(.job-description) {
    margin-top: 0;
    font-size: 22px;
  }

  .bio {
    font-size: 14px;
  }

  .save-contact-btn {
    width: 85%;
  }
}