/* ==========================================================================
   GIRIPUSHP BUSINESS SOLUTIONS — PREMIUM INTERACTIVE DIGITAL VISITING CARD
   Brand Design System, 3D Flip Mechanics & Mobile-First Responsive Styles
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Primary Colors (Extracted directly from GiriPushp logo) */
  --color-brand-blue-deep: #012D62;      /* Official deep corporate blue */
  --color-brand-blue-dark: #071C38;      /* Deep midnight navy */
  --color-brand-blue-rich: #0B3A78;      /* Rich royal navy */
  --color-brand-blue-light: #EBF3FC;     /* Soft blue tint background */
  --color-brand-blue-hover: #02418C;     /* Hover state blue */

  /* Brand Accent Colors (Upward growth arrow & leaves from logo) */
  --color-brand-green-leaf: #2B7C28;     /* Deep leaf green */
  --color-brand-green-vibrant: #3FA42E;  /* Vibrant growth green */
  --color-brand-green-lime: #74C043;     /* Lime green tip accent */
  --color-brand-green-bright: #88D635;   /* Light lime beacon */
  --color-brand-green-tint: #F0F9ED;     /* Pale green wash */
  --color-brand-whatsapp: #25D366;       /* WhatsApp official green */
  --color-brand-whatsapp-hover: #1EBE5D;

  /* Restrained Blue-to-Green Gradients */
  --grad-brand-growth: linear-gradient(135deg, #012D62 0%, #206E34 60%, #3FA42E 100%);
  --grad-brand-accent: linear-gradient(135deg, #3FA42E 0%, #74C043 100%);
  --grad-card-cover: radial-gradient(circle at 50% 20%, #0A3E80 0%, #012D62 60%, #051A38 100%);
  --grad-subtle-glow: linear-gradient(90deg, rgba(116, 192, 67, 0.4), rgba(1, 45, 98, 0.2));

  /* Light Neutral Content Backgrounds */
  --color-bg-white: #FFFFFF;
  --color-bg-light: #F8FAFD;
  --color-bg-panel: #F1F5F9;
  --color-bg-subtle: #E2E8F0;

  /* Typography & Navy Text */
  --color-text-navy: #012D62;
  --color-text-heading: #0F1E36;
  --color-text-body: #2B3A4F;
  --color-text-muted: #57677C;
  --color-text-white: #FFFFFF;

  /* Borders & Dividers */
  --border-light: rgba(1, 45, 98, 0.12);
  --border-green: rgba(63, 164, 46, 0.35);
  --border-focus: #3FA42E;

  /* Shadows */
  --shadow-card-ambient: 0 25px 60px -15px rgba(0, 20, 50, 0.65), 0 0 40px rgba(63, 164, 46, 0.15);
  --shadow-card-elevated: 0 35px 80px -20px rgba(0, 15, 40, 0.8), 0 0 50px rgba(116, 192, 67, 0.25);
  --shadow-button: 0 4px 14px rgba(1, 45, 98, 0.2);
  --shadow-green-btn: 0 6px 20px rgba(37, 211, 102, 0.35);
  --shadow-card-sm: 0 4px 16px rgba(15, 30, 54, 0.08);

  /* Typography Stacks */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions & Animation Timing */
  --timing-flip: 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  --timing-fast: 0.25s ease;
  --timing-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Card Geometry */
  --card-max-width: 460px;
  --card-cover-height: 640px;
  --card-border-radius: 24px;
}

/* --------------------------------------------------------------------------
   2. Reset & Base Setup
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-brand-blue-dark);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow-x: hidden;
  padding: 16px 12px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
}

img, svg, picture {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   3. Ambient Dynamic Background (Deep Blue & Upward Growth Geometry)
   -------------------------------------------------------------------------- */
.ambient-background {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.bg-gradient-radial {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, #0A2F68 0%, #061E42 50%, #020F24 100%);
}

.bg-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.6;
}

.bg-growth-curves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

/* Floating Ambient Orbs */
.floating-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.28;
  animation: orbDrift 16s ease-in-out infinite alternate;
}

.orb-1 {
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, #3FA42E 0%, transparent 70%);
  top: -60px;
  right: -80px;
}

.orb-2 {
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, #012D62 0%, #094086 70%);
  bottom: -100px;
  left: -100px;
  animation-duration: 20s;
  animation-direction: alternate-reverse;
}

.orb-3 {
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, #74C043 0%, transparent 70%);
  top: 55%;
  left: 65%;
  opacity: 0.16;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(20px, -25px) scale(0.95); }
}

