:root {
  --accent: #004cb9;
  --bg: #efefef;
  --container-padding: 15px;
  --max-container-width: 676px;
  --bottom-nav-height: 65px;
  --fab-size: 65px;
  --fab-radius: calc(var(--fab-size) / 2);
  --fab-shadow-color: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  background: var(--bg);
  font-family: 'Segoe UI', Poppins, Tahoma, Geneva, Verdana, sans-serif;
  height: auto;
  scroll-behavior: smooth;
  overflow-x: hidden;
  overflow-y: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

/* Top Header */
.top-header-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: white;
  box-shadow: 0px 10px 10px 0px rgba(0,0,0,.06666666666666667);
}

/* Inner layout */
.top-header {
  max-width: var(--max-container-width);
  margin: 0 auto;
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.top-header i {
    font-size: 22px;
    color: var(--accent);
    transition: color 0.3s ease;
}

.top-header i:hover {
  color: var(--accent); /* subtle brand color on hover */
}

.top-header .icon-link {
  text-decoration: none;
  display: flex;
  align-items: center;
  position: relative;
}

.top-header .icon-link span {
  visibility: hidden;
  opacity: 0;
  background: #333;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  position: absolute;
  top: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  white-space: nowrap;
  transition: opacity 0.2s ease, visibility 0.2s ease;
}

.top-header .icon-link:hover span {
  visibility: visible;
  opacity: 1;
}

.top-header {
  transition: all 0.3s ease;
}

.top-logo-link {
display: inline-block;
}

.top-logo {
  height: 28px; /* or 20px */
  object-fit: contain;
}

.top-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

/* Page wrapper */
.page-wrapper {
  max-width: var(--max-container-width);
  margin: 0 auto;
  padding: var(--container-padding) 0; /* Added top padding */
  position: relative;
  padding-top: 75px;
}

/* Apply horizontal padding only for small screens */
@media (max-width: 768px) {
  .page-wrapper {
    padding-left: 12px;
    padding-right: 12px;
  }
}

@media (min-width: 768px) {
  .bottom-nav-wrapper{
    padding: 0px;
  }
  .top-header{
    padding: 0px;
  }
}

.hero-section {
  height: 160px;
  width: 100%;
  max-width: var(--max-container-width);
  margin: 0 auto;
  position: relative;
  border-radius: 12px;
  z-index: 1;
  overflow: hidden;
  background-color: #f4f4f4; /* fallback */  
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;

  -webkit-mask-image: radial-gradient(circle 75px at center bottom, transparent 0, transparent 75px, black 76px);
  mask-image: radial-gradient(circle 75px at center bottom, transparent 0, transparent 75px, black 76px);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center bottom;
  mask-position: center bottom;
}

.profile-photo,
.alternate-photo {
  position: absolute;
  top: 165px;
  left: 50%;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  border: 2px solid #b5b5b5;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 10;
  pointer-events: none;
  overflow: hidden; /* clip image to circle */  
  background-color: #f4f4f4; /* fallback */  
}

.profile-photo.visible,
.alternate-photo.visible {
  opacity: 1;
  pointer-events: auto; /* if you want it clickable */
}

/* Make images fill their parent circle */
.profile-photo img,
.alternate-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%; /* match container circle */
  display: block;
}

/* Greeting Section */
.greeting-next {
  padding: 3.5rem 1rem 1rem;
  background: linear-gradient(to bottom, #f9fafb, #ffffff);
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.05);
  margin: 20px auto;
  font-family: 'Inter', sans-serif;
  animation: riseIn 0.6s ease forwards;
  transform: translateY(30px);
  opacity: 0;
}

/* Content Wrapper */
.greeting-wrapper {
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

/* Main Headline */
.headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1rem;
  line-height: 1.4;
  letter-spacing: -0.5px;
}

.name-highlight {
    -webkit-text-fill-color: var(--accent);
    font-weight: 800;
}

/* Roles - Modern Tag Style */
.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 1rem;
}

