/* ==========================================================================
   King Donors Foundation - Modern Design System & Stylesheet
   Typography: Plus Jakarta Sans & Outfit (Google Fonts)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Mukta+Malar:wght@400;500;600;700;800&family=Mukta:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600;700&family=Noto+Sans+Tamil:wght@400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Color Palette */
  --primary-red: #e63946;
  --primary-red-hover: #c92a37;
  --primary-red-subtle: #ffebee;
  --teal: #0d9488;
  --teal-hover: #0f766e;
  --teal-subtle: #f0fdfa;
  --navy: #0f172a;
  --navy-light: #1e293b;
  --slate: #475569;
  --slate-light: #64748b;
  --mist: #f8fafc;
  --border-color: #e2e8f0;
  --yellow-accent: #f59e0b;
  --yellow-subtle: #fffbeb;
  --white: #ffffff;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.06);
  --shadow-lg: 0 10px 25px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.05);
  --shadow-xl: 0 20px 35px -5px rgb(15 23 42 / 0.12), 0 8px 10px -6px rgb(15 23 42 / 0.06);
  --shadow-card: 0 12px 30px rgba(15, 23, 42, 0.06);
  --shadow-card-hover: 0 20px 40px rgba(15, 23, 42, 0.12);

  /* Transitions */
  --transition-base: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Border Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* Base Reset & Typography */
* {
  box-sizing: border-box;
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--navy);
  background-color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Language Specific Font Rules */
html[lang="ta"] body {
  font-family: 'Mukta Malar', 'Noto Sans Tamil', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
}

html[lang="ta"] h1,
html[lang="ta"] h2,
html[lang="ta"] h3,
html[lang="ta"] h4,
html[lang="ta"] h5,
html[lang="ta"] h6,
html[lang="ta"] .brand-text,
html[lang="ta"] .font-heading {
  font-family: 'Mukta Malar', 'Noto Sans Tamil', sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

html[lang="hi"] body {
  font-family: 'Mukta', 'Noto Sans Devanagari', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.75;
}

html[lang="hi"] h1,
html[lang="hi"] h2,
html[lang="hi"] h3,
html[lang="hi"] h4,
html[lang="hi"] h5,
html[lang="hi"] h6,
html[lang="hi"] .brand-text,
html[lang="hi"] .font-heading {
  font-family: 'Mukta', 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  line-height: 1.35;
}

/* Language Switcher Styling */
/* Language Switcher Styling */
.lang-dropdown {
  position: relative;
  z-index: 1055;
}

.lang-dropdown .dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  transition: var(--transition-base);
}

.lang-dropdown .dropdown-toggle:hover,
.lang-dropdown .dropdown-toggle:focus {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.nav-lang-dropdown .dropdown-toggle {
  color: var(--navy);
  background: var(--mist);
  border: 1px solid var(--border-color);
}

.nav-lang-dropdown .dropdown-toggle:hover,
.nav-lang-dropdown .dropdown-toggle:focus {
  background: #e2e8f0;
  color: var(--navy);
}

.lang-dropdown-menu {
  position: absolute;
  z-index: 1060 !important;
  min-width: 150px;
  border-radius: var(--radius-md);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 0.5rem;
  background-color: #ffffff;
}

.lang-dropdown-menu .dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--navy);
  transition: var(--transition-base);
}

.lang-dropdown-menu .dropdown-item:hover {
  background-color: var(--teal-subtle);
  color: var(--teal);
}

.lang-dropdown-menu .dropdown-item.active {
  background-color: var(--primary-red);
  color: #ffffff;
  font-weight: 700;
}

.lang-badge {
  font-size: 0.72rem;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 600;
}

.lang-dropdown-menu .dropdown-item.active .lang-badge {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text,
.font-heading {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

p {
  margin-bottom: 1.25rem;
  color: var(--slate);
}

a {
  color: var(--teal);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--teal-hover);
}

/* Top Notification Banner */
.topline {
  position: relative;
  z-index: 1050;
  background: linear-gradient(90deg, #0b132b 0%, #1c2541 100%);
  color: #cbd5e1;
  font-size: 0.85rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topline a {
  color: #cbd5e1;
}

.topline a:hover {
  color: var(--white);
}

/* Header & Navbar */
.navbar {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  min-height: 82px;
  border-bottom: 1px solid var(--border-color);
  transition: var(--transition-base);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 0;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: inline-block;
  background: url('logo.png') center/contain no-repeat;
  flex-shrink: 0;
}

.brand-text {
  line-height: 1.1;
  display: flex;
  flex-direction: column;
}

.brand-text b {
  font-size: 1.25rem;
  letter-spacing: 0.05em;
  color: var(--primary-red);
}

.brand-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--navy);
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-light) !important;
  padding: 0.6rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
}

