/* ==========================================================================
   DR. CHANDRASIRI GANNILE - OFFICIAL WEBSITE STYLESHEET
   Pure Modern CSS3 | Responsive | Accessible | High Performance
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Colors */
  --color-primary: #0f172a;       /* Slate 900 - Deep executive navy */
  --color-primary-light: #1e293b; /* Slate 800 */
  --color-primary-dark: #070b14;  /* Deep midnight */
  
  --color-secondary: #1e3a8a;     /* Deep sapphire */
  --color-secondary-light: #2563eb;
  
  --color-accent: #c59b27;        /* Regal Academic Gold */
  --color-accent-light: #e6be44;
  --color-accent-dark: #967417;
  --color-accent-subtle: #fcf8ee;
  --color-accent-border: #f0deb0;
  
  --color-text-main: #0f172a;
  --color-text-secondary: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  
  --color-bg-body: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-alt: #f1f5f9;
  --color-bg-dark: #0f172a;
  
  --color-border: #e2e8f0;
  --color-border-light: #edf2f7;
  --color-border-focus: #c59b27;
  
  --color-success: #059669;
  --color-success-bg: #ecfdf5;
  
  /* Typography */
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-serif: 'Newsreader', Georgia, Cambria, 'Times New Roman', serif;
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;
  
  /* Layout */
  --container-max: 1240px;
  --container-narrow: 960px;
  --header-height: 80px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06), 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.08), 0 2px 4px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 20px 35px -8px rgba(15, 23, 42, 0.15);
  --shadow-gold: 0 8px 24px -4px rgba(197, 155, 39, 0.25);
  
  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1.5rem);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-main);
  background-color: var(--color-bg-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  position: relative;
}

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

a {
  color: var(--color-secondary);
  text-decoration: none;
  transition: color var(--transition-fast), border-color var(--transition-fast);
}

a:hover {
  color: var(--color-accent-dark);
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--color-primary);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.4rem); }
h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }
h6 { font-size: 0.95rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }

p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   3. Utility Classes & Layout Containers
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section-alt {
  background-color: var(--color-bg-alt);
}

.section-dark {
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
}

.section-dark h1, 
.section-dark h2, 
.section-dark h3, 
.section-dark h4 {
  color: #ffffff;
}

.section-dark p {
  color: #94a3b8;
}

/* Section Headers */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto var(--space-3xl);
}

.section-header.text-left {
  text-align: left;
  margin-left: 0;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.badge-gold {
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  border: 1px solid var(--color-accent-border);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-accent-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.badge-primary {
  background-color: #e0e7ff;
  color: #3730a3;
}

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

.section-subtitle {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  white-space: normal;
  max-width: 100%;
  line-height: 1.35;
  box-sizing: border-box;
  overflow-wrap: break-word;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-dark) 100%);
  color: #ffffff;
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, var(--color-accent-light) 0%, var(--color-accent) 100%);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -4px rgba(197, 155, 39, 0.4);
}

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

.btn-outline:hover {
  background-color: #ffffff;
  border-color: var(--color-primary);
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 1rem 2.2rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   4. Top Announcement Bar & Main Header
   -------------------------------------------------------------------------- */
.top-bar {
  background-color: var(--color-primary-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0;
  position: relative;
  z-index: 1001;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #cbd5e1;
  white-space: nowrap;
}

.top-bar-item a {
  color: #cbd5e1;
}

.top-bar-item a:hover {
  color: var(--color-accent-light);
}

.top-bar-item svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-accent);
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: all var(--transition-normal);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 2rem;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  flex-shrink: 0;
}

.brand-icon svg {
  width: 26px;
  height: 26px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

/* Desktop Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.55rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--color-primary);
  background-color: var(--color-bg-alt);
}

.nav-link.active {
  color: var(--color-accent-dark);
  background-color: var(--color-accent-subtle);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Mobile Menu Drawer & Toggle Base Styles */
.mobile-toggle-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  width: 0;
  height: 0;
}