/* --------------------------------------------------------------------------
   4. Main Wrapper & 3D Stage / Scene Setup
   -------------------------------------------------------------------------- */
.main-wrapper {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 540px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: auto;
  min-width: 0;
}

.card-scene {
  width: 100%;
  max-width: var(--card-max-width);
  perspective: 1600px;
  -webkit-perspective: 1600px;
  position: relative;
  min-width: 0;
}

/* --------------------------------------------------------------------------
   5. Card Flip Mechanics (3D Perspective Rotation)
   -------------------------------------------------------------------------- */
.card-flip-container {
  width: 100%;
  min-width: 0;
  position: relative;
  transform-style: preserve-3d;
  -webkit-transform-style: preserve-3d;
  transition: transform var(--timing-flip);
  border-radius: var(--card-border-radius);
}

/* When the card is opened (flipped state) */
.card-flip-container.is-opened {
  transform: rotateY(180deg);
}

/* Shared Face Styling */
.card-face {
  width: 100%;
  min-width: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--card-border-radius);
  position: relative;
  box-shadow: var(--shadow-card-ambient);
}

/* --------------------------------------------------------------------------
   6. FRONT COVER — CLOSED STATE
   -------------------------------------------------------------------------- */
.card-front {
  background: var(--grad-card-cover);
  border: 1.5px solid rgba(116, 192, 67, 0.3);
  padding: 32px 24px;
  min-height: var(--card-cover-height);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 2;
  transform: rotateY(0deg);
  transition: box-shadow var(--timing-fast), border-color var(--timing-fast), transform var(--timing-fast);
}

.card-front:hover {
  border-color: rgba(116, 192, 67, 0.6);
  box-shadow: var(--shadow-card-elevated);
}

/* Border Glow Ring */
.card-border-glow {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 50% 0%, rgba(116, 192, 67, 0.25), transparent 70%);
  pointer-events: none;
}

/* Top Badge */
.cover-top-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(116, 192, 67, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-brand-green-lime);
  box-shadow: 0 0 10px var(--color-brand-green-lime);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.75); }
}

.badge-text {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #E2F5D7;
  text-transform: uppercase;
}

/* Logo container & clean presentation */
.cover-logo-wrapper {
  width: 100%;
  max-width: 360px;
  min-width: 0;
  background: #FFFFFF;
  padding: 16px 20px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 8px auto 16px;
  position: relative;
  overflow: hidden;
}

.cover-logo-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand-accent);
}

.brand-logo {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.cover-logo {
  max-height: 80px;
}

/* Cover Tagline */
.cover-tagline {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #DCF0D1;
  line-height: 1.45;
  margin: 0 auto 12px;
  max-width: 340px;
}

/* Decorative Divider */
.cover-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 260px;
  margin: 0 auto 16px;
  opacity: 0.8;
}

.divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(116, 192, 67, 0.6), transparent);
}

.divider-leaf {
  font-size: 0.9rem;
  filter: drop-shadow(0 0 4px rgba(116, 192, 67, 0.8));
}

/* Cover Headings */
.cover-headings {
  margin-bottom: 20px;
  width: 100%;
}

.cover-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.3;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.cover-subtitle {
  font-size: 0.9rem;
  color: #BED2EB;
  font-weight: 400;
  line-height: 1.5;
  max-width: 320px;
  margin: 0 auto;
}

