/* ===================================================
   RodCards — Bright Premium Design System (Red Accent)
   =================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600&display=swap');

/* ─── CSS Custom Properties ─────────────────────── */
:root {
  --bg-page: #f0f4ff;
  --bg-card: #ffffff;
  --bg-card-hover: #f8f7ff;
  --accent-1: #0f172a;
  /* Deep black for text and accents */
  --accent-2: #8b5cf6;
  /* Vibrant violet */
  --accent-3: #c4b5fd;
  /* Soft violet */
  --gradient-hero: linear-gradient(135deg, #6d28d9 0%, #0ea5e9 100%);
  --gradient-btn: linear-gradient(135deg, #7c3aed, #4f46e5);
  --gradient-call: linear-gradient(135deg, #0ea5e9, #6d28d9);
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  --border: rgba(99, 102, 241, 0.13);
  --shadow-sm: 0 2px 12px rgba(109, 40, 217, 0.07);
  --shadow-md: 0 6px 28px rgba(109, 40, 217, 0.13);
  --shadow-lg: 0 16px 56px rgba(109, 40, 217, 0.16);
  --radius-card: 24px;
  --radius-pill: 999px;
  --transition: 0.26s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── Reset & Base ───────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', 'Inter', sans-serif;
  background-color: var(--bg-page);
  color: var(--text-primary);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ─── Promotion Banner ──────────────────────────── */
.promotion-banner {
  position: relative;
  z-index: 10;
  width: 100%;
  background: var(--gradient-hero);
  color: #fff;
  padding: 11px 20px;
  font-size: 13.5px;
  font-weight: 500;
  text-align: center;
  letter-spacing: 0.01em;
  animation: bannerSlideDown 0.5s ease both;
}

@keyframes bannerSlideDown {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.promotion-banner a {
  color: #fff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity var(--transition);
}

.promotion-banner a:hover {
  opacity: 0.80;
}

/* ─── Main Container ────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  background-color: var(--bg-card);
  background-image: url('../images/background.png');
  background-repeat: repeat;
  background-size: 300px;
  padding-bottom: 40px;
}

@media (min-width: 600px) {
  .container {
    max-width: 520px;
    margin: 28px auto;
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-lg), 0 0 0 1px var(--border);
    overflow: hidden;
  }
}

/* ─── Cover Photo ───────────────────────────────── */
.cover-photo {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: visible;
  cursor: pointer;
  flex-shrink: 0;
}

.cover-photo img:first-child {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Subtle bottom gradient */
.cover-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(255, 255, 255, 0.25) 100%);
  pointer-events: none;
}

/* ─── Profile Photo ─────────────────────────────── */
.profile-img {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  position: absolute;
  bottom: -44px;
  left: 22px;
  cursor: pointer;
  z-index: 5;
  border: 4px solid #fff;
  box-shadow: var(--shadow-md), 0 0 0 3px rgba(109, 40, 217, 0.18);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: profilePulse 3.5s ease-in-out infinite;
}

@keyframes profilePulse {

  0%,
  100% {
    box-shadow: var(--shadow-md), 0 0 0 3px rgba(109, 40, 217, 0.20);
  }

  50% {
    box-shadow: var(--shadow-md), 0 0 0 6px rgba(14, 165, 233, 0.18);
  }
}

.profile-img:hover {
  transform: scale(1.06);
  box-shadow: var(--shadow-lg), 0 0 0 4px rgba(109, 40, 217, 0.32);
}

/* ─── Call Now Button ───────────────────────────── */
.call-now {
  position: absolute;
  bottom: 14px;
  right: 16px;
  z-index: 10;
  background-color: #f43f5e;
  color: #fff;
  padding: 9px 20px;
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 18px rgba(244, 63, 94, 0.40);
  transition: transform var(--transition), box-shadow var(--transition);
}

.call-now:hover {
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 28px rgba(244, 63, 94, 0.55);
}

/* ─── Identity ───────────────────────────────────── */
.role {
  margin-top: 58px;
  padding: 0 22px;
  font-size: 23px;
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  animation: fadeInUp 0.45s 0.08s ease both;
}

.location.job-description {
  padding: 4px 22px 0;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-1);
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  animation: fadeInUp 0.45s 0.14s ease both;
}

.location {
  padding: 0 22px;
  font-size: 13px;
  font-style: normal;
  color: var(--text-secondary);
  margin-top: 2px;
  animation: fadeInUp 0.45s 0.18s ease both;
}

.bio {
  margin: 11px 22px 0;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  animation: fadeInUp 0.45s 0.22s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ─── Skill Tags ────────────────────────────────── */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 22px 0;
  animation: fadeInUp 0.45s 0.26s ease both;
}

.skill-tag {
  padding: 6px 16px;
  background: transparent;
  border: 1px solid rgba(109, 40, 217, 0.25);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-1);
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition);
}

.skill-tag:hover {
  background: #f5f3ff;
  border-color: rgba(109, 40, 217, 0.40);
  transform: translateY(-1px);
}

/* ─── Save Contact Button ───────────────────────── */
.save-contact-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 20px 22px 0;
  padding: 15px 28px;
  background-color: #c8102e;
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--radius-pill);
  text-decoration: none;
  letter-spacing: 0.03em;
  box-shadow: 0 6px 28px rgba(225, 29, 72, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
  animation: fadeInUp 0.45s 0.30s ease both;
  position: relative;
  overflow: hidden;
}

.save-contact-btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 50%;
  height: 200%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}