.mobile-toggle-btn {
  display: none;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--radius-md);
  background-color: #ffffff;
  border: 1.5px solid var(--color-border);
  color: var(--color-primary);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.mobile-toggle-btn svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-primary);
  stroke-width: 2.2;
  display: block;
  transition: transform var(--transition-fast), stroke var(--transition-fast);
}

.mobile-toggle-btn:hover,
.mobile-toggle-btn:active {
  background-color: var(--color-accent-subtle);
  border-color: var(--color-accent);
  color: var(--color-accent-dark);
}

.mobile-toggle-btn:hover svg,
.mobile-toggle-btn:active svg {
  stroke: var(--color-accent-dark);
}

/* Checked Hamburger animation and color change */
.mobile-toggle-input:checked + .mobile-toggle-btn,
.mobile-toggle-input:checked ~ .mobile-toggle-btn {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.mobile-toggle-input:checked + .mobile-toggle-btn svg,
.mobile-toggle-input:checked ~ .mobile-toggle-btn svg {
  stroke: #ffffff;
}

.mobile-nav-drawer {
  display: none;
}

/* --------------------------------------------------------------------------
   5. Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 10% 20%, rgba(241, 245, 249, 0.8) 0%, rgba(255, 255, 255, 1) 90%);
  padding: 4.5rem 0 5rem;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
}

.hero-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: #ffffff;
  border: 1px solid var(--color-accent-border);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-dark);
  margin-bottom: 1.5rem;
}

.hero-verified svg {
  width: 16px;
  height: 16px;
  color: var(--color-accent);
}

.hero-title {
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--color-primary);
  margin-bottom: 0.85rem;
  letter-spacing: -0.025em;
  word-break: normal;
}

.hero-title span {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.hero-credentials {
  font-size: 1.15rem;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
  font-weight: 600;
  line-height: 1.5;
}

.hero-lead {
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
  margin-bottom: 2rem;
  max-width: 620px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.hero-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.hero-pill svg {
  width: 14px;
  height: 14px;
  stroke: var(--color-secondary);
}

/* Hero Portrait Card */
.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.hero-card {
  position: relative;
  background: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--color-border);
  max-width: 440px;
  width: 100%;
}

.hero-card-img-holder {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-primary-light);
  aspect-ratio: 4 / 5;
}

.hero-card-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-slow);
}

.hero-card:hover .hero-card-img-holder img {
  transform: scale(1.02);
}

.hero-card-badge-top {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-card-badge-top svg {
  width: 14px;
  height: 14px;
  color: var(--color-accent);
}

.hero-card-footer {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.hero-card-meta {
  min-width: 0;
}

.hero-card-meta h4 {
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
  white-space: nowrap;
}

.hero-card-meta p {
  font-size: 0.825rem;
  color: var(--color-text-muted);
  margin-bottom: 0;
  white-space: nowrap;
}

.hero-card-footer .badge {
  margin-bottom: 0;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Floating Award Pill on Card */
.floating-award-pill {
  position: absolute;
  top: 45%;
  right: -1.5rem;
  transform: translateY(-50%);
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  box-shadow: 0 12px 30px -4px rgba(15, 23, 42, 0.18), 0 4px 12px rgba(197, 155, 39, 0.15);
  border: 1px solid var(--color-accent-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  white-space: nowrap;
  animation: floatBadge 4s ease-in-out infinite;
}

@keyframes floatBadge {
  0%, 100% {
    transform: translateY(-50%);
  }
  50% {
    transform: translateY(calc(-50% - 6px));
  }
}

.award-icon {
  width: 38px;
  height: 38px;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

.award-icon svg {
  width: 20px;
  height: 20px;
}

.award-text {
  display: flex;
  flex-direction: column;
}

.award-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.award-sub {
  font-size: 0.725rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   6. Key Metrics / Stats Strip
   -------------------------------------------------------------------------- */
.stats-strip {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: 3rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.stat-item:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.12);
}

.stat-number {
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--color-accent-light);
  line-height: 1;
  margin-bottom: 0.4rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.925rem;
  font-weight: 600;
  color: #cbd5e1;
}

.stat-sub {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-top: 0.2rem;
}

/* --------------------------------------------------------------------------
   6.1. Continuous Institutional & Corporate Marquee
   -------------------------------------------------------------------------- */
.marquee-section {
  background-color: #ffffff;
  padding: 2.25rem 0;
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
  contain: paint;
}

.marquee-title {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  padding: 0 1rem;
}

.marquee-container {
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  contain: paint;
}

.marquee-container::before,
.marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.marquee-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scrollMarquee 38s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.4rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-fast);
}

.marquee-item:hover {
  border-color: var(--color-accent);
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(197, 155, 39, 0.15);
  transform: translateY(-2px);
}

.marquee-item svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent-dark);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   7. About Section
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.highlight-box {
  background-color: #ffffff;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.highlight-box:hover {
  transform: translateY(-2px);
  border-color: var(--color-accent-border);
}

.highlight-icon {
  width: 36px;
  height: 36px;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

.highlight-icon svg {
  width: 20px;
  height: 20px;
}

.highlight-box h4 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.highlight-box p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin-bottom: 0;
}

.about-quote {
  position: relative;
  background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-primary) 100%);
  color: #ffffff;
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-quote::before {
  content: "“";
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 5rem;
  color: rgba(197, 155, 39, 0.2);
  font-family: var(--font-serif);
  line-height: 1;
  pointer-events: none;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.7;
  color: #e2e8f0;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.quote-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.quote-author-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--color-accent);
  object-fit: cover;
}

