/* ==========================================================================
   Saksham Thapar Digital Smart Card - Premium Styling System
   ========================================================================== */

/* 1. DESIGN VARIABLES & CONFIGURATION */
:root {
  /* Premium Luxury Palette */
  --bg-matte-black: #0B0B0C;
  --bg-matte-black-card: #141416;
  --color-gold: #D4AF37;
  --color-gold-light: #FDF0CD;
  --color-gold-dark: #AA771C;
  --color-red: #C41E3A;
  --color-tech-blue: #00A3FF;
  --color-tech-blue-dark: #0072FF;
  
  /* Text colors */
  --text-white: #FFFFFF;
  --text-muted: #A0A0A5;
  --text-dark: #1E1E21;

  /* Premium Gradients */
  --gold-gradient: linear-gradient(135deg, #C5A059 0%, #FDF0CD 30%, #D4AF37 50%, #F3E5AB 70%, #AA771C 100%);
  --gold-gradient-text: linear-gradient(90deg, #D4AF37, #FDF0CD, #AA771C, #D4AF37);
  --blue-gradient: linear-gradient(135deg, #00C6FF 0%, #0072FF 100%);
  --dark-gradient: linear-gradient(180deg, #1C1C1E 0%, #0B0B0C 100%);
  
  /* Glassmorphism properties */
  --glass-bg: rgba(20, 20, 22, 0.75);
  --glass-border: rgba(212, 175, 55, 0.12);
  --glass-border-active: rgba(212, 175, 55, 0.35);
  --glass-border-blue: rgba(0, 163, 255, 0.15);
  --glass-border-blue-active: rgba(0, 163, 255, 0.4);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
  
  /* Shadows & Depth */
  --shadow-lux: 0 15px 35px rgba(0, 0, 0, 0.7);
  --shadow-gold-glow: 0 0 20px rgba(212, 175, 55, 0.2);
  --shadow-blue-glow: 0 0 25px rgba(0, 163, 255, 0.25);
  
  /* Layout constraints */
  --app-width: 440px;
  --app-height: 880px;
}

/* 2. GLOBAL RESET & BASE TYPOGRAPHY */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background-color: #050506;
  color: var(--text-white);
  font-family: 'Outfit', sans-serif;
  font-weight: 400;
  line-height: 1.5;
  height: 100%;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.3);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold-dark);
  border-radius: 10px;
}

/* 3. DESKTOP FRAME CONTROLLER (Apple/Stripe Inspired Simulator) */
.device-frame {
  position: relative;
  width: 100%;
  height: 100%;
  background-color: var(--bg-matte-black);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.device-notch,
.device-status-bar {
  display: none; /* Hidden on mobile by default */
}

/* Desktop Simulation (Screens larger than 480px width) */
@media screen and (min-width: 481px) {
  .device-frame {
    width: var(--app-width);
    height: var(--app-height);
    border-radius: 44px;
    border: 10px solid #232326;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 
                0 0 0 3px rgba(212, 175, 55, 0.2),
                inset 0 0 20px rgba(255, 255, 255, 0.05);
    background-clip: padding-box;
  }
  
  /* Premium Simulator Status Bar */
  .device-status-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 28px 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(11, 11, 12, 0.95);
    border-top-left-radius: 34px;
    border-top-right-radius: 34px;
    z-index: 100;
    user-select: none;
  }

  .status-icons {
    display: flex;
    gap: 8px;
    align-items: center;
  }
  
  .device-notch {
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 28px;
    background-color: #232326;
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 101;
  }
}

/* 4. MAIN APP CONTAINER */
.app-screen {
  flex: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-matte-black);
}

.scroll-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 85px 20px 100px; /* offset for header & float buttons */
}

/* 5. LUXURY PRELOADER */
#preloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #080809;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              visibility 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  text-align: center;
  width: 80%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-logo-wrapper {
  width: 130px;
  height: 130px;
  margin-bottom: 24px;
  filter: drop-shadow(0 4px 15px rgba(212, 175, 55, 0.3));
}

.preloader-logo-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.preloader-bar {
  width: 150px;
  height: 2px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-bottom: 20px;
  overflow: hidden;
  position: relative;
}

.preloader-bar-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background: var(--gold-gradient);
  animation: load 2.5s cubic-bezier(0.785, 0.135, 0.15, 0.86) forwards;
}

.preloader-title {
  font-family: 'Cinzel', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--text-white);
  margin-bottom: 8px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  opacity: 0;
  transform: translateY(10px);
  animation: slideUpFade 0.6s 0.5s ease-out forwards;
}

.preloader-subtitle {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(10px);
  animation: slideUpFade 0.6s 0.7s ease-out forwards;
}

/* 6. STICKY APP HEADER */
.app-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 65px;
  background-color: rgba(11, 11, 12, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
  z-index: 99;
}

