@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0f172a;
  /* Deep slate */
  --primary-light: #1e293b;
  --accent: #3b82f6;
  /* Vibrant blue */
  --accent-hover: #2563eb;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --text-main: #334155;
  --text-muted: #64748b;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --scrolled-bg: rgba(255, 255, 255, 0.95);
  --glass-border: rgba(255, 255, 255, 0.5);
  --border-color: rgba(0, 0, 0, 0.1);
  --bg-body: var(--bg-light);
}

body.dark-mode {
  --bg-light: #0f172a;
  --bg-white: #1e293b;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --primary: #f8fafc;
  --primary-light: #334155;
  --glass-bg: rgba(15, 23, 42, 0.85);
  --scrolled-bg: rgba(30, 41, 59, 0.95);
  --glass-border: rgba(255, 255, 255, 0.1);
  --border-color: rgba(255, 255, 255, 0.1);
  --bg-body: var(--bg-light);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.3);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.5);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.5);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-light);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  max-width: 100vw;
}

/* Glassmorphism Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-md);
  background: var(--scrolled-bg);
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

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

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

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

.nav-links a:hover {
  color: var(--accent);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--primary);
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 5% 60px 5%;
  background: var(--bg-light);
  position: relative;
  overflow: hidden;
}

/* Mesh Gradient Background */
.mesh-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
  opacity: 0.5;
  animation: meshFloat 20s infinite ease-in-out alternate;
}

.mesh-blob-1 {
  width: 600px;
  height: 600px;
  background: rgba(59, 130, 246, 0.6);
  top: -100px;
  left: -100px;
}

.mesh-blob-2 {
  width: 500px;
  height: 500px;
  background: rgba(139, 92, 246, 0.5);
  bottom: -50px;
  right: -50px;
  animation-delay: -5s;
}

.mesh-blob-3 {
  width: 400px;
  height: 400px;
  background: rgba(236, 72, 153, 0.4);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -10s;
}

body.dark-mode .mesh-blob {
  opacity: 0.25;
}

@keyframes meshFloat {
  0% {
    transform: scale(1) translate(0, 0);
  }

  33% {
    transform: scale(1.1) translate(100px, 50px);
  }

  66% {
    transform: scale(0.9) translate(-50px, 100px);
  }

  100% {
    transform: scale(1) translate(-100px, -50px);
  }
}

.hero-glass-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 0;
}

body.dark-mode .hero-glass-overlay {
  background: rgba(15, 23, 42, 0.5);
}

/* Decorative background blobs */
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: 0;
  opacity: 0.6;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #dbeafe;
  top: -100px;
  right: -100px;
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  width: 300px;
  height: 300px;
  background: #e0e7ff;
  bottom: -50px;
  left: -50px;
  animation: float 6s ease-in-out infinite reverse;
}

@keyframes float {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(30px, 30px);
  }

  100% {
    transform: translate(0, 0);
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(59, 130, 246, 0.1);
  color: var(--accent);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 0) 100%);
  transform: skewX(-25deg);
  animation: badgeShine 3s infinite 1.5s;
}

body.dark-mode .hero-badge::after {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 100%);
}

@keyframes badgeShine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

.hero-title {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 2;
  text-shadow: none;
}

body.dark-mode .hero-title {
  color: #f8fafc;
  text-shadow: none;
}

.highlight-text {
  position: relative;
  display: inline-block;
  color: #ffffff !important;
  padding: 0 0.5rem;
  z-index: 1;
}

.highlight-text::before {
  content: '';
  position: absolute;
  bottom: 0%;
  left: 0;
  width: 100%;
  height: 85%;
  background-color: var(--accent);
  z-index: -1;
  transform: skewX(-10deg) rotate(-2deg);
  transform-origin: left;
  border-radius: 4px;
  animation: drawHighlight 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
  opacity: 0;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

@keyframes drawHighlight {
  0% {
    transform: scaleX(0) skewX(-10deg) rotate(-2deg);
    opacity: 1;
  }

  100% {
    transform: scaleX(1) skewX(-10deg) rotate(-2deg);
    opacity: 1;
  }
}

body.dark-mode .highlight-text {
  color: #0f172a !important;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
}

.btn {
  padding: 0.875rem 2rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
  border: 1px solid var(--accent);
  box-shadow: 0 4px 14px 0 rgb(59 130 246 / 0.39);
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.6), 0 6px 20px rgb(59 130 246 / 0.23);
}

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

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

.hero-image {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.profile-card {
  background: var(--bg-white);
  padding: 1rem;
  border-radius: 2rem;
  box-shadow: var(--shadow-xl);
  transform: rotate(2deg);
  transition: var(--transition);
}

.profile-card:hover {
  transform: rotate(0deg) scale(1.02);
}

.profile-img {
  width: 450px;
  height: 520px;
  object-fit: cover;
  border-radius: 1.5rem;
}

/* Sections General */
section {
  padding: 5rem 5%;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 3rem;
}

/* Cards layout (Notices preview, quick links) */
.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid var(--glass-border);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent);
  transform: scaleY(0);
  transition: var(--transition);
  transform-origin: bottom;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15), var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.3);
}