.nav-link:hover {
  color: var(--primary-red) !important;
  background-color: var(--primary-red-subtle);
}

.nav-link.active {
  color: var(--primary-red) !important;
  position: relative;
}

.nav-link.active:not(.dropdown-toggle)::after {
  content: '';
  position: absolute;
  bottom: 0px;
  left: 1rem;
  right: 1rem;
  height: 3px;
  background: var(--primary-red);
  border-radius: 4px;
}

/* Dropdown Arrow & Menu Styling */
.dropdown-toggle {
  display: inline-flex !important;
  align-items: center !important;
}

.dropdown-toggle::after {
  display: inline-block !important;
  margin-left: 0.5em !important;
  vertical-align: middle !important;
  content: "" !important;
  border-top: 0.35em solid currentColor !important;
  border-right: 0.35em solid transparent !important;
  border-bottom: 0 !important;
  border-left: 0.35em solid transparent !important;
  transition: transform 0.25s ease !important;
}

.dropdown.show .dropdown-toggle::after,
.dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg) !important;
}

.dropdown-menu {
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.14) !important;
  border-radius: 14px !important;
  padding: 8px !important;
  animation: dropdownFadeIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  min-width: 270px;
  background-color: #ffffff !important;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

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

.dropdown-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy-light);
  border-radius: 8px;
  padding: 8px 14px !important;
  transition: var(--transition-base);
  display: flex;
  align-items: center;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: var(--primary-red-subtle) !important;
  color: var(--primary-red) !important;
  transform: translateX(4px);
}

@media (min-width: 992px) {
  .navbar-nav .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
  }
}


/* Custom Buttons */
.btn {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-smooth);
  letter-spacing: 0.01em;
}