/* Adjust top padding if status bar is active */
@media screen and (min-width: 481px) {
  .app-header {
    top: 38px; /* sits below simulator status bar */
  }
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-st-icon {
  width: 26px;
  height: 26px;
}

.header-logo span {
  font-family: 'Cinzel', serif;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 2px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.header-share-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header-share-btn:hover {
  background: var(--gold-gradient);
  color: var(--text-dark);
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

/* 7. HERO SECTION (3D Visiting Card) */
.section-hero {
  padding: 15px 0 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  perspective: 1000px; /* Creates 3D space */
}

/* Container defining card proportions & touch tracking bounds */
.card-3d-wrapper {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 1.58 / 1; /* Match standard business card aspect ratio */
  position: relative;
  cursor: pointer;
  margin-bottom: 25px;
}

/* The actual 3D transforming element */
.card-3d {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out; /* snap transitions for mouse exit */
}

.card-face {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 16px;
  overflow: hidden;
}

/* Front Face Styling - Recreates Physical visiting card exactly */
.card-front {
  background-color: #0F0F10;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: var(--shadow-lux);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Mesh panel decoration (gold chevron base) */
.card-gold-chevron {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gold-gradient);
  clip-path: polygon(0 0, 18.5% 0, 32.5% 50%, 18.5% 100%, 0 100%);
  z-index: 1;
}

/* Carbon-mesh texture on left of chevron */
.card-mesh-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(0,0,0,0.92) 0%, rgba(0,0,0,0.6) 100%),
              radial-gradient(rgba(255, 255, 255, 0.08) 15%, transparent 16%),
              radial-gradient(rgba(255, 255, 255, 0.08) 15%, transparent 16%);
  background-size: 6px 6px;
  background-position: 0 0, 3px 3px;
  clip-path: polygon(0 0, 17.5% 0, 31.5% 50%, 17.5% 100%, 0 100%);
  z-index: 2;
}

/* Diagonal separation gold lines */
.card-decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Column of gold diamonds on the far right */
.diamond-column {
  position: absolute;
  top: 0;
  right: 15px;
  bottom: 0;
  width: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.diamond {
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--color-gold);
  transform: rotate(45deg);
  position: relative;
  margin: -4px 0; /* Creates overlapping interlocked effect */
  box-shadow: 0 0 4px rgba(212, 175, 55, 0.2);
}

.diamond.gold-red::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  right: 3px;
  bottom: 3px;
  background-color: var(--color-red);
}

/* Hero card inner contents */
.card-content {
  position: absolute;
  top: 0;
  left: 33%;
  right: 35px;
  bottom: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
}

.card-logo-container {
  width: 54px;
  height: auto;
  aspect-ratio: 305 / 347;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.5));
}

.card-st-logo {
  width: 100%;
  height: 100%;
}

.card-name {
  font-family: 'Cinzel', serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
  text-align: center;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 2px;
}

/* Horizontal Gold/Red Name Separator Line with Centered Dot */
.card-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 75%;
  margin: 6px 0 10px;
}

.divider-line {
  height: 1px;
  flex-grow: 1;
}

.divider-line.gold {
  background: linear-gradient(90deg, transparent, var(--color-gold));
}

.divider-line.red {
  background: linear-gradient(90deg, var(--color-red), transparent);
}

.divider-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-gold);
  box-shadow: 0 0 4px var(--color-gold);
}

.card-roles {
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: var(--text-white);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 6px;
}

.role-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color-red);
}

/* Taglines styling */
.hero-tagline-container {
  text-align: center;
  margin-bottom: 25px;
}

.hero-tagline-primary {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-white);
  line-height: 1.2;
}

.hero-tagline-secondary {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.2;
}

/* Action button configurations */
.hero-actions-container {
  display: flex;
  gap: 12px;
  width: 100%;
  max-width: 360px;
}

/* 8. BUTTON SYSTEM */
.btn {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  border: none;
}

.btn-primary {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: var(--shadow-gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-white);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-tech-blue {
  background: var(--blue-gradient);
  color: var(--text-white);
  box-shadow: var(--shadow-blue-glow);
}

.btn-tech-blue:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 163, 255, 0.4);
}

.btn-sm {
  height: 40px;
  font-size: 13px;
  padding: 0 16px;
  border-radius: 8px;
}

/* Gold Shimmer Overlay effect */
.shimmer-btn {
  position: relative;
  overflow: hidden;
}

.shimmer-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -60%;
  width: 30%;
  height: 200%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.4) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(30deg);
  animation: shimmerFlow 5s infinite linear;
}

/* 9. SECTION WRAPPERS */
section {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

section:last-of-type {
  border-bottom: none;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-white);
  margin-bottom: 22px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.3) 0%, rgba(255,255,255,0) 100%);
}