.card:hover::before {
  transform: scaleY(1);
}

/* ========================================= */
/* Testimonial Carousel                      */
/* ========================================= */
#testimonials {
  padding: 5rem 5% 2rem 5%;
}

.carousel-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
}

.carousel-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 2rem;
  padding: 2rem 60px;
  -webkit-overflow-scrolling: touch;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

.carousel-card {
  min-width: 350px;
  flex: 0 0 350px;
  scroll-snap-align: center;
  background: var(--bg-white);
  text-align: left;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  border: 1px solid var(--glass-border);
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--accent);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn {
  left: 10px;
}

.next-btn {
  right: 10px;
}

@media screen and (max-width: 768px) {
  .carousel-card {
    min-width: 280px;
    flex: 0 0 280px;
  }

  .carousel-btn {
    display: none;
  }

  .carousel-track {
    padding: 2rem 5%;
  }
}

/* Call To Action (Contact) Section */
.cta-section {
  background: linear-gradient(135deg, var(--accent), #8b5cf6);
  border-radius: 2rem;
  padding: 4rem 5%;
  margin: 5rem 5%;
  position: relative;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  color: white;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-white {
  background: white;
  color: var(--accent);
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  background: #f8fafc;
}

.cta-shapes .shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  z-index: 1;
}

.cta-shapes .shape-1 {
  width: 300px;
  height: 300px;
  background: rgba(255, 255, 255, 0.2);
  top: -100px;
  right: -50px;
}

.cta-shapes .shape-2 {
  width: 250px;
  height: 250px;
  background: rgba(255, 255, 255, 0.15);
  bottom: -80px;
  left: -50px;
}

/* Footer Element */
footer {
  background-color: var(--primary);
  color: var(--bg-light);
  padding: 3rem 5% 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.footer-col h3 {
  color: white;
  margin-bottom: 1.5rem;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
  display: block;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: white;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
}

/* Reusable Utility Classes */
.mt-4 {
  margin-top: 1rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.text-center {
  text-align: center;
}

/* Typed.js Cursor Accent */
.typed-cursor {
  color: var(--accent);
  font-weight: 400;
  animation: blink 1.2s infinite;
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Responsive Media Queries */
@media screen and (max-width: 900px) {
  .hero {
    flex-direction: column-reverse;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 60px;
  }

  .hero-title {
    font-size: 3rem;
  }

  .profile-img {
    width: 250px;
    height: 300px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: color-mix(in srgb, var(--bg-white) 80%, transparent);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    z-index: 1050;
  }

  .nav-links.active {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }
}

/* ========================================= */
/* UX ENHANCEMENTS: Cursor, Scroll Loader, etc */
/* ========================================= */

/* Custom Cursor */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width 0.2s ease, height 0.2s ease, background-color 0.2s ease;
  mix-blend-mode: difference;
}

@media screen and (max-width: 900px) {
  .custom-cursor {
    display: none;
  }
}

.custom-cursor.hover {
  width: 45px;
  height: 45px;
  background-color: rgba(59, 130, 246, 0.2);
  border-color: transparent;
}

/* Scroll Progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 10000;
  box-shadow: 0 0 10px var(--accent);
}

/* Scroll To Top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--accent-hover);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(59, 130, 246, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 0.5rem;
}

.theme-toggle:hover {
  transform: rotate(15deg) scale(1.1);
  color: var(--accent);
}

/* ========================================= */
/* Announcement Banner                       */
/* ========================================= */

#announcement-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(90deg, #2563eb, #8b5cf6, #ec4899);
  background-size: 200% auto;
  animation: shineGradient 5s linear infinite;
  color: white;
  z-index: 1050;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
}

@keyframes shineGradient {
  0% {
    background-position: 0% center;
  }

  100% {
    background-position: 200% center;
  }
}

#announcement-banner span {
  display: flex;
  align-items: center;
}

#announcement-banner a {
  color: #fff;
  text-decoration: underline;
  margin-left: 0.5rem;
  font-weight: 700;
}

#announcement-banner a:hover {
  color: #e2e8f0;
}

.banner-close {
  position: absolute;
  right: 1.5rem;
  background: transparent;
  color: white;
  border: none;
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: transform 0.2s;
}

.banner-close:hover {
  transform: scale(1.2);
}


/* ========================================= */
/* Toast Notification Popup                  */
/* ========================================= */