.quote-author-info h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 0.15rem;
}

.quote-author-info p {
  color: var(--color-accent-light);
  font-size: 0.85rem;
}

.about-focus-box {
  margin-top: 1.75rem;
  background: #ffffff;
  padding: 1.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.expertise-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

@media (max-width: 600px) {
  .about-focus-box {
    padding: 1.25rem 1rem;
  }
  .expertise-list {
    grid-template-columns: 1fr;
  }
}

/* --------------------------------------------------------------------------
   8. Executive Experience & Corporate Roles
   -------------------------------------------------------------------------- */
.experience-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.experience-column h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--color-border);
}

.experience-column h3 svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent-dark);
}

/* Timeline Cards */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.75rem;
  bottom: 0.75rem;
  width: 2px;
  background-color: var(--color-border);
}

.timeline-item {
  position: relative;
}

.timeline-dot {
  position: absolute;
  left: -1.5rem;
  top: 1.25rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: #ffffff;
  border: 3px solid var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.2);
}

.timeline-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.timeline-card:hover {
  border-color: var(--color-accent-border);
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

.timeline-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-secondary);
  background-color: #eff6ff;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.timeline-role {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.timeline-company {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.75rem;
}

.timeline-desc {
  font-size: 0.88rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.timeline-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.timeline-tag {
  font-size: 0.75rem;
  background-color: var(--color-bg-alt);
  color: var(--color-text-muted);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
}

/* Corporate & Academic Affiliations */
.affiliations-card-wrap {
  background: #ffffff;
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  width: 100%;
  box-sizing: border-box;
}

.affiliations-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.75rem 1.25rem;
  align-items: center;
  justify-items: center;
  width: 100%;
}

.affiliations-grid .cert-card {
  width: 100%;
  max-width: 130px;
  text-align: center;
  cursor: pointer;
  border: none;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.6rem;
  border-radius: var(--radius-md);
  transition: transform var(--transition-fast), background var(--transition-fast);
  box-sizing: border-box;
}

.affiliations-grid .cert-card:hover {
  transform: translateY(-3px);
  background: var(--color-bg-alt);
}

.affiliations-grid img {
  max-height: 65px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  display: block;
}

.affiliations-grid span {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  margin-top: 0.6rem;
  line-height: 1.3;
}

.cv-cta-banner {
  margin-top: 4rem;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  box-sizing: border-box;
  width: 100%;
}

/* --------------------------------------------------------------------------
   9. Academic Qualifications & Fellowships
   -------------------------------------------------------------------------- */