.tech-blue-theme .section-title::after {
  background: linear-gradient(90deg, rgba(0, 163, 255, 0.3) 0%, rgba(255,255,255,0) 100%);
}

/* Glassmorphism panel base */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--glass-shadow);
  transition: border-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-panel:hover {
  border-color: var(--glass-border-active);
  box-shadow: var(--shadow-gold-glow), var(--glass-shadow);
}

/* 10. QUICK CONNECTION GRID */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.connect-card {
  background: var(--glass-bg);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: var(--text-white);
  box-shadow: var(--glass-shadow);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.connect-card:hover {
  border-color: var(--glass-border-active);
  box-shadow: var(--shadow-gold-glow), var(--glass-shadow);
  transform: translateY(-4px);
}

.connect-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-gold);
  font-size: 14px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.connect-card:hover .connect-icon {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

.connect-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.connect-value {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 11. BUSINESS SECTIONS */

/* Tabs Control Styles */
.tab-nav {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
  position: relative;
  margin-bottom: 24px;
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  height: 40px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.tab-btn.active {
  color: var(--text-dark);
}

.tab-slider {
  position: absolute;
  top: 4px;
  left: 4px;
  bottom: 4px;
  width: calc(50% - 4px);
  background: var(--gold-gradient);
  border-radius: 8px;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 10px rgba(212, 175, 55, 0.2);
}

/* Active tab button states shifting class */
.tab-nav:has(.tab-btn[data-tab="thaparlabs"].active) .tab-slider {
  transform: translateX(100%);
  background: var(--blue-gradient);
  box-shadow: 0 4px 10px rgba(0, 163, 255, 0.3);
}

.tab-nav:has(.tab-btn[data-tab="thaparlabs"].active) .tab-btn.active {
  color: var(--text-white);
}

/* Tabs Content container logic */
.tab-content-wrapper {
  position: relative;
}

.tab-content {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.business-info-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Insurance Content layout */
.insurance-partners {
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 16px;
}

.insurance-logo {
  width: 140px;
  max-width: 42%;
  height: auto;
  aspect-ratio: 160 / 45;
  display: block;
  flex-shrink: 0;
}

.partner-divider {
  width: 1px;
  height: 35px;
  background-color: rgba(255, 255, 255, 0.08);
}

.business-header {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.business-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.service-item i {
  margin-top: 3px;
  font-size: 14px;
}

.service-item h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.service-item p {
  font-size: 12px;
  color: var(--text-muted);
}

.text-gold {
  color: var(--color-gold);
}

.business-cta-btn {
  margin-top: 10px;
  width: 100%;
}

/* Thapar Labs Tech tab modifications */
.tech-blue-theme {
  border-color: var(--glass-border-blue);
}

.tech-blue-theme:hover {
  border-color: var(--glass-border-blue-active);
  box-shadow: var(--shadow-blue-glow), var(--glass-shadow);
}

.thapar-labs-header {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.business-tech-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.tech-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.tech-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: all 0.3s ease;
}

.tech-card:hover {
  background: rgba(0, 163, 255, 0.04);
  border-color: rgba(0, 163, 255, 0.2);
  transform: translateY(-2px);
}

.tech-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 163, 255, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-tech-blue);
  font-size: 11px;
}

.tech-card h4 {
  font-size: 12.5px;
  font-weight: 600;
}

.tech-card p {
  font-size: 10.5px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* 12. PORTFOLIO HORIZONTAL CAROUSEL */
.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.scroll-indicators-dot {
  display: flex;
  gap: 6px;
  margin-bottom: 22px;
}

.scroll-indicators-dot .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.scroll-indicators-dot .dot.active {
  background: var(--color-gold);
  width: 14px;
  border-radius: 3px;
}

.portfolio-scroll-container {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 4px 4px 16px;
  scrollbar-width: none; /* Firefox hide */
}

.portfolio-scroll-container::-webkit-scrollbar {
  display: none; /* Safari/Chrome hide */
}

.portfolio-card {
  flex: 0 0 280px; /* fixed card width */
  scroll-snap-align: start;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.portfolio-img-mock {
  width: 100%;
  height: 140px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mock-card-overlay {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: rgba(11, 11, 12, 0.6);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.08);
}

.mock-icon {
  font-size: 24px;
  color: var(--text-white);
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.mock-card-overlay span {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.portfolio-details {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.portfolio-category {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-gold);
}

.portfolio-title {
  font-size: 15px;
  font-weight: 700;
}

.portfolio-details p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 8px;
}

.portfolio-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-white);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: gap 0.3s ease, color 0.3s ease;
}

.portfolio-link:hover {
  color: var(--color-gold);
  gap: 10px;
}

/* 13. WHY CHOOSE ME GRID */
.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.why-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
}

.why-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--color-gold);
  flex-shrink: 0;
}

.why-card h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px;
}