.btn-brand {
  background: linear-gradient(135deg, var(--primary-red) 0%, #d90429 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(230, 57, 70, 0.35);
}

.btn-brand:hover {
  background: linear-gradient(135deg, #c92a37 0%, #b80423 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.45);
}

.btn-teal {
  background: linear-gradient(135deg, var(--teal) 0%, #0f766e 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.35);
}

.btn-teal:hover {
  background: linear-gradient(135deg, #0f766e 0%, #115e59 100%);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.45);
}

.btn-outline-brand {
  border: 2px solid var(--primary-red);
  color: var(--primary-red);
  background: transparent;
}

.btn-outline-brand:hover {
  background: var(--primary-red);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  background: transparent;
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Eyebrows & Badges */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  background-color: var(--primary-red-subtle);
  color: var(--primary-red);
}

.eyebrow-teal {
  background-color: var(--teal-subtle);
  color: var(--teal);
}

.eyebrow-yellow {
  background-color: var(--yellow-subtle);
  color: #b45309;
}

.eyebrow-light {
  background-color: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  backdrop-filter: blur(8px);
}

/* Hero Section */
.hero {
  position: relative;
  background-color: #0b132b;
  color: var(--white);
  overflow: hidden;
}

.hero .swiper-slide {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  padding: 80px 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 50%, rgba(11, 19, 43, 0.95) 0%, rgba(11, 19, 43, 0.8) 60%, rgba(11, 19, 43, 0.5) 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-copy h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-copy p {
  color: #e2e8f0;
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2rem;
}

.swiper-pagination-bullet {
  background: #ffffff !important;
  opacity: 0.4 !important;
  width: 10px !important;
  height: 10px !important;
  transition: var(--transition-base) !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  width: 28px !important;
  border-radius: 8px !important;
  background: var(--primary-red) !important;
}

.swiper-button-prev,
.swiper-button-next {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  color: var(--white) !important;
  transition: var(--transition-base);
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
  background: var(--primary-red);
  transform: scale(1.1);
}

.swiper-button-prev::after,
.swiper-button-next::after {
  font-size: 1.1rem !important;
  font-weight: 900;
}

/* Page Hero Banner */
.page-hero {
  background: linear-gradient(135deg, #0b132b 0%, #1c2541 60%, #1e3a8a 100%);
  color: var(--white);
  padding: 70px 0 60px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 0.75rem;
}

.page-hero .breadcrumb {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.page-hero .breadcrumb-item a {
  color: #94a3b8;
}

.page-hero .breadcrumb-item a:hover {
  color: var(--white);
}

.page-hero .breadcrumb-item.active {
  color: #cbd5e1;
}

/* Section Styling */
.section {
  padding: 80px 0;
  position: relative;
}

.section-soft {
  background-color: var(--mist);
}

.section-title {
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-title p.lead {
  font-size: 1.15rem;
  color: var(--slate);
  max-width: 680px;
}

/* Cards & Components */
.card-clean {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  height: 100%;
}

.card-clean:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(230, 57, 70, 0.2);
}

.icon-box {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--primary-red-subtle);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-base);
}

.icon-box.icon-teal {
  background: var(--teal-subtle);
  color: var(--teal);
}

.icon-box.icon-yellow {
  background: var(--yellow-subtle);
  color: #b45309;
}

.card-clean:hover .icon-box {
  background: var(--primary-red);
  color: var(--white);
  transform: scale(1.08);
}

.card-clean:hover .icon-box.icon-teal {
  background: var(--teal);
  color: var(--white);
}

/* Counter & Stats */
.counter {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  color: var(--primary-red);
  margin-bottom: 0.5rem;
}

.counter-teal {
  color: var(--teal);
}

.stat-box {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-color);
  text-align: center;
}

/* Image Styles */
.event-photo {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.gallery-img {
  height: 260px;
  width: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
}

.gallery-img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

/* Blog Cards */
.blog-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition-smooth);
  background: var(--white);
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.blog-card img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

/* Accordion */
.accordion-item {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md) !important;
  margin-bottom: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.accordion-button {
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  padding: 1.2rem 1.5rem;
  background: var(--white);
  color: var(--navy);
}

.accordion-button:not(.collapsed) {
  background-color: var(--primary-red-subtle);
  color: var(--primary-red);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(230, 57, 70, 0.4);
}

/* Donor Form & Pledge Portal */
.pledge-container {
  max-width: 900px;
  margin: 0 auto;
}

.pledge-card {
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  background: var(--white);
}

.step-indicator {
  background: #f1f5f9;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  text-align: center;
  font-weight: 700;
  color: var(--slate-light);
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.step-indicator.active {
  background: var(--primary-red-subtle);
  color: var(--primary-red);
  border: 1px solid rgba(230, 57, 70, 0.2);
}

.organ-choice {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  background: var(--white);
  font-weight: 600;
  transition: var(--transition-base);
}

.organ-choice:hover {
  border-color: var(--teal);
  background-color: var(--teal-subtle);
}

.organ-choice input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--teal);
  cursor: pointer;
}

.organ-choice:has(input:checked) {
  border-color: var(--teal);
  background-color: var(--teal-subtle);
  color: var(--teal-hover);
}

/* Printable Donor ID Card */
.idcard {
  border: 4px solid var(--primary-red);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fffbfb 100%);
  padding: 32px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: 0 15px 40px rgba(230, 57, 70, 0.15);
  position: relative;
  overflow: hidden;
}

.idcard::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.idhead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid var(--primary-red);
  padding-bottom: 18px;
}

.idhead .org-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.idhead .badge-pledge {
  background: var(--primary-red);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-block;
  margin-top: 4px;
}

.idcard table {
  width: 100%;
  border-collapse: collapse;
}

.idcard td {
  padding: 10px 8px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.95rem;
}

.idcard td:first-child {
  font-weight: 700;
  color: var(--slate);
  width: 38%;
}

.idcard td:last-child {
  font-weight: 600;
  color: var(--navy);
}

/* Form Styles */
.form-control,
.form-select {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  transition: var(--transition-base);
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-red);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.15);
}

.form-label {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--navy-light);
  margin-bottom: 0.4rem;
}

/* Footer */
.footer {
  background: linear-gradient(145deg, #0b132b 0%, #151e3f 100%);
  color: #cbd5e1;
  position: relative;
  overflow: hidden;
}

.footer a {
  color: #94a3b8;
}

.footer a:hover {
  color: var(--white);
  transform: translateX(3px);
  display: inline-block;
}

.footer h5 {
  color: var(--white);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #94a3b8;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-size: 1rem;
  transition: var(--transition-base);
}

.social-links a:hover {
  background: var(--primary-red);
  transform: translateY(-3px);
}

/* Print Stylesheet for Donor ID Card */
@media print {
  body * {
    visibility: hidden;
  }

  #card,
  #card * {
    visibility: visible;
  }

  #card {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: 3px solid #000;
  }
}

/* Responsive Utilities */
/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff !important;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.08) translateY(-4px);
  box-shadow: 0 14px 32px rgba(37, 211, 102, 0.55);
  color: #ffffff !important;
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.6);
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

.whatsapp-float .whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: #ffffff;
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.35);
  pointer-events: none;
  opacity: 0.96;
  transition: var(--transition-base);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(-4px);
  border-color: #25d366;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.2);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 1;
  }

  70% {
    transform: scale(1.35);
    opacity: 0;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

@media (max-width: 768px) {
  .whatsapp-float .whatsapp-tooltip {
    display: none;
  }
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
}

@media print {
  .whatsapp-float {
    display: none !important;
  }
}