.toast-notification {
  position: fixed;
  bottom: 180px;
  /* Moved up to clear WhatsApp widget */
  right: 30px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  padding: 15px;
  width: 320px;
  z-index: 1000;
  transform: translateX(150%);
  opacity: 0;
  transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.toast-notification.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  font-size: 2rem;
  color: var(--accent);
  margin-right: 15px;
}

.toast-content h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 3px;
}

.toast-content p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 5px;
  line-height: 1.3;
}

.toast-content a {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.toast-content a:hover {
  text-decoration: underline;
}

.toast-close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: color 0.3s ease;
}

.toast-close:hover {
  color: #ef4444;
}

/* ========================================= */
/* Floating Action Button (FAB)              */
/* ========================================= */

.fab-container {
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 1000;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 15px;
}

.fab-toggle {
  width: 55px;
  height: 55px;
  background: var(--accent);
  color: white;
  border: none;
  border-radius: 50%;
  font-size: 1.8rem;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s;
  z-index: 2;
}

.fab-toggle i {
  transition: transform 0.3s ease;
}

.fab-toggle:hover {
  background: var(--accent-hover);
  transform: scale(1.1);
}

.fab-container.active .fab-toggle i {
  transform: rotate(135deg);
}

.fab-container.active .fab-toggle {
  background: #ef4444;
  /* Turns red to indicate 'Close' */
}

.fab-menu {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.fab-container.active .fab-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.fab-item {
  width: 45px;
  height: 45px;
  background: var(--bg-white);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
  position: relative;
  border: 1px solid var(--glass-border);
}

.fab-item:hover {
  background: var(--accent);
  color: white;
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(59, 130, 246, 0.3);
}

/* Tooltip for FAB items */
.fab-item::before {
  content: attr(data-tooltip);
  position: absolute;
  left: calc(100% + 15px);
  background: var(--primary-light);
  color: var(--bg-light);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-10px);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

/* Small tooltip arrow */
.fab-item::after {
  content: '';
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: transparent var(--primary-light) transparent transparent;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.fab-item:hover::before,
.fab-item:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.fab-item:hover::before {
  transform: translateX(0);
}

/* ========================================= */
/* Custom Scrollbars                         */
/* ========================================= */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--text-muted);
  border-radius: 10px;
  border: 3px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* Standard Firefox Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--text-muted) var(--bg-light);
}

/* ========================================= */
/* Standalone WhatsApp Widget                */
/* ========================================= */

.whatsapp-widget {
  position: fixed;
  bottom: 110px;
  right: 30px;
  width: 55px;
  height: 55px;
  background-color: #25D366;
  /* Official WhatsApp Green */
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  z-index: 999;
  transition: all 0.3s ease;
  animation: pulse-green 2s infinite;
}

.whatsapp-widget:hover {
  transform: scale(1.1) rotate(5deg);
  background-color: #128C7E;
  color: white;
  animation: none;
}

.status-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #ff3b30;
  border: 2px solid white;
  border-radius: 50%;
  z-index: 1000;
}

/* Tooltip for WhatsApp */
.whatsapp-widget::before {
  content: attr(data-tooltip);
  position: absolute;
  right: calc(100% + 15px);
  background: var(--primary-light);
  color: var(--bg-light);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(10px);
  pointer-events: none;
  box-shadow: var(--shadow-sm);
}

.whatsapp-widget:hover::before {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ========================================= */
/* Mobile Responsiveness Fixes               */
/* ========================================= */
@media screen and (max-width: 600px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

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

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .logo {
    font-size: 1.25rem;
  }

  /* Floating elements adjustment */
  .toast-notification {
    width: calc(100% - 40px);
    right: 20px;
    bottom: 160px;
  }

  .whatsapp-widget {
    right: 20px;
    bottom: 100px;
    width: 45px;
    height: 45px;
    font-size: 1.8rem;
  }

  .scroll-top {
    right: 20px;
    bottom: 20px;
    width: 45px;
    height: 45px;
  }

  .fab-container {
    left: 20px;
    bottom: 20px;
  }

  .fab-toggle {
    width: 50px;
    height: 50px;
    font-size: 1.6rem;
  }

  .fab-item {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }

  /* Card layouts */
  section {
    padding: 4rem 5%;
  }

  .card {
    padding: 1.5rem;
  }

  /* Footer */
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 2rem;
  }

  .hero-image {
    width: 100%;
    justify-content: center;
    margin-bottom: 2rem;
  }

  .profile-img {
    width: 100%;
    max-width: 250px;
    height: auto;
    aspect-ratio: 4/5;
  }

  /* Top Banner Fixes */
  #announcement-banner {
    height: auto;
    min-height: 45px;
    padding: 10px 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  #announcement-banner span {
    display: inline-block;
    line-height: 1.4;
    text-align: center;
  }

  .banner-close {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
  }

  .banner-close:hover {
    transform: translateY(-50%) scale(1.2);
  }
}