/* Cover Action: TAP TO OPEN Button */
.cover-action-area {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
}

.btn-tap-open {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 320px;
  padding: 16px 28px;
  background: var(--grad-brand-accent);
  color: #FFFFFF;
  border: none;
  border-radius: 999px;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(63, 164, 46, 0.45);
  transition: transform var(--timing-fast), box-shadow var(--timing-fast);
  outline: none;
}

.btn-tap-open:hover,
.btn-tap-open:focus-visible {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 14px 32px rgba(116, 192, 67, 0.6);
}

.btn-tap-open:focus-visible {
  outline: 3px solid #FFFFFF;
  outline-offset: 3px;
}

/* Pulsing Ring Behind Button */
.tap-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  border: 2px solid var(--color-brand-green-lime);
  opacity: 0.7;
  animation: pulseBeacon 2s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  pointer-events: none;
}

@keyframes pulseBeacon {
  0% { transform: scale(0.95); opacity: 0.8; }
  100% { transform: scale(1.18); opacity: 0; }
}

.tap-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  animation: bounceArrow 1.8s ease-in-out infinite;
}

.tap-arrow-svg {
  width: 16px;
  height: 16px;
  color: #FFFFFF;
}

@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.tap-hint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.76rem;
  color: #A3C5EA;
  opacity: 0.85;
  text-align: center;
  max-width: 100%;
}

/* Cover Footer Note */
.cover-footer-note {
  font-size: 0.78rem;
  color: #8BAECE;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  text-align: center;
}

.cover-footer-note .sep {
  color: var(--color-brand-green-lime);
}

/* --------------------------------------------------------------------------
   7. INSIDE OF THE CARD — BACK FACE
   -------------------------------------------------------------------------- */
.card-back {
  background: var(--color-bg-white);
  border: 1.5px solid var(--border-light);
  transform: rotateY(180deg);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  max-height: min(90vh, 760px);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 1;
}

/* When active/flipped, bring to front */
.card-flip-container.is-opened .card-back {
  z-index: 3;
}

/* Sticky / Prominent Top Header */
.inside-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--border-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.inside-header-brand {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.inside-logo {
  max-height: 38px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.inside-header-tagline {
  font-size: 0.68rem;
  color: var(--color-text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 2px;
}

/* Prominent Close Card Button */
.btn-close-card {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-brand-blue-light);
  color: var(--color-brand-blue-deep);
  border: 1.5px solid rgba(1, 45, 98, 0.15);
  border-radius: 999px;
  padding: 8px 14px;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--timing-fast);
  flex-shrink: 0;
}

.btn-close-card:hover,
.btn-close-card:focus-visible {
  background: var(--color-brand-blue-deep);
  color: #FFFFFF;
  border-color: var(--color-brand-blue-deep);
  box-shadow: 0 4px 12px rgba(1, 45, 98, 0.25);
}

.btn-close-card:focus-visible {
  outline: 2px solid var(--color-brand-green-vibrant);
  outline-offset: 2px;
}

.close-icon {
  width: 16px;
  height: 16px;
}

/* Scrollable Inner Body Container */
.inside-scrollable-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 18px 24px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Inside Panel */
.inside-scrollable-body::-webkit-scrollbar {
  width: 6px;
}

.inside-scrollable-body::-webkit-scrollbar-track {
  background: #F1F5F9;
}

.inside-scrollable-body::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}

.inside-scrollable-body::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand-green-vibrant);
}

/* --------------------------------------------------------------------------
   8. Business Overview / Profile Banner
   -------------------------------------------------------------------------- */
.business-intro-panel {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: linear-gradient(135deg, var(--color-brand-blue-light) 0%, #FFFFFF 100%);
  border: 1.5px solid rgba(1, 45, 98, 0.1);
  border-left: 4px solid var(--color-brand-green-vibrant);
  border-radius: 16px;
  padding: 16px 18px;
  margin-bottom: 22px;
}

.intro-growth-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--color-brand-green-tint);
  border: 1px solid var(--border-green);
  border-radius: 10px;
  color: var(--color-brand-green-vibrant);
  flex-shrink: 0;
  margin-top: 2px;
}