.qualifications-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.qual-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.qual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-secondary) 100%);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.qual-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-border);
}

.qual-card:hover::before {
  opacity: 1;
}

.qual-icon {
  width: 48px;
  height: 48px;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
}

.qual-icon svg {
  width: 26px;
  height: 26px;
}

.qual-degree {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.qual-field {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.5rem;
}

.qual-institution {
  font-size: 0.925rem;
  color: var(--color-text-secondary);
  margin-bottom: 1rem;
}

.qual-meta {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Fellowships Grid */
.fellowships-strip {
  margin-top: 3.5rem;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

.fellowships-header {
  text-align: center;
  margin-bottom: 2rem;
}

.fellowships-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.fellowship-item {
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all var(--transition-fast);
}

.fellowship-item:hover {
  background-color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}

.fellowship-badge {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

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

.fellowship-name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.fellowship-country {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   10. Research Capability & Journal Articles
   -------------------------------------------------------------------------- */
.research-filters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
}

.filter-btn {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background-color: var(--color-primary);
  color: #ffffff;
  border-color: var(--color-primary);
}

.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 1.5rem;
}

.research-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.research-card:hover {
  border-color: var(--color-accent-border);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.research-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.research-category {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-secondary);
  background-color: #eff6ff;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.research-year {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.research-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.research-authors {
  font-size: 0.85rem;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.research-desc {
  font-size: 0.875rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.research-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.research-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-secondary);
}

.research-link svg {
  width: 14px;
  height: 14px;
}

.research-link:hover {
  color: var(--color-accent-dark);
}

/* --------------------------------------------------------------------------
   11. National Contributions & Recognition
   -------------------------------------------------------------------------- */
.contributions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.contrib-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
}

.contrib-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-accent-border);
  box-shadow: var(--shadow-lg);
}

.contrib-icon {
  width: 46px;
  height: 46px;
  background: var(--color-accent-subtle);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-dark);
  margin-bottom: 1.25rem;
}

.contrib-icon svg {
  width: 24px;
  height: 24px;
}

.contrib-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.contrib-org {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-accent-dark);
  margin-bottom: 0.85rem;
}

.contrib-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   12. CSR & Community Social Work
   -------------------------------------------------------------------------- */
.csr-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.csr-card {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-fast);
}

.csr-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-border);
}

.csr-card-header {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  color: #ffffff;
  padding: 2rem 1.5rem;
  position: relative;
}

.csr-card-header-icon {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent-light);
  margin-bottom: 1rem;
}

.csr-card-header-icon svg {
  width: 22px;
  height: 22px;
}

.csr-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.3;
}

.csr-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.csr-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.csr-card-bullets {
  list-style: none;
  margin-bottom: 1rem;
}

.csr-card-bullets li {
  position: relative;
  padding-left: 1.25rem;
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-bottom: 0.4rem;
}

.csr-card-bullets li::before {
  content: "•";
  position: absolute;
  left: 0.25rem;
  color: var(--color-accent);
  font-weight: bold;
}

/* --------------------------------------------------------------------------
   12.1. Photo Gallery (Graduations, Convocations & Events)
   -------------------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent-border);
}

.gallery-img-holder {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background-color: var(--color-primary-light);
}

.gallery-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .gallery-img-holder img {
  transform: scale(1.05);
}

.gallery-card-caption {
  padding: 1.25rem;
}

.gallery-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.35rem;
}

.gallery-card-sub {
  font-size: 0.825rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   13. Contact & Office Locations Section
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
}

.contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card-box {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-fast);
}

.contact-card-box:hover {
  border-color: var(--color-accent-border);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.contact-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--color-accent-subtle);
  color: var(--color-accent-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-wrap svg {
  width: 24px;
  height: 24px;
}

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 0.35rem;
}

.contact-details p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.contact-details a {
  color: var(--color-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.contact-details a:hover {
  color: var(--color-accent-dark);
}

/* Contact Form */
.contact-form-wrap {
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.contact-form-header {
  margin-bottom: 1.75rem;
}

.contact-form-header h3 {
  margin-bottom: 0.35rem;
}

.contact-form-header p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
  background-color: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-main);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  background-color: #ffffff;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(197, 155, 39, 0.15);
}

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