.tag {
  background-color: #e5e6ff;
  color: #004cb9;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

.tag-alt {
  background-color: #fef3c7;
  color: #92400e;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.45rem 1rem;
  border-radius: 999px;
}

/* Entry Animation */
@keyframes riseIn {
  from {
    transform: translateY(24px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.faq-pro {
    padding: 1.5rem 1.25rem;
    background: #ddece9;
    font-family: 'Inter', sans-serif;
    color: #0f172a;
    border-radius: 1rem;
    margin-top: 1rem;
}

.faq-title {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

/* Accordion Styles */
.faq-pro-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.faq-pro-item {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}

.faq-pro-item:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

.faq-pro-question {
  width: 100%;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  padding: 1.25rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
  text-align: left;
  font-family: 'Segoe UI', Poppins, Tahoma, Geneva, Verdana, sans-serif;
}

.faq-pro-question:hover {
  color: var(--accent);
}

.faq-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
  color: #64748b;
}

.faq-pro-item.active .faq-icon {
  transform: rotate(180deg);
  color: #0ea5e9;
}

.faq-pro-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  font-size: 0.95rem;
  color: #475569;
  padding: 0 1.5rem;
}

.faq-pro-item.active .faq-pro-answer {
  max-height: 300px;
  padding-bottom: 1.25rem;
  font-weight: 500;
}


/* Message or notification inside fab */
.notification-card {
  display: flex;
  align-items: center;
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  background: #fff;
  border-radius: 12px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04), 0 12px 28px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 1rem auto;
  animation: popUp 0.6s ease forwards;
  opacity: 0;
  transform: translateY(20px);
}

.notification-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Icon container */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
  }
}

.notification-icon {
  flex-shrink: 0;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: #ff0000;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 1.6rem;
  transition: transform 0.3s ease;
  
  /* Live pulse effect */
  animation: pulse 1.5s infinite;
}

.notification-icon i {
  color: #fff;
  font-size: 22px;
}

/* Text content */
.notification-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.notification-title {
  font-size: 18px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 4px;
  letter-spacing: -0.25px;
}

.notification-card:hover .notification-title {
  color: #ff0000;
}
.notification-subtitle {
  font-size: 15px;
  font-weight: 500;
  color: #4b5563;
  line-height: 1.5;
}

/* Entry animation */
@keyframes popUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  font-family: 'Inter', sans-serif;
  padding-bottom: 20px;
}

/* Service Card */
.service-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border: 2px solid transparent;
  background-clip: padding-box;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
  cursor: pointer;
  align-items: center;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, #6366f1, #ec4899);
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
  pointer-events: none;
  opacity: 0;
}


.service-card:hover::after {
  opacity: 1;
}

.service-card:hover .service-title {
  color: var(--accent);
}

/* Hover Glow Line */
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.2), transparent);
  transition: all 0.4s ease;
}

.service-card:hover::before {
  left: 100%;
  transition: left 0.8s ease-in-out;
}

/* Icon */
.service-icon {
    background: var(--accent);
    color: #fff;
    font-size: 22px;
    padding: 14px;
    border-radius: 7%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 52px;
    min-height: 80px;
    box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
    transition: transform 0.3s ease;
}

