/* ====================================================
   NOSHERWAN ADIL — PREMIUM PORTFOLIO
   Design System & Complete Styles
   ==================================================== */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Ubuntu:wght@300;400;500;700&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Accent */
  --accent: #2563eb;
  --accent-glow: rgba(37, 99, 235, 0.35);
  --accent-light: #60a5fa;

  /* Surfaces — Light */
  --bg-primary: #f0f4f8;
  --bg-secondary: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.55);
  --bg-glass-border: rgba(255, 255, 255, 0.45);
  --bg-nav: rgba(255, 255, 255, 0.72);

  /* Text — Light */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;

  /* Misc */
  --border: rgba(148, 163, 184, 0.25);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.1);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Dark Theme ---------- */
[data-theme="dark"] {
  --bg-primary: #0b1120;
  --bg-secondary: #111827;
  --bg-glass: rgba(17, 24, 39, 0.6);
  --bg-glass-border: rgba(55, 65, 81, 0.5);
  --bg-nav: rgba(11, 17, 32, 0.78);
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(55, 65, 81, 0.45);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.4);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: 'Ubuntu', sans-serif;
  font-weight: 400;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  transition: background var(--transition), color var(--transition);
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

img { max-width: 100%; display: block; }

/* ---------- Aurora Canvas Background ---------- */
#aurora-canvas {
  position: fixed;
  inset: 0;
  z-index: -1;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

/* ---------- Reading Progress Bar ---------- */
#reading-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  z-index: 10000;
  transition: width 0.1s linear;
  box-shadow: 0 0 8px var(--accent-glow);
}

/* =============================================
   PRELOADER
   ============================================= */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--bg-primary);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-title {
  font-size: 0.85rem;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 50px;
  font-weight: 500;
}

.preloader-track {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
}

.preloader-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.preloader-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid var(--border);
  background: var(--bg-secondary);
  transition: all 0.5s ease;
  position: relative;
}

.preloader-node.active .preloader-dot {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 20px var(--accent-glow), 0 0 40px var(--accent-glow);
}

.preloader-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
  transition: color 0.4s;
}

.preloader-node.active .preloader-label {
  color: var(--accent);
  font-weight: 500;
}

.preloader-line {
  width: 100px;
  height: 2px;
  background: var(--border);
  position: relative;
  overflow: hidden;
  z-index: 1;
  margin-bottom: 30px;
}

.preloader-line::after {
  content: '';
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.6s ease;
}

.preloader-line.filled::after {
  width: 100%;
}

.preloader-status {
  margin-top: 45px;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* =============================================
   GLASS CARD
   ============================================= */
.glass-card {
  background: var(--bg-glass);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--bg-glass-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition), box-shadow var(--transition);
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-nav);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), border var(--transition);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 1px;
}

.nav-brand-text h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.nav-brand-text span {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-glass);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition);
}
.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.theme-toggle .icon-sun,
.theme-toggle .icon-moon { width: 20px; height: 20px; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="light"] .theme-toggle .icon-moon,
:root:not([data-theme]) .theme-toggle .icon-moon { display: none; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1050;
  background: var(--bg-primary);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu a {
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
}
.mobile-menu a:hover { color: var(--accent); }

/* =============================================
   CONTAINER
   ============================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-padding {
  padding: 100px 0;
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 50px;
}

.section-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.2;
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.section-header-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-header-text p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.section-icon {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  flex-shrink: 0;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  align-items: center;
}

/* Credential Ribbon */
.credential-ribbon {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: var(--bg-glass);
  border: 1px solid var(--border);
  color: var(--accent);
  backdrop-filter: blur(8px);
}

.credential-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-muted);
}

.hero-name {
  font-size: 3.6rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.hero-name span {
  color: var(--accent);
}

.hero-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-style: italic;
  color: var(--text-secondary);
  border-left: 3px solid var(--accent);
  padding-left: 18px;
  margin-bottom: 30px;
  line-height: 1.8;
}

.hero-contacts {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.hero-contacts li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.hero-contacts li i {
  color: var(--accent);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
  color: #fff;
}

/* Metrics */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 40px;
}

.metric-card {
  padding: 20px 16px;
  text-align: center;
  border-radius: var(--radius-sm);
}

.metric-number {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.metric-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Hero Photo */
.hero-photo-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo {
  width: 340px;
  height: 420px;
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  border: 3px solid var(--bg-glass-border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition);
}

.hero-photo:hover {
  transform: scale(1.03) rotate(1deg);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-photo-accent {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 16px;
  left: 16px;
  border-radius: 24px;
  border: 2px dashed var(--accent);
  opacity: 0.3;
  z-index: -1;
}

/* =============================================
   PROFILE & INTERESTS
   ============================================= */
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.skill-tag {
  padding: 7px 16px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.08);
  color: var(--accent);
  border: 1px solid rgba(37, 99, 235, 0.15);
  transition: all var(--transition);
}

.skill-tag:hover {
  background: var(--accent);
  color: #fff;
}

.philosophy-block {
  padding: 28px 30px;
  border-left: 4px solid var(--accent);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
}

.philosophy-block h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.philosophy-block p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  text-align: justify;
}