.why-card p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* 14. TESTIMONIAL CAROUSEL */
.testimonial-carousel-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.testimonial-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  width: 300%; /* 3 slides = 300% */
}

.testimonial-slide {
  width: 33.333%; /* 100% / 3 slides */
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: var(--glass-bg);
  border-radius: 20px;
  margin: 0;
}

.testimonial-stars {
  color: var(--color-gold);
  font-size: 12px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-style: italic;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-gradient);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.author-info h4 {
  font-size: 13.5px;
  font-weight: 600;
}

.author-info span {
  font-size: 11px;
  color: var(--text-muted);
}

.carousel-indicators {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

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

.carousel-indicators .indicator.active {
  background: var(--color-gold);
  width: 20px;
  border-radius: 4px;
}

/* 15. SOCIAL MEDIA CHANNELS */
.socials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-decoration: none;
  color: var(--text-white);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.social-btn i {
  font-size: 18px;
  color: var(--color-gold);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.social-btn span {
  font-size: 13px;
  font-weight: 600;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(212, 175, 55, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.1);
}

.social-btn:hover i {
  transform: scale(1.2);
}

/* 16. CONTACT FORM & SUCCESS CARDS */
.contact-card-form {
  position: relative;
  overflow: hidden;
}

#card-contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: opacity 0.3s ease;
}

/* Animated floating label fields */
.form-group {
  position: relative;
  width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  color: var(--text-white);
  outline: none;
  transition: all 0.3s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23D4AF37'%3E%3Cpath d='M7 10l5 5 5-5H7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 20px;
}

.form-group select option {
  background-color: #141416;
  color: var(--text-white);
}

.form-group label {
  position: absolute;
  left: 16px;
  top: 14px;
  font-size: 13.5px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.input-focus-line {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gold-gradient);
  transition: all 0.3s ease;
}

/* Floating labels logic */
.form-group input:focus,
.form-group textarea:focus {
  border-color: rgba(212, 175, 55, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.form-group input:focus + label,
.form-group input:not(:placeholder-shown) + label,
.form-group textarea:focus + label,
.form-group textarea:not(:placeholder-shown) + label {
  top: -9px;
  left: 10px;
  font-size: 10.5px;
  background: #141416;
  padding: 0 6px;
  color: var(--color-gold);
  border-radius: 4px;
}

.form-group input:focus ~ .input-focus-line,
.form-group textarea:focus ~ .input-focus-line,
.form-group select:focus ~ .input-focus-line {
  left: 0;
  width: 100%;
}

.submit-btn {
  margin-top: 10px;
  width: 100%;
}

/* Form Success Card Overlay */
.form-success-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #141416;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.form-success-overlay.active {
  opacity: 1;
  visibility: visible;
}

.success-icon-ring {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--color-gold);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  color: var(--color-gold);
  animation: scalePop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* QR Code Section container */
.qr-share-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  margin-top: 20px;
}

.qr-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: 1px;
}

.qr-share-card p {
  font-size: 11.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.qr-canvas-wrapper {
  background: #FFFFFF;
  padding: 12px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-lux);
}

#qr-code-canvas {
  display: block;
}

.qr-subtext {
  font-size: 11px;
  color: var(--text-muted);
  word-break: break-all;
  font-family: monospace;
}

/* 17. FLOATING ACTION HUB */
.floating-action-hub {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 98;
}

.floating-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--text-white);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-size: 18px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
}

.floating-btn:hover {
  transform: translateY(-3px) scale(1.05);
}

.wa-btn {
  background-color: #25D366;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.call-btn {
  background-color: #101012;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.share-btn {
  background: var(--gold-gradient);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.35);
}

.vcf-btn {
  background: var(--dark-gradient);
  border: 1px solid var(--color-gold);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

/* 18. APP TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translate(-50%, 100px);
  background: #141416;
  border: 1px solid var(--color-gold);
  border-radius: 30px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 10000;
  box-shadow: var(--shadow-lux);
  pointer-events: none;
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
  transform: translate(-50%, 0);
  opacity: 1;
}

.toast-icon {
  color: var(--color-gold);
  font-size: 15px;
}

.toast-msg {
  font-size: 12.5px;
  font-weight: 500;
}

/* 19. APP FOOTER */
.app-footer {
  text-align: center;
  padding: 30px 10px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-copy {
  font-size: 11px;
  color: rgba(255,255,255,0.3);
}

.footer-creator {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-link {
  color: var(--color-gold);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--color-gold-light);
}

/* 20. KEYFRAMES ANIMATION SYSTEM */
@keyframes load {
  0% { width: 0%; }
  100% { width: 100%; }
}

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

@keyframes scalePop {
  0% { transform: scale(0.6); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shimmerFlow {
  0% { left: -60%; }
  100% { left: 140%; }
}

/* Page scrolling elements fade-slide implementation classes */
.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: translateY(0);
}