.box-1 .service-icon { background: linear-gradient(135deg, #bc00d7, #c72cdd); }  /* Amber */
.box-2 .service-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }  /* Sky */
.box-3 .service-icon { background: linear-gradient(135deg, #10b981, #22c55e); }  /* Emerald */
.box-4 .service-icon { background: linear-gradient(135deg, #ec4899, #f472b6); }  /* Rose */
.box-5 .service-icon { background: linear-gradient(135deg, #73d700, #7fdd2c); }  /* Amber */
.box-6 .service-icon { background: linear-gradient(135deg, #d48506, #e9c80e); }  /* Sky */

.service-card:hover .service-icon {
  transform: rotate(3deg) scale(1.1);
}

/* Content */
.service-content {
  display: flex;
  flex-direction: column;
}

/* Title */
.service-title {
  font-size: 17px;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 5px;
}

/* Description */
.service-description {
  font-size: 15px;
  color: #6b7280;
  line-height: 1.6;
}

/* Animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/*project grid */
.featured-projects {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 1rem 0rem;
    font-family: 'Inter', sans-serif;
}

.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  background: #fff;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.project-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  color: #fff;
  transition: background 0.4s ease;
}

.project-card:hover .project-overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85), transparent);
}

.project-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.project-tag {
  position: absolute;
  top: 15px;
  left: 12px;
  background: #fff000;
  color: #000000;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  border-radius: 4px;
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
  text-transform: uppercase;
}
  
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h2 {
  text-align: left;
  font-size: 20px;
  margin-bottom: 20px;
  color: #222;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards;
  animation-delay: 0.1s;
  border-left: solid 3px var(--accent);
  padding-left: 10px;
  text-transform: uppercase;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 15px;
  font-family: 'Inter', sans-serif;
  padding-bottom: 1rem;
}

/* Feature Card */
.feature-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: linear-gradient(135deg, #ffffff, #f9fafb);
  padding: 1.75rem 1rem;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  transition: all 0.4s ease;
  transform: translateY(16px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
  position: relative;
  overflow: hidden;
}

/* Hover Effects */
.feature-box:hover {
  transform: translateY(0px) scale(1.02);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  background: linear-gradient(135deg, #f3f4f6, #ffffff);
}

/* Icon Container */
.feature-icon {
  font-size: 22px;
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  color: #fff;
  padding: 14px;
  border-radius: 7px;
  min-width: 52px;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature-box:hover .feature-icon {
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.4);
  transform: scale(1.05);
}

/* Text Wrapper */
.feature-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Title */
.feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #111827;
  margin: 0 0 4px;
  transition: color 0.3s ease;
}

.feature-box:hover .feature-title {
  color: var(--accent);
}

/* Subtitle */
.feature-subtitle {
  font-size: 14px;
  color: #212328;
  margin: 0;
  line-height: 1.5;
  transition: color 0.3s ease;
}

.feature-box:hover .feature-subtitle {
  color: #4b5563;
}

/* Optional: Card entrance animation */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Optional: Background variants */
.box-1 { background: #fdf2f8; }
.box-2 { background: #eff6ff; }
.box-3 { background: #f0fdf4; }
.box-4 { background: #fff7ed; }
.box-5 { background: #fdf2fc; }
.box-6 { background: #f8fdf0; }


.box-1 .feature-icon { background: linear-gradient(135deg, #bc00d7, #c72cdd); }  /* Amber */
.box-2 .feature-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }  /* Sky */
.box-3 .feature-icon { background: linear-gradient(135deg, #10b981, #22c55e); }  /* Emerald */
.box-4 .feature-icon { background: linear-gradient(135deg, #ec4899, #f472b6); }  /* Rose */
.box-5 .feature-icon { background: linear-gradient(135deg, #bc00d7, #c72cdd); }  /* Amber */
.box-6 .feature-icon { background: linear-gradient(135deg, #06b6d4, #0ea5e9); }  /* Sky */

/* Professional Timeline Redesign */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 48px;
  margin: 0 auto;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  position: relative;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: var(--delay);
}

.timeline-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 120px;
  position: relative;
  z-index: 2;
}

.timeline-date {
    font-size: 13px;
    font-weight: 700;
    background-color: var(--accent);
    color: white;
    padding: 4px 6px;
    border-radius: 3px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.timeline-line {
  flex-grow: 1;
  width: 4px;
  background: linear-gradient(to bottom, var(--accent), transparent);
  height: 100%;
  position: relative;
  margin-left: -2px;
}

.timeline-line::before {
    content: "";
    position: absolute;
    top: 16px;
    left: -8px;
    width: 15px;
    height: 15px;
    background: linear-gradient(135deg, var(--accent), #b6b9ff);
    border: 3px solid white;
    border-radius: 50%;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.timeline-card {
  background: #ffffff;
  padding: 24px 32px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-left: 5px solid #0077ff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex: 1;
}

.timeline-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.timeline-title {
  font-size: 18px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 6px;
}

.timeline-subtitle {
  font-size: 15px;
  color: #4b5563;
  line-height: 1.6;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Ultra-Clean Modern Timeline Card */
.timeline-card-pro {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 15px;
  padding: 18px 18px;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffffff 60%, #f9fafb 100%);
  border: 1px solid #e2e8f0;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.04),
    0 12px 28px rgba(0, 0, 0, 0.03);
  transition: all 0.4s ease;
  overflow: hidden;
  cursor: pointer;
  transform: translateY(24px);
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
}

/* Hover Glow Line */
.timeline-card-pro::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(147, 197, 253, 0.2), transparent);
  transition: all 0.4s ease;
}

.timeline-card-pro:hover::before {
  left: 100%;
  transition: left 0.8s ease-in-out;
}

.timeline-card-pro:hover .card-title-pro {
  color: var(--accent);
}

/* Icon Container */
.card-icon-pro {
  width: 58px;
  height: 58px;
  min-width: 58px;
  border-radius: 15%;
  background: #f0f9ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: var(--accent);
  box-shadow:
    0 0 0 4px #e0f2fe,
    inset 0 0 6px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.timeline-card-pro:hover .card-icon-pro {
  background: #bae6fd;
  color: var(--accent);
}

/* Text Styling */
.card-details-pro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.card-title-pro {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  margin-bottom: 6px;
  letter-spacing: -0.3px;
  text-wrap: balance;
}

.card-subtitle-pro {
  font-size: 15px;
  font-weight: 500;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}        

.social-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  padding: 20px 12px;
  margin: 12px 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  min-height: 72px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: var(--delay);
  cursor: pointer;
  width: 100%;
}

.social-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.social-card:hover i,
.social-card:hover .card-title,
.social-card:hover .card-subtitle {
  color: var(--accent);
}

.social-card i {
  font-size: 28px;
  color: var(--accent);
  margin-right: 16px;
  width: 40px;
  text-align: center;
}

.social-card .card-left {
  display: flex;
  align-items: center;
  flex: 1;
}

.social-card .card-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.social-card .card-title {
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.social-card .card-subtitle {
  font-size: 14px;
  color: #666;
  margin-top: 2px;
}

.social-card .card-arrow {
  font-size: 18px;
  color: #aaa;
  margin-left: 12px;
}
    
.bottom-nav-wrapper {
  position: fixed;
  bottom: 0;
  width: 100%;
  z-index: 1000;
  background: white;

  -webkit-mask-image: radial-gradient(circle 38px at center top, transparent 0, transparent 38px, black 39px, black 100%);
  mask-image: radial-gradient(circle 38px at center top, transparent 0, transparent 38px, black 39px, black 100%);

  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center top;
  mask-position: center top;

  isolation: isolate;
  border-top: 1px solid #e5e5e5;
}

.bottom-nav-wrapper::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: transparent;
  box-shadow: 0px -10px 10px 10px rgba(0, 0, 0, 0.06666666666666667);
  pointer-events: none;
  z-index: -1;
}

.bottom-nav {
  max-width: var(--max-container-width);
  margin: 0 auto;
  height: var(--bottom-nav-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--container-padding);
}

.nav-item {
  text-align: center;
  font-size: 12px;
  color: #444;
  user-select: none;
  cursor: pointer;
  transition: color 0.3s ease;
  font-weight: 500;
}

.nav-item:hover {
  color: var(--accent);
}

.nav-item i {
  font-size: 16px;
  margin-bottom: 4px;
  display: block;
}
.active {
  color: var(--accent);
  font-weight: 600;
}

.fab-button.animate {
  animation: fadeInFab 0.5s ease forwards;
}

.fab-button {
  z-index: 1100; /* higher than .bottom-nav-wrapper */
}

.fab-button {
  position: fixed;
  bottom: calc(var(--bottom-nav-height) - var(--fab-radius));
  left: 50%;
  transform: translateX(-50%);
  width: var(--fab-size);
  height: var(--fab-size);
  background: #0061EC;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 6px 16px rgba(0, 102, 255, 0.25);
  cursor: pointer;
  user-select: none;
  transition: background 0.35s ease-in-out, box-shadow 0.35s ease-in-out, transform 0.35s ease-in-out;
}

.fab-button:hover {
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(0, 102, 255, 0.35);
  transform: translateX(-50%) scale(1.05);
}

.fab-button:active {
  transform: translateX(-50%) scale(0.96);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.alert-badge {
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
border-radius: 50%;
font-weight: bold;
position: absolute;
top: 0px;
right: 6px;
background: red;
color: white;
font-size: 13px;
padding: 0px 6px;
font-family: math;
}
.tab-content {
  display: none;
  padding-bottom: 100px;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
  position: relative;
}
.tab-content {
  overflow-y: auto; /* Only if content inside is long */
  max-height: unset; /* Or set an appropriate value */
}
.tab-content.show {
  opacity: 1;
  transform: translateY(0);
}
.active-tab {
  display: block;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  color: var(--accent);
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fadeInFab {
  to {
    opacity: 1;
    transform: translateX(-50%);
  }
}