/* =============================================
   TIMELINE
   ============================================= */
.timeline {
  position: relative;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
  padding: 28px 30px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -33px;
  top: 34px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--accent);
  border: 3px solid var(--bg-primary);
  box-shadow: 0 0 0 3px var(--accent-glow);
}

.timeline-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.timeline-date {
  padding: 4px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
}

.timeline-org {
  font-size: 0.92rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 10px;
}

.timeline-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: justify;
}

.timeline-desc ul {
  list-style: none;
  padding: 0;
}

.timeline-desc ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
}

.timeline-desc ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.timeline-campus {
  font-weight: 600;
  color: var(--text-primary);
  margin-top: 14px;
  margin-bottom: 8px;
  font-size: 0.92rem;
}

/* Coursework tags reuse skill-tag */
.coursework-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

/* =============================================
   SPLIT STICKY LAYOUT (Methodology)
   ============================================= */
.split-sticky {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 60px;
  align-items: start;
}

.sticky-sidebar {
  position: sticky;
  top: 100px;
}

.sticky-sidebar h2 {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
  margin-bottom: 12px;
}

.sticky-sidebar p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.scroll-content {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* Pipeline cards */
.pipeline-card {
  padding: 34px 30px;
  position: relative;
  overflow: hidden;
}

.pipeline-card-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--accent);
  opacity: 0.1;
  position: absolute;
  top: 12px;
  right: 24px;
  font-family: 'Playfair Display', serif;
}

.pipeline-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.pipeline-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.pipeline-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.8;
  text-align: justify;
}

/* =============================================
   SKILLS GRID
   ============================================= */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.skill-category {
  padding: 30px;
}

.skill-category-icon {
  width: 50px;
  height: 50px;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 18px;
}

.skill-category h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.skill-category ul {
  list-style: none;
  padding: 0;
}

.skill-category ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.skill-category ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* =============================================
   CERTIFICATIONS
   ============================================= */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.cert-item {
  padding: 26px 28px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cert-item.featured {
  border: 1px solid var(--accent);
  box-shadow: 0 0 20px var(--accent-glow);
}

.cert-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(37, 99, 235, 0.1);
  color: var(--accent);
}

.cert-item.featured .cert-icon {
  background: var(--accent);
  color: #fff;
}

.cert-info h4 {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cert-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

/* =============================================
   REFERENCES
   ============================================= */
.references-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.reference-card {
  padding: 28px;
  border-left: 4px solid var(--accent);
}

.reference-card h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.reference-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer span {
  color: var(--accent);
}

/* =============================================
   ANIMATE-IN
   ============================================= */
.animate-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-photo-wrapper { order: -1; }

  .hero-name { font-size: 2.6rem; }

  .hero-quote { text-align: left; }

  .hero-contacts { align-items: center; }

  .credential-ribbon { justify-content: center; }

  .split-sticky {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .sticky-sidebar {
    position: static;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .navbar { padding: 0 20px; }

  .nav-links { display: none; }

  .hamburger { display: flex; }

  .hero { padding-top: 90px; }

  .hero-name { font-size: 2rem; }

  .hero-photo {
    width: 260px;
    height: 320px;
  }

  .hero-metrics {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
  }

  .metric-number { font-size: 1.6rem; }

  .section-header { flex-direction: column; text-align: center; }

  .section-number { font-size: 2.2rem; }

  .section-header-text h2 { font-size: 1.5rem; }

  .container { padding: 0 16px; }

  .section-padding { padding: 60px 0; }

  .skills-grid {
    grid-template-columns: 1fr;
  }

  .cert-grid {
    grid-template-columns: 1fr;
  }

  .references-grid {
    grid-template-columns: 1fr;
  }

  .timeline { padding-left: 30px; }

  .timeline-item { padding: 20px; }
}

@media (max-width: 480px) {
  .hero-name { font-size: 1.7rem; }

  .hero-photo {
    width: 220px;
    height: 280px;
  }

  .metric-card { padding: 14px 10px; }
  .metric-number { font-size: 1.3rem; }
  .metric-label { font-size: 0.65rem; }

  .credential-tag { font-size: 0.65rem; padding: 4px 10px; }
}

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25d366;
  color: #ffffff !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.6);
  color: #ffffff !important;
}

.whatsapp-float svg,
.whatsapp-float i {
  width: 30px;
  height: 30px;
  stroke: #ffffff;
  color: #ffffff;
}

/* Pulsing effect ring */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsapp-pulse 2s infinite;
  pointer-events: none;
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }
  70% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.whatsapp-float .tooltip {
  position: absolute;
  right: 70px;
  background: rgba(17, 24, 39, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translateX(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp-float:hover .tooltip {
  opacity: 1;
  transform: translateX(0);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg,
  .whatsapp-float i {
    width: 26px;
    height: 26px;
  }
  .whatsapp-float .tooltip {
    display: none;
  }
}