/* --------------------------------------------------------------------------
   14. Modern Executive Site Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, rgba(197, 155, 39, 0.08) 0%, transparent 65%),
              linear-gradient(180deg, #090e1a 0%, #050811 100%);
  color: #94a3b8;
  padding: 5rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 0 rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

/* Subtle luxury accent hairline at the top of footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 5%;
  right: 5%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 155, 39, 0.4), rgba(255, 255, 255, 0.8), rgba(197, 155, 39, 0.4), transparent);
  box-shadow: 0 0 14px rgba(197, 155, 39, 0.35);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
}

/* Column 1: Brand */
.footer-brand h3 {
  color: #ffffff;
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
  line-height: 1.25;
}

.footer-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-accent-light);
  background: rgba(197, 155, 39, 0.12);
  border: 1px solid rgba(197, 155, 39, 0.3);
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 1.1rem;
}

.footer-brand p {
  color: #94a3b8;
  font-size: 0.9rem;
  line-height: 1.65;
  margin-bottom: 1.35rem;
}

.footer-brand-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-brand-actions .btn {
  border-radius: 9999px;
  padding: 0.5rem 1.15rem;
  font-size: 0.825rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-brand-actions .btn:hover {
  background: rgba(197, 155, 39, 0.18);
  border-color: rgba(197, 155, 39, 0.6);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35), 0 0 10px rgba(197, 155, 39, 0.2);
}

/* Columns 2 & 3: Navigation & Credentials */
.footer-col h5 {
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.15rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: #94a3b8;
  font-size: 0.88rem;
  line-height: 1.4;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-decoration: none;
}

/* Column 4: Office Coordinates */
.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  margin-bottom: 1rem;
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
  transition: all 0.2s ease;
}

.footer-contact-item:hover .footer-contact-icon {
  background: rgba(197, 155, 39, 0.18);
  border-color: rgba(197, 155, 39, 0.5);
  color: #ffffff;
  transform: scale(1.05);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
}

.footer-contact-item strong {
  color: #f8fafc;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 0.15rem;
}

.footer-contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-contact-item a:hover {
  color: var(--color-accent-light);
  text-decoration: underline;
}

/* Modern Bottom Copyright & Developed By Bar */
.footer-bottom {
  padding: 1.85rem 0 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.footer-copyright {
  font-size: 0.875rem;
  color: #94a3b8;
  font-weight: 400;
  letter-spacing: 0.01em;
}

.footer-dev {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-right: 70px;
}

@media (max-width: 768px) {
  .footer-dev {
    margin-right: 0;
  }
}

.footer-dev-text {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Perfect Solution brand link (Transparent background, enlarged presentation) */
.footer-dev-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
  text-decoration: none;
  line-height: 1;
}

.footer-dev-badge:hover {
  transform: translateY(-2px) scale(1.04);
  filter: drop-shadow(0 4px 14px rgba(237, 28, 36, 0.45));
}

.footer-dev-logo {
  height: 42px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5)) brightness(1.08);
  transition: all 0.25s ease;
}

.footer-dev-badge:hover .footer-dev-logo {
  filter: drop-shadow(0 2px 8px rgba(237, 28, 36, 0.35)) brightness(1.15);
}

/* --------------------------------------------------------------------------
   15. Certificate Grid & Lightbox Viewer (Base Styles)
   -------------------------------------------------------------------------- */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.cert-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-accent);
}

.cert-img-holder {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background-color: #f1f5f9;
}

.cert-img-holder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.cert-card:hover .cert-img-holder img {
  transform: scale(1.04);
}

.cert-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.4);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-fast);
}

.cert-card:hover .cert-card-overlay {
  opacity: 1;
}