.save-contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(225, 29, 72, 0.50);
}

.save-contact-btn:hover::before {
  left: 160%;
}

/* ─── Section Divider ───────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 22px 10px;
}

.section-divider .divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
}

.section-divider .divider-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ─── Link Rows ─────────────────────────────────── */
.link-row {
  padding: 5px 14px;
}

.link-row a,
.link-row .share-btn {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 14.5px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  width: 100%;
  transition: background var(--transition), border-color var(--transition),
    transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.link-row a:hover,
.link-row .share-btn:hover {
  background: var(--bg-card-hover);
  border-color: rgba(109, 40, 217, 0.28);
  transform: translateX(4px);
  box-shadow: var(--shadow-sm);
}

/* Icon wrapper */
.link-icon-wrap {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-right: 14px;
  transition: background var(--transition);
}

.link-row a:hover .link-icon-wrap,
.link-row .share-btn:hover .link-icon-wrap {
  background: #ede9fe;
}

.link-row img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.link-row span {
  flex: 1;
  text-align: left;
}

/* Chevron */
.link-chevron {
  color: var(--text-muted);
  font-size: 20px;
  transition: transform var(--transition), color var(--transition);
  margin-left: 6px;
}

.link-row a:hover .link-chevron,
.link-row .share-btn:hover .link-chevron {
  transform: translateX(3px);
  color: var(--accent-1);
}

/* ─── Banking Section ───────────────────────────── */
.banking-section {
  margin: 4px 14px;
  background: #fafafa;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

#bankingBtn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 16px;
  background: none;
  border: none;
  color: var(--text-primary);
  font-family: 'Outfit', sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}

#bankingBtn:hover {
  background: #f3f0ff;
}

.banking-icon {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bank-chevron {
  font-size: 20px;
  color: var(--text-muted);
  transition: transform var(--transition);
}

.bank-chevron.open {
  transform: rotate(180deg);
}

.bank-details {
  display: none;
  padding: 4px 16px 16px;
  border-top: 1px solid var(--border);
  animation: slideDown 0.28s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bank-details.show {
  display: block;
}

.bank-detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(99, 102, 241, 0.06);
}

.bank-detail-row:last-child {
  border-bottom: none;
}

.bank-detail-label {
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.bank-detail-value {
  color: var(--text-primary);
  font-weight: 700;
  font-size: 14px;
}

.copy-btn {
  background: #f3f0ff;
  border: 1px solid rgba(109, 40, 217, 0.20);
  border-radius: 8px;
  color: var(--accent-1);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.04em;
  transition: background var(--transition);
  margin-left: 10px;
  flex-shrink: 0;
}

.copy-btn:hover {
  background: #ede9fe;
}

/* ─── Portfolio / Carousel ──────────────────────── */
.portfolio-section {
  padding: 0 14px;
  margin-top: 4px;
}

.portfolio-section h3 {
  display: none;
}

.carousel-container {
  position: relative;
  width: 100%;
}

.carousel {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
  cursor: pointer;
  box-shadow: var(--shadow-md);
}

.carousel-track {
  display: flex;
  position: absolute;
  top: 0;
  left: 0;
  width: 1000%;
  height: 100%;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-track img {
  width: 10%;
  height: 100%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f8fafc;
}

@media (min-width: 600px) {
  .carousel-track img {
    object-fit: contain;
  }
}

/* Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 12px;
}

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.20);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s;
}

.carousel-dot.active {
  width: 20px;
  border-radius: 3px;
  background: var(--accent-1);
}

/* Hover overlay */
.carousel::after {
  content: 'View Portfolio ↗';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  background: linear-gradient(to top, rgba(109, 40, 217, 0.65) 0%, transparent 100%);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.04em;
  opacity: 0;
  transition: opacity var(--transition);
}

.carousel:hover::after {
  opacity: 1;
}

/* ─── Branding Footer ───────────────────────────── */
.branding {
  margin: 24px 0 4px;
  text-align: center;
  padding: 20px 22px 22px;
  border-top: 1px solid var(--border);
}

.logo {
  width: 60px;
  height: auto;
  margin-bottom: 8px;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.08);
}

.brand-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.brand-desc {
  margin-top: 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.brand-desc a {
  color: var(--accent-1);
  text-decoration: none;
  font-weight: 600;
  transition: color var(--transition);
}

.brand-desc a:hover {
  color: #4f46e5;
}

.branding a {
  text-decoration: none;
}

/* ─── Modals — fixed to VIEWPORT ───────────────── */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
}

.modal[style*="flex"] {
  display: flex !important;
}

.modal-content {
  max-width: min(88vw, 520px);
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
  animation: modalScaleIn 0.32s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modalScaleIn {
  from {
    transform: scale(0.82);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.close-btn {
  position: fixed;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.20);
  backdrop-filter: blur(6px);
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  z-index: 10000;
  transition: background var(--transition);
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.35);
}

/* ─── Scroll Animations ─────────────────────────── */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.48s ease, transform 0.48s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Ripple ─────────────────────────────────────── */
.ripple {
  position: absolute;
  border-radius: 50%;
  width: 100px;
  height: 100px;
  background: rgba(109, 40, 217, 0.12);
  transform: scale(0);
  animation: rippleAnim 0.55s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ─── Toast ──────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: #0f172a;
  color: #f8fafc;
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 500;
  padding: 10px 22px;
  border-radius: var(--radius-pill);
  z-index: 99999;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease;
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
}

.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}