.intro-growth-indicator svg {
  width: 20px;
  height: 20px;
}

.intro-text-content {
  flex: 1;
}

.intro-heading {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-brand-blue-deep);
  margin-bottom: 4px;
}

.intro-description {
  font-size: 0.88rem;
  color: var(--color-text-body);
  line-height: 1.5;
}

/* Section Micro Title */
.section-micro-title {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.section-micro-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-light);
}

/* --------------------------------------------------------------------------
   9. Primary Action Buttons Grid (Section 7)
   -------------------------------------------------------------------------- */
.action-buttons-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

/* Common Action Button Style */
.action-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  text-decoration: none;
  font-family: var(--font-heading);
  transition: all var(--timing-fast);
  cursor: pointer;
  border: 1.5px solid transparent;
  min-height: 58px;
  position: relative;
  background: #FFFFFF;
}

.action-btn:focus-visible {
  outline: 2px solid var(--color-brand-blue-deep);
  outline-offset: 2px;
}

.btn-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  transition: transform var(--timing-spring);
}

.action-btn:hover .btn-icon-box {
  transform: scale(1.08);
}

.btn-text-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-align: left;
}

.btn-title {
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.btn-subtitle {
  font-family: var(--font-body);
  font-size: 0.76rem;
  opacity: 0.85;
  margin-top: 2px;
}

.btn-external-arrow,
.btn-internal-arrow {
  font-size: 1rem;
  font-weight: 700;
  flex-shrink: 0;
  opacity: 0.85;
  transition: transform var(--timing-fast);
}

.action-btn:hover .btn-external-arrow {
  transform: translate(2px, -2px);
}

.action-btn:hover .btn-internal-arrow {
  transform: translateY(2px);
}

/* Button A: JOIN OUR WHATSAPP COMMUNITY (Green Theme) */
.btn-whatsapp {
  background: var(--color-brand-whatsapp);
  color: #FFFFFF;
  box-shadow: var(--shadow-green-btn);
}

.btn-whatsapp .btn-icon-box {
  background: rgba(0, 0, 0, 0.12);
  color: #FFFFFF;
}

.btn-whatsapp:hover {
  background: var(--color-brand-whatsapp-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
}

/* Button B: VISIT OUR WEBSITE (Deep Corporate Blue Theme) */
.btn-website {
  background: var(--color-brand-blue-deep);
  color: #FFFFFF;
  box-shadow: var(--shadow-button);
}

.btn-website .btn-icon-box {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.btn-website:hover {
  background: var(--color-brand-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(1, 45, 98, 0.35);
}

/* Button C: EXPLORE WEBSITE SERVICES (Soft White / Brand Border) */
.btn-services {
  background: #FFFFFF;
  color: var(--color-brand-blue-deep);
  border: 1.5px solid rgba(1, 45, 98, 0.18);
  box-shadow: var(--shadow-card-sm);
}

.btn-services .btn-icon-box {
  background: var(--color-brand-blue-light);
  color: var(--color-brand-blue-deep);
}

.btn-services:hover {
  border-color: var(--color-brand-blue-deep);
  background: #FAFBFD;
  transform: translateY(-2px);
}

/* Button D: EMAIL US (Soft Green Tint Border) */
.btn-email {
  background: #FFFFFF;
  color: var(--color-brand-blue-deep);
  border: 1.5px solid var(--border-green);
  box-shadow: var(--shadow-card-sm);
}

.btn-email .btn-icon-box {
  background: var(--color-brand-green-tint);
  color: var(--color-brand-green-vibrant);
}

.btn-email:hover {
  background: var(--color-brand-green-tint);
  border-color: var(--color-brand-green-vibrant);
  transform: translateY(-2px);
}

/* Button E: REQUEST A WEBSITE (Prominent Growth Gradient Accent) */
.btn-enquiry-trigger {
  background: linear-gradient(135deg, #012D62 0%, #155531 100%);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(1, 45, 98, 0.25);
}

.btn-enquiry-trigger .btn-icon-box {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.btn-enquiry-trigger:hover {
  background: linear-gradient(135deg, #023D84 0%, #1D7344 100%);
  transform: translateY(-2px);
}

/* Button F: SHARE THIS CARD & COPY LINK Group */
.share-btn-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-share,
.btn-copy-link {
  background: #F8FAFD;
  color: var(--color-brand-blue-deep);
  border: 1.5px solid var(--border-light);
  padding: 12px 14px;
}

.btn-share .btn-icon-box,
.btn-copy-link .btn-icon-box {
  background: #EBF3FC;
  color: var(--color-brand-blue-deep);
  width: 34px;
  height: 34px;
}

.btn-share:hover,
.btn-copy-link:hover {
  background: #FFFFFF;
  border-color: var(--color-brand-green-vibrant);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-sm);
}

/* --------------------------------------------------------------------------
   10. SECTION 8: WEBSITE SERVICES SECTION
   -------------------------------------------------------------------------- */
.services-section {
  padding-top: 14px;
  margin-bottom: 28px;
  border-top: 1.5px solid var(--border-light);
}

.section-header {
  margin-bottom: 18px;
  text-align: left;
}

.section-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--color-brand-green-leaf);
  background: var(--color-brand-green-tint);
  border: 1px solid var(--border-green);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.section-main-heading {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--color-brand-blue-deep);
  line-height: 1.25;
  margin-bottom: 4px;
}

.section-sub-heading {
  font-size: 0.84rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* Abstract Device Showcase (Modern Web Wireframe) */
.service-preview-showcase {
  background: linear-gradient(135deg, #071C38 0%, #012D62 100%);
  border-radius: 16px;
  padding: 14px 16px;
  margin-bottom: 18px;
  box-shadow: 0 10px 25px rgba(1, 45, 98, 0.2);
  border: 1px solid rgba(116, 192, 67, 0.25);
}

.mockup-window {
  background: #0D264A;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-header-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #081B36;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.dot-red { width: 8px; height: 8px; border-radius: 50%; background: #EF4444; }
.dot-yellow { width: 8px; height: 8px; border-radius: 50%; background: #F59E0B; }
.dot-green { width: 8px; height: 8px; border-radius: 50%; background: #10B981; }

.mockup-url-bar {
  font-family: monospace;
  font-size: 0.68rem;
  color: #74C043;
  margin-left: 8px;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 10px;
  border-radius: 4px;
  letter-spacing: 0.02em;
}

.mockup-body {
  padding: 14px;
}

.mockup-hero-row {
  margin-bottom: 12px;
}

.mockup-wire-text {
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.12);
}

.title-wire {
  height: 12px;
  width: 65%;
  background: linear-gradient(90deg, #74C043, #3FA42E);
  margin-bottom: 6px;
}

.sub-wire {
  height: 8px;
  width: 45%;
}

.mockup-metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.mockup-metric-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-icon {
  font-size: 0.75rem;
  color: #74C043;
}

.metric-bar {
  height: 4px;
  border-radius: 2px;
}

.bar-1 { width: 85%; background: #74C043; }
.bar-2 { width: 95%; background: #3FA42E; }
.bar-3 { width: 70%; background: #4BB543; }

/* 6 Core Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

@media (min-width: 420px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.service-card {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: 14px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all var(--timing-fast);
  box-shadow: var(--shadow-card-sm);
  overflow: hidden;
}

.service-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-brand-green-vibrant);
  box-shadow: 0 10px 24px rgba(1, 45, 98, 0.12);
}

.service-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-brand-accent);
  opacity: 0;
  transition: opacity var(--timing-fast);
}

.service-card:hover .service-card-glow {
  opacity: 1;
}

.service-icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--color-brand-blue-light);
  color: var(--color-brand-blue-deep);
  border: 1px solid rgba(1, 45, 98, 0.12);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all var(--timing-spring);
}

.service-card:hover .service-icon-wrapper {
  background: var(--color-brand-green-tint);
  color: var(--color-brand-green-leaf);
  border-color: var(--border-green);
  transform: scale(1.06);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-brand-blue-deep);
  line-height: 1.3;
  margin-bottom: 6px;
}

.service-description {
  font-size: 0.8rem;
  color: var(--color-text-body);
  line-height: 1.45;
  margin-bottom: 14px;
  flex-grow: 1;
}

.service-action-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--color-brand-green-leaf);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  padding: 4px 0;
  text-align: left;
  transition: color var(--timing-fast);
}

.service-action-link .arrow {
  transition: transform var(--timing-fast);
}

.service-action-link:hover {
  color: var(--color-brand-blue-deep);
}

.service-action-link:hover .arrow {
  transform: translateX(3px);
}

.service-action-link:focus-visible {
  outline: 2px solid var(--color-brand-green-vibrant);
  outline-offset: 2px;
}

/* --------------------------------------------------------------------------
   11. SECTION 7E: REQUEST A WEBSITE (Enquiry Flow)
   -------------------------------------------------------------------------- */
.enquiry-section {
  padding-top: 20px;
  margin-bottom: 24px;
  border-top: 1.5px solid var(--border-light);
}

.enquiry-form {
  background: #F8FAFD;
  border: 1.5px solid var(--border-light);
  border-radius: 16px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-brand-blue-deep);
}

.form-label .required {
  color: #DC2626;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--color-text-body);
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  outline: none;
  transition: border-color var(--timing-fast), box-shadow var(--timing-fast);
}

.form-control:focus {
  border-color: var(--color-brand-blue-deep);
  box-shadow: 0 0 0 3px rgba(1, 45, 98, 0.12);
}

.form-control.has-error {
  border-color: #DC2626;
  background: #FEF2F2;
}

.select-wrapper {
  position: relative;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 36px;
  background-image: url("data:image/svg2+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23012D62' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.textarea-control {
  resize: vertical;
  min-height: 80px;
}

.form-error {
  font-size: 0.74rem;
  color: #DC2626;
  font-weight: 600;
  display: none;
}

.form-error.is-visible {
  display: block;
}

/* Radio Cards for Contact Method */
.contact-method-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.radio-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 6px;
  background: #FFFFFF;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-text-body);
  transition: all var(--timing-fast);
}

.radio-card input[type="radio"] {
  accent-color: var(--color-brand-blue-deep);
  margin: 0;
}

.radio-card:has(input:checked) {
  border-color: var(--color-brand-blue-deep);
  background: var(--color-brand-blue-light);
  color: var(--color-brand-blue-deep);
}

/* Truthful Disclosure Banner */
.submission-disclosure {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  background: var(--color-brand-blue-light);
  border: 1px solid rgba(1, 45, 98, 0.12);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 0.75rem;
  color: var(--color-brand-blue-deep);
  line-height: 1.45;
}

.submission-disclosure svg {
  flex-shrink: 0;
  margin-top: 1px;
}

/* Form Action Buttons */
.form-submit-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-submit-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 13px 20px;
  background: var(--grad-brand-growth);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(1, 45, 98, 0.3);
  transition: transform var(--timing-fast), box-shadow var(--timing-fast);
}

.btn-submit-enquiry:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(63, 164, 46, 0.4);
}

.btn-submit-enquiry:focus-visible {
  outline: 2px solid var(--color-brand-green-vibrant);
  outline-offset: 2px;
}

.btn-copy-enquiry {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 16px;
  background: #FFFFFF;
  color: var(--color-brand-blue-deep);
  border: 1.5px solid var(--border-light);
  border-radius: 10px;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--timing-fast);
}

.btn-copy-enquiry:hover {
  border-color: var(--color-brand-blue-deep);
  background: #F8FAFD;
}

/* Success Banner */
.enquiry-success-message {
  margin-top: 14px;
  background: var(--color-brand-green-tint);
  border: 1.5px solid var(--border-green);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
}

.success-icon-box {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-brand-green-vibrant);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--color-brand-green-leaf);
  margin-bottom: 2px;
}

.success-desc {
  font-size: 0.8rem;
  color: var(--color-text-body);
  line-height: 1.45;
}

/* --------------------------------------------------------------------------
   12. Inside Card Bottom Footer
   -------------------------------------------------------------------------- */
.inside-footer {
  padding-top: 18px;
  border-top: 1px solid var(--border-light);
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.inside-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.footer-corp-name {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--color-brand-blue-deep);
}

.footer-tagline {
  font-size: 0.72rem;
  color: var(--color-brand-green-leaf);
  font-weight: 600;
}

.inside-footer-links {
  font-size: 0.76rem;
  color: var(--color-text-muted);
}

.inside-footer-links a {
  color: var(--color-brand-blue-deep);
  text-decoration: none;
  font-weight: 600;
}

.inside-footer-links a:hover {
  text-decoration: underline;
  color: var(--color-brand-green-leaf);
}

.inside-footer-links .sep {
  margin: 0 6px;
  color: var(--color-brand-green-vibrant);
}

.footer-copyright {
  font-size: 0.7rem;
  color: #94A3B8;
}

/* --------------------------------------------------------------------------
   13. Toast Notification Component
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--color-brand-blue-dark);
  color: #FFFFFF;
  border: 1.5px solid var(--color-brand-green-vibrant);
  border-radius: 999px;
  padding: 12px 22px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  max-width: 90vw;
  white-space: nowrap;
}

.toast-notification.is-active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-brand-green-vibrant);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 900;
}

/* --------------------------------------------------------------------------
   14. Responsive Layout Breakpoints
   -------------------------------------------------------------------------- */
/* Mobile Compact (<= 390px) */
@media (max-width: 390px) {
  body {
    padding: 10px 8px;
  }

  :root {
    --card-cover-height: 590px;
    --card-border-radius: 20px;
  }

  .card-front {
    padding: 24px 18px;
  }

  .cover-logo-wrapper {
    padding: 12px 14px;
    margin-bottom: 12px;
  }

  .cover-logo {
    max-height: 64px;
  }

  .cover-tagline {
    font-size: 0.88rem;
  }

  .cover-title {
    font-size: 1.18rem;
  }

  .cover-subtitle {
    font-size: 0.82rem;
  }

  .btn-tap-open {
    padding: 14px 20px;
    font-size: 0.95rem;
  }

  .inside-header {
    padding: 10px 12px;
  }

  .inside-scrollable-body {
    padding: 16px 14px 20px;
  }

  .share-btn-group {
    grid-template-columns: 1fr;
  }

  .contact-method-options {
    grid-template-columns: 1fr;
  }
}

/* Tablet (768px) and Desktop (1024px, 1440px) */
@media (min-width: 768px) {
  :root {
    --card-max-width: 500px;
    --card-cover-height: 680px;
  }

  body {
    padding: 24px;
  }

  .card-front {
    padding: 40px 32px;
  }

  .cover-logo {
    max-height: 85px;
  }

  .cover-title {
    font-size: 1.45rem;
  }

  .cover-subtitle {
    font-size: 0.94rem;
  }

  .inside-header {
    padding: 14px 20px;
  }

  .inside-scrollable-body {
    padding: 24px 22px 30px;
  }
}

/* --------------------------------------------------------------------------
   15. Accessibility & Reduced Motion Preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .card-flip-container {
    transition: none;
  }

  .card-flip-container.is-opened .card-front {
    display: none;
  }

  .card-flip-container.is-opened .card-back {
    display: flex;
    position: relative;
    transform: none;
  }

  .card-flip-container:not(.is-opened) .card-back {
    display: none;
  }

  .floating-orb {
    animation: none;
  }
}