.cert-zoom-btn {
  background: #ffffff;
  color: var(--color-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transform: scale(0.8);
  transition: transform var(--transition-fast);
}

.cert-card:hover .cert-zoom-btn {
  transform: scale(1);
}

.cert-card-caption {
  padding: 1rem 1.25rem;
  background: #ffffff;
  border-top: 1px solid var(--color-border-light);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cert-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
  line-height: 1.35;
}

.cert-card-sub {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* Lightbox Modal */
.lightbox-modal {
  display: none;
  position: fixed;
  z-index: 100000;
  inset: 0;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1.5rem;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-modal.active {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 92vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #ffffff;
}

.lightbox-caption {
  margin-top: 1rem;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  max-width: 800px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #ffffff;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox-close:hover {
  background: var(--color-accent);
  color: var(--color-primary);
  transform: scale(1.1);
}

/* --------------------------------------------------------------------------
   16. Responsive Media Queries (Desktop-Down Hierarchical Order)
   -------------------------------------------------------------------------- */

/* Breakpoint 1: 1140px (Desktop Navigation to Mobile Drawer) */
@media (max-width: 1140px) {
  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: #ffffff !important;
    width: 100%;
  }

  .header-inner {
    justify-content: space-between;
    width: 100%;
  }

  .brand {
    max-width: calc(100% - 60px);
    min-width: 0;
  }

  .top-bar {
    display: none !important;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-toggle-btn {
    display: flex !important;
  }

  .mobile-toggle-input:checked ~ .mobile-nav-drawer,
  .mobile-nav-drawer.active {
    display: flex !important;
  }

  .mobile-nav-drawer {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    max-width: 100vw;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background-color: #0f172a;
    z-index: 99999;
    flex-direction: column;
    padding: 1.5rem 1.25rem 3rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
  }

  .mobile-nav-drawer a {
    color: #e2e8f0;
    font-size: 1.05rem;
    font-weight: 600;
    padding: 0.75rem 0.6rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    transition: all var(--transition-fast);
  }

  .mobile-nav-drawer a:hover,
  .mobile-nav-drawer a.active {
    color: var(--color-accent-light);
    padding-left: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
    width: 100%;
  }

  .hero-content {
    align-items: center;
    width: 100%;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-pill-list {
    justify-content: center;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .experience-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .floating-award-pill {
    position: static !important;
    margin: 1.25rem auto 0 !important;
    transform: none !important;
    animation: none !important;
    width: auto !important;
    max-width: 100% !important;
    white-space: normal !important;
  }
}

/* Breakpoint 2: 992px (Intermediate Tablets) */
@media (max-width: 992px) {
  .qualifications-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .contributions-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .csr-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }

  .stat-item:nth-child(2)::after {
    display: none;
  }

  .research-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .affiliations-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem 1rem;
  }
}

/* Breakpoint 3: 768px (Small Tablets & Large Phones) */
@media (max-width: 768px) {
  :root {
    --header-height: 72px;
  }

  /* Prevent any element from overflowing viewport */
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100vw !important;
  }

  /* Responsive text-wrapping for all buttons to eliminate mobile overflow */
  .btn, .btn-md, .btn-lg, .btn-sm, .btn-primary, .btn-gold, .btn-outline {
    white-space: normal !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    text-align: center !important;
    box-sizing: border-box !important;
  }

  .site-header,
  .site-footer,
  main,
  .hero,
  .marquee-section,
  .stats-strip,
  .section {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: clip !important;
  }

  .affiliations-card-wrap {
    padding: 1.5rem 1rem !important;
  }

  .affiliations-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 0.75rem !important;
  }

  .cv-cta-banner {
    padding: 1.75rem 1.25rem !important;
    flex-direction: column !important;
    align-items: stretch !important;
    text-align: center !important;
    gap: 1.5rem !important;
  }

  .cv-cta-banner .btn {
    width: 100% !important;
  }

  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }

  /* Header on Mobile: hide CTA button so logo and hamburger have ample room */
  .header-inner {
    gap: 0.5rem;
    justify-content: space-between;
    width: 100%;
  }

  .brand {
    gap: 0.6rem;
    min-width: 0;
    flex-shrink: 1;
    max-width: calc(100% - 56px);
  }

  .brand-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    flex-shrink: 0;
  }

  .brand-icon svg {
    width: 22px;
    height: 22px;
  }

  .brand-text {
    min-width: 0;
    overflow: hidden;
  }

  .brand-title {
    font-size: 0.95rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    line-height: 1.2;
  }

  .brand-subtitle {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    letter-spacing: 0.02em;
    line-height: 1.25;
  }

  .header-cta {
    gap: 0;
    margin-left: auto;
    flex-shrink: 0;
  }

  .header-cta .btn {
    display: none !important;
  }

  /* Hero Adjustments */
  .hero {
    padding: 3.5rem 0 4rem;
  }

  .hero-title {
    font-size: clamp(1.85rem, 6.5vw, 2.5rem);
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .hero-credentials {
    font-size: 1.05rem;
    word-break: break-word;
  }

  .hero-lead {
    font-size: 1rem;
    word-break: break-word;
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
    padding: 0.85rem 1.25rem;
    text-align: center;
  }

  .hero-card {
    padding: 1rem;
    max-width: 100%;
    width: 100%;
  }

  /* Stats Strip on Mobile */
  .stats-strip {
    padding: 2.25rem 0;
    width: 100%;
  }

  .stat-item:not(:last-child)::after {
    display: none !important;
  }

  /* About Highlights */
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .about-quote {
    padding: 2rem 1.5rem;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  /* Timeline */
  .timeline {
    padding-left: 1.25rem;
  }

  .timeline-dot {
    left: -1.25rem;
    width: 12px;
    height: 12px;
  }

  .timeline-card {
    padding: 1.25rem 1rem;
    word-break: break-word;
  }

  /* Grids to Single Column */
  .qualifications-grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .cert-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
  }

  .fellowships-strip {
    padding: 1.75rem 1.25rem;
    margin-top: 2rem;
  }

  .fellowships-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .research-filters {
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }

  .filter-btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.85rem;
  }

  /* Contact & Form */
  .contact-form-wrap {
    padding: 1.75rem 1.25rem;
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .form-control {
    font-size: 16px; /* Prevents iOS auto-zoom on input tap */
  }

  .contact-card-box {
    padding: 1.25rem 1rem;
    word-break: break-word;
  }

  .contact-details p,
  .contact-details a {
    word-break: break-word;
  }

  /* Footer on Mobile: Full Width and Perfectly Aligned */
  .site-footer {
    padding: 3rem 0 0;
    width: 100%;
    max-width: 100vw;
    overflow: hidden;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2.25rem;
    padding-bottom: 2.25rem;
    width: 100%;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-brand h3 {
    font-size: 1.2rem;
    line-height: 1.3;
    margin-bottom: 0.6rem;
    word-break: break-word;
  }

  .footer-brand p {
    font-size: 0.88rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    word-break: break-word;
  }

  .footer-col {
    width: 100%;
  }

  .footer-col h5 {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.35rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
  }

  .footer-links a {
    font-size: 0.88rem;
    padding: 0.3rem 0;
    display: block;
    word-break: break-word;
  }

  .footer-contact-item {
    font-size: 0.85rem;
    word-break: break-word;
    margin-bottom: 0.85rem;
  }

  .footer-contact-item div {
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
    padding: 1.75rem 0 2.25rem;
    font-size: 0.85rem;
    width: 100%;
    align-items: center;
  }

  .footer-dev {
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .footer-dev-logo {
    height: 36px;
    max-width: 180px;
  }
}

/* Breakpoint 4: 480px and below (Smartphones) */
@media (max-width: 480px) {
  :root {
    --header-height: 66px;
  }

  .container {
    padding-left: 1rem;
    padding-right: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .section {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }

  .brand {
    gap: 0.5rem;
    max-width: calc(100% - 50px);
  }

  .brand-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
  }

  .brand-icon svg {
    width: 20px;
    height: 20px;
  }

  .brand-title {
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-subtitle {
    font-size: 0.56rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-verified {
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
  }

  .hero-title {
    font-size: 1.7rem;
    line-height: 1.18;
  }

  .hero-credentials {
    font-size: 0.925rem;
  }

  .hero-pill-list {
    gap: 0.35rem;
  }

  .hero-pill {
    font-size: 0.72rem;
    padding: 0.25rem 0.6rem;
  }

  .hero-card {
    padding: 0.75rem;
    width: 100%;
  }

  .hero-card-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .hero-card-meta h4 {
    font-size: 0.98rem;
    white-space: normal;
  }

  .hero-card-meta p {
    font-size: 0.78rem;
    white-space: normal;
  }

  .hero-card-footer .badge {
    align-self: flex-start;
  }

  /* Single Column Stats on small phones */
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .stat-item:not(:last-child)::after {
    display: none !important;
  }

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

  /* Single Column Certificates on small phones */
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Lightbox on small screens */
  .lightbox-modal {
    padding: 0.75rem 0.5rem;
  }

  .lightbox-close {
    top: 0.5rem;
    right: 0.5rem;
    width: 36px;
    height: 36px;
  }

  .lightbox-content img {
    max-height: 70vh;
  }

  .lightbox-caption {
    font-size: 0.825rem;
    padding: 0 0.5rem;
  }

  /* Affiliations on small smartphones */
  .affiliations-card-wrap {
    padding: 1.25rem 0.75rem !important;
  }

  .affiliations-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem 0.5rem !important;
  }

  .affiliations-grid img {
    max-height: 50px !important;
  }

  .affiliations-grid span {
    font-size: 0.72rem !important;
  }

  .cv-cta-banner {
    padding: 1.25rem 1rem !important;
  }

  /* Card padding reduction to prevent narrow squeezed content */
  .contrib-card,
  .csr-card,
  .qual-card,
  .research-card {
    padding: 1.35rem 1.15rem !important;
    word-break: break-word !important;
  }

  .btn, .btn-md, .btn-lg, .btn-sm {
    white-space: normal !important;
    width: 100% !important;
    max-width: 100% !important;
    word-break: normal !important;
    overflow-wrap: break-word !important;
    line-height: 1.35 !important;
    text-align: center !important;
  }
}

/* --------------------------------------------------------------------------
   18. WhatsApp Floating Widget & Action Buttons
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99999;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45), 0 4px 12px rgba(15, 23, 42, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.55);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  cursor: pointer;
}

.whatsapp-float-icon {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.whatsapp-float-icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.whatsapp-float-text {
  display: none !important;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.6), 0 6px 16px rgba(15, 23, 42, 0.25);
  color: #ffffff !important;
  border-color: #ffffff;
}

/* Subtle continuous pulse glow */
.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  z-index: -1;
  animation: waPulse 2.4s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

@keyframes waPulse {
  0% {
    transform: scale(0.96);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.16);
    opacity: 0;
  }
  100% {
    transform: scale(1.22);
    opacity: 0;
  }
}

/* Standalone & In-Page WhatsApp Button (Contact sections & Cards) */
.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  padding: 0.75rem 1.4rem;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #28e06c 0%, #159b8c 100%);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.48);
}

.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Footer WhatsApp action button */
.btn-whatsapp-subtle {
  background: rgba(37, 211, 102, 0.14) !important;
  border: 1px solid rgba(37, 211, 102, 0.45) !important;
  color: #86efac !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.btn-whatsapp-subtle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.btn-whatsapp-subtle:hover {
  background: #25D366 !important;
  color: #ffffff !important;
  border-color: #25D366 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* Responsive adjustment for Mobile screens */
@media (max-width: 640px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    padding: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    justify-content: center;
  }
  .whatsapp-float-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-float-text {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   19. Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .top-bar, .site-header, .hero-actions, .research-filters, .contact-form-wrap, .site-footer, .whatsapp-float {
    display: none !important;
  }

  body {
    background-color: #ffffff;
    color: #000000;
    font-size: 12pt;
  }

  .container {
    max-width: 100%;
    padding: 0;
  }

  .section {
    padding: 1.5rem 0;
    page-break-inside: avoid;
  }
}


