/* ============================================================
   TARIQBLOG - TAILWIND CSS DESIGN SYSTEM
   Color Palette, Typography, and Theme Configuration
   Based on design-system/saas-dashboard-layout/MASTER.md
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Palette - Light Mode */
  --color-primary: #2563EB;
  --color-on-primary: #FFFFFF;
  --color-secondary: #3B82F6;
  --color-on-secondary: #000000;
  --color-accent: #EA580C;
  --color-on-accent: #000000;
  --color-background: #F8FAFC;
  --color-foreground: #1E293B;
  --color-card: #FFFFFF;
  --color-card-foreground: #1E293B;
  --color-muted: #E9EFF8;
  --color-muted-foreground: #475569;
  --color-border: #E2E8F0;
  --color-destructive: #DC2626;
  --color-on-destructive: #FFFFFF;
  --color-ring: #2563EB;

  /* Dark Mode Overrides */
  --color-bg-dark: #0F172A;
  --color-surface-dark: #1E293B;
  --color-surface-secondary-dark: #2D3E52;
  --color-text-dark: #F8FAFC;
  --color-text-secondary-dark: #CBD5E1;
  --color-border-dark: #334155;

  /* Spacing Scale */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;

  /* Shadow Depths */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);

  /* Typography */
  --font-family-base: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* Transitions */
  --transition-fast: 150ms ease-in-out;
  --transition-base: 200ms ease-in-out;
  --transition-slow: 300ms ease-in-out;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
}

/* Dark Mode Support */
html.dark {
  --color-background: #0F172A;
  --color-foreground: #F8FAFC;
  --color-card: #1E293B;
  --color-card-foreground: #F8FAFC;
  --color-muted: #334155;
  --color-muted-foreground: #CBD5E1;
  --color-border: #334155;
  --color-primary: #60A5FA;
  --color-secondary: #93C5FD;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: var(--font-family-base);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-foreground);
  background-color: var(--color-background);
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography Scale */
h1 {
  font-size: 2.25rem;
  font-weight: var(--font-weight-bold);
  line-height: 2.5rem;
  margin-bottom: var(--space-md);
}

h2 {
  font-size: 1.875rem;
  font-weight: var(--font-weight-bold);
  line-height: 2.25rem;
  margin-bottom: var(--space-md);
}

h3 {
  font-size: 1.5rem;
  font-weight: var(--font-weight-semibold);
  line-height: 2rem;
  margin-bottom: var(--space-sm);
}

h4 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.75rem;
  margin-bottom: var(--space-sm);
}

h5 {
  font-size: 1.125rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5rem;
  margin-bottom: var(--space-xs);
}

h6 {
  font-size: 1rem;
  font-weight: var(--font-weight-semibold);
  line-height: 1.5rem;
  margin-bottom: var(--space-xs);
}

p {
  margin-bottom: var(--space-md);
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

/* Buttons - Base Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
  font-size: 1rem;
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  opacity: 0.9;
  box-shadow: var(--shadow-lg);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-sm);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.btn-destructive {
  background-color: var(--color-destructive);
  color: var(--color-on-destructive);
}

.btn-destructive:hover {
  opacity: 0.9;
}

/* Container */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Cards - Glassmorphism Effect */
.card {
  background-color: var(--color-card);
  color: var(--color-card-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.card-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

html.dark .card-glass {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.1);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

/* Grid Bento Layout */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 768px) {
  .grid-cols-2 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  .grid-cols-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .grid-cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Bento Specific Configurations */
.bento-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.bento-item.span-2 {
  grid-column: span 2;
}

.bento-item.span-2-rows {
  grid-row: span 2;
}

@media (max-width: 768px) {
  .bento-item.span-2,
  .bento-item.span-2-rows {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.text-left {
  text-align: left;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}

.p-sm {
  padding: var(--space-sm);
}

.p-md {
  padding: var(--space-md);
}

.p-lg {
  padding: var(--space-lg);
}

.m-sm {
  margin: var(--space-sm);
}

.m-md {
  margin: var(--space-md);
}

.m-lg {
  margin: var(--space-lg);
}

.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

/* Responsive Text */
.text-muted {
  color: var(--color-muted-foreground);
}

.bg-muted {
  background-color: var(--color-muted);
}

.border {
  border: 1px solid var(--color-border);
}

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-full {
  border-radius: var(--radius-full);
}

/* Avatar Styles */
.avatar {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-full);
  object-fit: cover;
}

.avatar-lg {
  width: 5rem;
  height: 5rem;
}

.avatar-xl {
  width: 8rem;
  height: 8rem;
}

/* Badge Styles */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: var(--font-weight-semibold);
}

.badge-primary {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

.badge-secondary {
  background-color: var(--color-secondary);
  color: var(--color-on-secondary);
}

.badge-accent {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
}

.badge-muted {
  background-color: var(--color-muted);
  color: var(--color-muted-foreground);
}

/* Theme Toggle Button */
.theme-toggle-btn {
  position: fixed;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 1000;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  border: 2px solid var(--color-border);
  background-color: var(--color-card);
  color: var(--color-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.theme-toggle-btn:hover {
  background-color: var(--color-muted);
  transform: scale(1.1) rotate(20deg);
}

.theme-toggle-btn:active {
  transform: scale(0.95);
}

.theme-toggle-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

@media (max-width: 640px) {
  .theme-toggle-btn {
    top: 1rem;
    right: 1rem;
    width: 2.25rem;
    height: 2.25rem;
  }
}

/* ============================================================
   NAVBAR - Tailwind CSS Navigation Components
   Light and Dark Mode Support
   ============================================================ */

/* Navigation Bar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background-color: var(--color-background);
  border-bottom: 1px solid var(--color-border);
  transition: all var(--transition-base);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

html.dark .navbar {
  background-color: var(--color-surface-dark);
  border-bottom-color: var(--color-border-dark);
}

.navbar-sticky {
  background-color: var(--color-background);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

html.dark .navbar-sticky {
  background-color: var(--color-surface-dark);
}

/* Navbar Brand / Logo */
.navbar-brand {
  font-size: 1.25rem;
  font-weight: var(--font-weight-bold);
  color: var(--color-foreground);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  transition: color var(--transition-fast);
}

html.dark .navbar-brand {
  color: var(--color-text-dark);
}

.navbar-brand:hover {
  color: var(--color-accent);
}

.navbar-brand img {
  max-height: 2.5rem;
  width: auto;
  transition: all var(--transition-base);
}

/* Navbar Container */
.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/* Navbar Navigation */
.navbar-nav {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Navbar Items */
.navbar-item {
  position: relative;
}

/* Navigation Links */
.nav-link {
  color: var(--color-foreground);
  text-decoration: none;
  font-weight: var(--font-weight-medium);
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
  padding-bottom: 0.25rem;
}

html.dark .nav-link {
  color: var(--color-text-secondary-dark);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition-fast);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-link:hover {
  color: var(--color-accent);
}

/* Hamburger Menu */
.navbar-toggler {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

@media (max-width: 768px) {
  .navbar-toggler {
    display: flex;
  }
}

.hamburger {
  width: 1.5rem;
  height: 2px;
  background-color: var(--color-foreground);
  border-radius: 2px;
  transition: transform var(--transition-fast), opacity var(--transition-fast);
  display: block;
}

html.dark .hamburger {
  background-color: var(--color-text-dark);
}

.navbar-toggler.active .hamburger:nth-child(1) {
  transform: translateY(calc(2px + 0.35rem)) rotate(45deg);
}

.navbar-toggler.active .hamburger:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.navbar-toggler.active .hamburger:nth-child(3) {
  transform: translateY(calc(-2px - 0.35rem)) rotate(-45deg);
}

/* Navbar Collapse (Mobile Menu) */
.navbar-collapse {
  display: flex;
}

@media (max-width: 768px) {
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
    display: none;
  }

  html.dark .navbar-collapse {
    background-color: var(--color-surface-dark);
    border-bottom-color: var(--color-border-dark);
  }

  .navbar-collapse.active {
    display: flex;
  }
}

/* Utility Classes for Legacy Styles */
.m-30 {
  margin: 1.875rem;
}

.m-60 {
  margin: 3.75rem;
}

.mb-60 {
  margin-bottom: 3.75rem;
}

.top-110 {
  margin-top: 110px;
}

.radius-18 {
  border-radius: 1.125rem;
}

.bg-sec {
  background-color: var(--color-muted);
}

html.dark .bg-sec {
  background-color: var(--color-surface-secondary-dark);
}

.r-p {
  padding: 80px 0;
}

.text-white {
  color: white;
}

.text-center {
  text-align: center;
}

.way-fade-up {
  animation: fadeInUp 0.8s ease-out;
}

.way-fade-left {
  animation: fadeInLeft 0.8s ease-out;
}

.way-fade-right {
  animation: fadeInRight 0.8s ease-out;
}

/* Image Utilities */
.img-thumbnail {
  border: 4px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  background-color: var(--color-background);
}

html.dark .img-thumbnail {
  border-color: var(--color-border-dark);
  background-color: var(--color-surface-dark);
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Content Box */
.content-box {
  padding: var(--space-lg);
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

html.dark .content-box {
  background-color: var(--color-surface-dark);
}

/* Fixed Image Background */
.fixed-img {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../Images/headerBg.gif');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -1;
}

/* Header Content */
.header-content {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  margin-top: 110px;
}

/* List Inline Items */
.list-inline {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 1rem;
  justify-content: center;
}

.list-inline-item {
  display: inline-block;
}

.list-inline-item a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background-color: var(--color-muted);
  color: var(--color-foreground);
  font-size: 1.25rem;
  transition: all var(--transition-fast);
}

html.dark .list-inline-item a {
  background-color: var(--color-surface-secondary-dark);
  color: var(--color-text-dark);
}

.list-inline-item a:hover {
  background-color: var(--color-accent);
  color: var(--color-on-accent);
  transform: translateY(-2px);
}

/* Alert Styles */
.alert {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: var(--radius-md);
  border-left: 4px solid;
  color: var(--color-foreground);
  background-color: var(--color-card);
  position: fixed;
  top: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  box-shadow: var(--shadow-md);
  animation: slideDown 0.3s ease-out;
}

html.dark .alert {
  background-color: var(--color-surface-dark);
  color: var(--color-text-dark);
}

.alert-success {
  border-left-color: #10b981;
  background-color: rgba(16, 185, 129, 0.1);
}

.alert-danger {
  border-left-color: #ef4444;
  background-color: rgba(239, 68, 68, 0.1);
}

.alert-warning {
  border-left-color: #f59e0b;
  background-color: rgba(245, 158, 11, 0.1);
}

.alert-info {
  border-left-color: #3b82f6;
  background-color: rgba(59, 130, 246, 0.1);
}

.alert-dismissible {
  padding-right: 1.5rem;
  position: relative;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-background);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

html.dark .preloader {
  background-color: var(--color-bg-dark);
}

.preloader.complete {
  opacity: 0;
  visibility: hidden;
}

.circle {
  width: 50px;
  height: 50px;
  border: 5px solid var(--color-border);
  border-top-color: var(--color-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes slideDown {
  from {
    transform: translateX(-50%) translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
  }
}

/* Footer */
footer {
  background-color: var(--color-surface-secondary-dark);
  color: var(--color-text-dark);
  padding: 2rem 1rem;
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-top: 1px solid var(--color-border-dark);
}

html.light footer {
  background-color: var(--color-muted);
  color: var(--color-foreground);
  border-top-color: var(--color-border);
}

/* ============================================================
   CUSTOM COMPONENT STYLES - Progress, Services, Testimonials
   ============================================================ */

/* Progress Bar Styling */
.progress {
  display: flex;
  height: 30px;
  overflow: hidden;
  background-color: var(--color-muted);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-md);
}

.progress-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transition: width 1s ease;
  font-weight: var(--font-weight-bold);
  color: var(--color-on-primary);
  font-size: 0.75rem;
}

.progress-color {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

/* Service Border Divider */
.service-border {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  border-radius: 2px;
  margin: var(--space-md) auto;
}

/* Testimony Section Styles */
.test-item {
  padding: var(--space-lg);
  background-color: var(--color-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

html.dark .test-item {
  background-color: var(--color-surface-dark);
}

.test-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.test-item i {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.test-img {
  width: 80px;
  height: 80px;
  border: 3px solid var(--color-border);
  margin: var(--space-md) auto;
  background-color: var(--color-background);
}

html.dark .test-img {
  border-color: var(--color-border-dark);
  background-color: var(--color-surface-dark);
}

.test-name {
  font-weight: var(--font-weight-semibold);
  color: var(--color-foreground);
  margin-top: var(--space-md);
}

html.dark .test-name {
  color: var(--color-text-dark);
}

/* Additional Input Styling for Forms */
.form-control,
.input-group input,
textarea.form-control {
  padding: 0.75rem; 
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background-color: var(--color-card);
  color: var(--color-foreground);
  font-family: var(--font-family-base);
  transition: all var(--transition-fast);
}

html.dark .form-control,
html.dark .input-group input,
html.dark textarea.form-control {
  background-color: var(--color-surface-dark);
  border-color: var(--color-border-dark);
  color: var(--color-text-dark);
}

.form-control:focus,
.input-group input:focus,
textarea.form-control:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

/* Label Styling */
label {
  display: block;
  font-weight: var(--font-weight-medium);
  color: var(--color-foreground);
  margin-bottom: var(--space-sm);
  margin-top: var(--space-md);
}

html.dark label {
  color: var(--color-text-dark);
}

/* Card Component Enhancement */
.card {
  background-color: var(--color-card);
  color: var(--color-card-foreground);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  overflow: hidden;
}

html.dark .card {
  background-color: var(--color-surface-dark);
  border-color: var(--color-border-dark);
}

.card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
  background-color: transparent;
  text-align: center;
  font-size: 2.5rem;
}

html.dark .card-header {
  border-bottom-color: var(--color-border-dark);
}

.card-body {
  padding: var(--space-lg);
}

.card-footer {
  padding: var(--space-lg);
  border-top: 1px solid var(--color-border);
  background-color: transparent;
}

html.dark .card-footer {
  border-top-color: var(--color-border-dark);
}

.card-text {
  color: var(--color-muted-foreground);
  line-height: 1.6;
}

html.dark .card-text {
  color: var(--color-text-secondary-dark);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ============================================================
   BOOTSTRAP COMPATIBILITY UTILITIES - Responsive Grid
   ============================================================ */

/* Responsive Column Classes */
.col-xs-6 { width: 50%; }
.col-xs-12 { width: 100%; }

.col-sm-4 { width: 33.333%; }
.col-sm-6 { width: 50%; }
.col-sm-12 { width: 100%; }

@media (max-width: 768px) {
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
  .col-md-12 { width: 100%; }
}

@media (max-width: 1024px) {
  .col-lg-4 { width: 33.333%; }
  .col-lg-6 { width: 50%; }
  .col-lg-12 { width: 100%; }
}

/* Spacing Utilities */
.mb-3 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.5rem; }
.mt-lg { margin-top: var(--space-lg); }
.mb-lg { margin-bottom: var(--space-lg); }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Display Utilities */
.hidden { display: none; }
.md\:inline { display: inline; }

@media (max-width: 768px) {
  .md\:inline { display: none; }
  .md\:block { display: block; }
}

/* Border Radius Utilities */
.rounded-circle { border-radius: 50%; }

/* Text Utilities */
.font-italic { font-style: italic; }
.text-muted { color: var(--color-muted-foreground); }
.text-danger { color: #dc3545; }
.text-success { color: #198754; }
.text-white { color: white; }
.text-center { text-align: center; }

html.dark .text-muted {
  color: var(--color-text-secondary-dark);
}

html.dark .text-danger {
  color: #ff6b6b;
}

html.dark .text-success {
  color: #51cf66;
}

/* Font Size Utilities */
.fs-5 { font-size: 1.125rem; }

/* Input Group Styling */
.input-group {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  width: 100%;
}

.input-group > .form-control {
  position: relative;
  flex: 1 1 auto;
  width: 1%;
  min-width: 0;
}

/* Custom File Input Styling */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
}

.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: calc(1.5em + 0.75rem + 2px);
  margin: 0;
  overflow: hidden;
  opacity: 0;
}

.custom-file-input:lang(en) ~ .custom-file-label::after {
  content: "Browse";
}

.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  display: block;
  padding: 0.375rem 0.75rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #e9ecef;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  cursor: pointer;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

.custom-file-input:disabled ~ .custom-file-label {
  background-color: #e9ecef;
}

html.dark .custom-file-label {
  color: var(--color-text-secondary-dark);
  background-color: var(--color-input-bg-dark);
  border-color: var(--color-border-dark);
}

/* Form Check Input (Checkbox/Radio) */
.form-check-input {
  width: 1em;
  height: 1em;
  margin-top: 0.3em;
  vertical-align: top;
  border: 1px solid rgba(0, 0, 0, 0.25);
  border-radius: 0.25em;
  appearance: none;
  background-color: var(--color-card);
  background-image: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
  cursor: pointer;
}

.form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 8l4 4 8-8'/%3e%3c/svg%3e");
}

html.dark .form-check-input {
  background-color: var(--color-input-bg-dark);
  border-color: var(--color-border-dark);
}

html.dark .form-check-input:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

/* Button Utilities */
.btn {
  display: inline-block;
  font-weight: 500;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: 0.25rem;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
    border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.btn-secondary {
  color: #fff;
  background-color: #6c757d;
  border-color: #6c757d;
}

.btn-secondary:hover {
  color: #fff;
  background-color: #5c636a;
  border-color: #565e64;
}

html.dark .btn-secondary {
  background-color: #505458;
  border-color: #505458;
}

html.dark .btn-secondary:hover {
  background-color: #3f4247;
  border-color: #3f4247;
}

/* Modal Styling */
.modal {
  display: none;
  position: fixed;
  z-index: 1050;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  animation: fadeInModal 0.3s ease-in;
}

.modal.show {
  display: block;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal-dialog {
  position: relative;
  width: auto;
  margin: 1.75rem auto;
  max-width: 500px;
  animation: slideInModal 0.3s ease-out;
}

@keyframes slideInModal {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-content {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  pointer-events: auto;
  background-color: var(--color-card);
  background-clip: padding-box;
  border: 1px solid var(--color-border);
  border-radius: 0.3rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

html.dark .modal-content {
  background-color: var(--color-card-dark);
  border-color: var(--color-border-dark);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid var(--color-border);
}

html.dark .modal-header {
  border-bottom-color: var(--color-border-dark);
}

.modal-title {
  margin-bottom: 0;
  line-height: 1.5;
  font-size: 1.25rem;
}

.modal-body {
  position: relative;
  flex: 1 1 auto;
  padding: 1rem;
}

.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem;
  border-top: 1px solid var(--color-border);
}

html.dark .modal-footer {
  border-top-color: var(--color-border-dark);
}

.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

/* Image Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
}

.img-thumbnail {
  padding: 0.25rem;
  background-color: var(--color-background);
  border: 1px solid var(--color-border);
  border-radius: 0.25rem;
  max-width: 100%;
  height: auto;
}

html.dark .img-thumbnail {
  background-color: var(--color-background-dark);
  border-color: var(--color-border-dark);
}

/* ============================================================
   NAVBAR - Glassmorphism Floating Bar
   ============================================================ */
nav.navbar {
  top: 12px;
  left: 50%;
  right: auto;
  width: calc(100% - 24px);
  max-width: 1200px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  background-color: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.12);
}

nav.navbar.navbar-sticky {
  background-color: rgba(255, 255, 255, 0.85);
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.18);
}

html.dark nav.navbar {
  background-color: rgba(15, 23, 42, 0.55);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

html.dark nav.navbar.navbar-sticky {
  background-color: rgba(15, 23, 42, 0.88);
}

nav.navbar .navbar-container {
  padding: 0.4rem 0.6rem 0.4rem 1.25rem;
  max-width: none;
}

nav.navbar .navbar-brand img {
  height: 2.75rem;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
  border-radius: 0;
  image-rendering: auto;
}

nav.navbar .navbar-brand #logoimg {
  width: 2.9rem;
  height: 2.9rem;
  padding: 0.35rem;
  object-fit: contain;
  border-radius: 50%;
  background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, var(--color-primary), var(--color-accent)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
html.dark nav.navbar .navbar-brand #logoimg {
  background: linear-gradient(#1E293B, #1E293B) padding-box, linear-gradient(135deg, #60A5FA, var(--color-accent)) border-box;
  box-shadow: 0 4px 16px rgba(96, 165, 250, 0.35);
}
nav.navbar .navbar-brand:hover #logoimg {
  transform: rotate(-8deg) scale(1.08);
  box-shadow: 0 8px 22px rgba(37, 99, 235, 0.5);
}
@media (prefers-reduced-motion: reduce) {
  nav.navbar .navbar-brand #logoimg { transition: none; }
  nav.navbar .navbar-brand:hover #logoimg { transform: none; }
}

nav.navbar .brand-text {
  display: inline-block;
  color: var(--color-foreground);
  font-size: 1.05rem;
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

html.dark nav.navbar .brand-text {
  color: var(--color-text-dark);
}

nav.navbar .theme-toggle-btn {
  position: static;
  flex-shrink: 0;
  order: 3;
  margin-left: 0.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

html.dark nav.navbar .theme-toggle-btn {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

nav.navbar .theme-toggle-btn:hover {
  transform: none;
  background-color: rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
  nav.navbar .theme-toggle-btn {
    order: 1;
    margin-left: auto;
    margin-right: 0.5rem;
  }

  nav.navbar .navbar-toggler {
    order: 2;
  }
}

nav.navbar .navbar-nav {
  gap: 0.25rem;
  align-items: center;
}

nav.navbar .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

nav.navbar .nav-link::after {
  display: none;
}

nav.navbar .nav-link:hover {
  background-color: rgba(37, 99, 235, 0.12);
  color: var(--color-primary);
}

nav.navbar .nav-link.active {
  background-color: var(--color-primary);
  color: var(--color-on-primary);
}

html.dark nav.navbar .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

html.dark nav.navbar .nav-link.active {
  background-color: var(--color-primary);
  color: #fff;
}

nav.navbar .nav-link:focus-visible,
nav.navbar .navbar-toggler:focus-visible,
nav.navbar .navbar-brand:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  nav.navbar {
    border-radius: 1.5rem;
    top: 8px;
    width: calc(100% - 16px);
  }

  nav.navbar .navbar-container {
    padding: 0.35rem 0.75rem;
  }

  nav.navbar .navbar-collapse {
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 1.25rem;
    background-color: rgba(255, 255, 255, 0.8);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.18);
    padding: 0.75rem;
  }

  html.dark nav.navbar .navbar-collapse {
    background-color: rgba(15, 23, 42, 0.88);
    border-color: rgba(255, 255, 255, 0.12);
  }

  nav.navbar .navbar-nav {
    width: 100%;
    align-items: stretch;
  }

  nav.navbar .nav-link {
    padding: 0.8rem 1rem;
    text-align: center;
  }
}

@media (max-width: 400px) {
  nav.navbar .brand-text {
    display: none;
  }
}

/* ============================================================
   HERO (#home)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 7rem 1.25rem 4rem;
  overflow: hidden;
  background: var(--color-background);
  color: var(--color-foreground);
}

html.dark .hero {
  background: #0B1220;
  color: var(--color-text-dark);
}

.hero-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; }

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.45;
}
.hero-blob-1 { width: 420px; height: 420px; top: -120px; left: -120px; background: var(--color-primary); }
.hero-blob-2 { width: 360px; height: 360px; bottom: -100px; right: -80px; background: var(--color-accent); opacity: 0.3; }
html.dark .hero-blob { opacity: 0.3; }
html.dark .hero-blob-2 { opacity: 0.22; }

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(100, 116, 139, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100, 116, 139, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.4);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
html.dark .hero-badge { background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.15); }

.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  animation: heroPulse 2s infinite;
}
@keyframes heroPulse {
  70% { box-shadow: 0 0 0 10px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.hero-greeting { margin: 1.25rem 0 0.25rem; font-size: 1.1rem; color: var(--color-muted-foreground); }
html.dark .hero-greeting { color: var(--color-text-secondary-dark); }

.hero-title {
  margin: 0;
  font-size: clamp(2.2rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  min-height: 2.3em;
}

.hero-typed {
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  margin: 1rem 0 2rem;
  max-width: 34rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.7;
  color: var(--color-muted-foreground);
}
html.dark .hero-subtitle { color: var(--color-text-secondary-dark); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.hero-btn:hover { transform: translateY(-2px); }
.hero-btn:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 3px; }

.hero-btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}
.hero-btn-primary:hover { color: #fff; box-shadow: 0 14px 30px rgba(37, 99, 235, 0.45); }

.hero-btn-secondary {
  color: var(--color-foreground);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: rgba(255, 255, 255, 0.4);
}
.hero-btn-secondary:hover { color: var(--color-primary); border-color: var(--color-primary); }
html.dark .hero-btn-secondary { color: #fff; background: rgba(255, 255, 255, 0.06); border-color: rgba(255, 255, 255, 0.25); }

.hero-social { display: flex; gap: 0.6rem; list-style: none; padding: 0; margin: 2rem 0 0; }
.hero-social a {
  width: 2.6rem; height: 2.6rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  color: var(--color-foreground);
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: all 0.2s ease;
}
.hero-social a:hover { background: var(--color-primary); border-color: var(--color-primary); color: #fff; transform: translateY(-3px); }
html.dark .hero-social a { color: #fff; border-color: rgba(255, 255, 255, 0.25); }

.hero-visual { position: relative; display: flex; justify-content: center; }

.icon-x { width: 1em; height: 1em; display: inline-block; vertical-align: -0.125em; }
.hero-social .icon-x { width: 1.05rem; height: 1.05rem; }

.hero-avatar {
  position: relative;
  width: min(100%, 360px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  padding: 6px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  box-shadow: 0 25px 60px rgba(37, 99, 235, 0.3);
}
.hero-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid var(--color-background);
  display: block;
}
html.dark .hero-avatar img { border-color: #0B1220; }

.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 1rem;
  border-radius: 9999px;
  font-size: 0.9rem; font-weight: 600;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(148, 163, 184, 0.4);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.12);
  animation: heroFloat 4s ease-in-out infinite;
}
html.dark .hero-chip { background: rgba(15, 23, 42, 0.7); border-color: rgba(255, 255, 255, 0.15); color: #fff; }
.hero-chip-1 { top: 8%; right: 2%; }
.hero-chip-2 { bottom: 10%; left: 0; animation-delay: 1.5s; }
@keyframes heroFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.hero-scroll {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  color: var(--color-muted-foreground);
  animation: heroBounce 2s infinite;
}
@keyframes heroBounce { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

@media (max-width: 900px) {
  .hero { padding-top: 6.5rem; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 2.5rem; }
  .hero-visual { order: -1; }
  .hero-avatar { width: min(70vw, 260px); }
  .hero-subtitle { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-social { justify-content: center; }
  .hero-title { min-height: 2.4em; }
}

@media (max-width: 480px) {
  .hero-btn { width: 100%; }
  .hero-chip { font-size: 0.78rem; padding: 0.4rem 0.75rem; }
  .hero-scroll { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-chip, .hero-dot, .hero-scroll { animation: none; }
}

/* Quick support floating button */
.qs {
  position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 900;
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  border-radius: 9999px; text-decoration: none; color: var(--color-foreground);
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.35);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
html.dark .qs { color: var(--color-text-dark); background: rgba(15, 23, 42, 0.8); border-color: rgba(255, 255, 255, 0.14); box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5); }
.qs:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(34, 197, 94, 0.35); }
.qs:focus-visible { outline: 3px solid rgba(34, 197, 94, 0.5); outline-offset: 3px; }
.qs-label { display: flex; flex-direction: column; line-height: 1.25; }
.qs-title { font-size: 0.9rem; font-weight: 700; }
.qs-sub { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.75rem; color: var(--color-muted-foreground); }
html.dark .qs-sub { color: var(--color-text-secondary-dark); }
.qs-status { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: #22C55E; animation: qs-pulse 2s infinite; }
.qs-icon {
  position: relative; width: 3.25rem; height: 3.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 1.75rem; color: #fff;
  background: linear-gradient(135deg, #25D366, #128C7E);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.45);
}
.qs-icon::after {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid #25D366; animation: qs-ring 2.4s ease-out infinite;
}
@keyframes qs-pulse { 0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); } 70% { box-shadow: 0 0 0 6px rgba(34, 197, 94, 0); } 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); } }
@keyframes qs-ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.6); opacity: 0; } }
@media (max-width: 640px) {
  .qs { padding: 0.35rem; right: 1rem; bottom: 1rem; }
  .qs-label { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .qs, .qs-status, .qs-icon::after { animation: none; transition: none; }
}

/* ============================================================
   CERTIFICATES (#Certificate)
   ============================================================ */
.cert {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6rem 1.25rem;
  color: var(--color-foreground);
}

html.dark .cert { color: var(--color-text-dark); }

.cert-bg {
  position: absolute;
  top: -20%;
  bottom: -20%;
  left: 0;
  right: 0;
  z-index: -2;
  background: url('../Images/certificatesection.jpg') center / cover no-repeat;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

html.dark .cert-bg {
  background-image: url('../Images/certificatesection2.jpg');
}

.cert-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.92), rgba(248, 250, 252, 0.8) 50%, rgba(248, 250, 252, 0.92));
}

html.dark .cert-overlay {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.93), rgba(11, 18, 32, 0.8) 50%, rgba(11, 18, 32, 0.93));
}

@media (max-width: 900px) {
  .cert-bg, .svc-bg {
    background-size: auto 100vh;
    background-repeat: repeat-y;
    background-position: center top;
  }
  .cert-overlay, .svc-overlay { opacity: 0.7; }
}

.cert-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.cert-head { max-width: 40rem; margin: 0 auto 3rem; }

.cert-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
html.dark .cert-badge { color: #93C5FD; background: rgba(147, 197, 253, 0.1); border-color: rgba(147, 197, 253, 0.25); }

.cert-title {
  margin: 1rem 0 0.75rem;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.cert-subtitle {
  margin: 0;
  line-height: 1.7;
  color: var(--color-muted-foreground);
}
html.dark .cert-subtitle { color: var(--color-text-secondary-dark); }

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cert-card {
  padding: 1.5rem 1.25rem 1.75rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

html.dark .cert-card {
  background: rgba(15, 23, 42, 0.6);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.cert-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-primary);
  box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25);
}

.cert-media {
  width: min(100%, 200px);
  aspect-ratio: 1 / 1;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 23, 42, 0.25));
  transition: transform 0.3s ease;
}
.cert-card:hover .cert-media img { transform: scale(1.06); }

.cert-name { margin: 0 0 0.35rem; font-size: 1.25rem; font-weight: 700; }

.cert-issuer {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--color-muted-foreground);
}
html.dark .cert-issuer { color: var(--color-text-secondary-dark); }

@media (max-width: 900px) {
  .cert { padding: 4.5rem 1rem; }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
  .cert-grid { grid-template-columns: 1fr; max-width: 360px; margin: 0 auto; }
  .cert-head { margin-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  .cert-card, .cert-media img { transition: none; }
}

/* ============================================================
   SKILLS / EXPERIENCE (#experience)
   ============================================================ */
.skills {
  position: relative;
  padding: 6rem 1.25rem;
  background: linear-gradient(180deg, var(--color-background), rgba(37, 99, 235, 0.06));
  color: var(--color-foreground);
}
html.dark .skills { background: linear-gradient(180deg, var(--color-background), rgba(96, 165, 250, 0.07)); }
.skills-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.skills-head { max-width: 40rem; margin: 0 auto 3rem; }
.skills-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
html.dark .skills-badge { color: #93C5FD; background: rgba(147, 197, 253, 0.1); border-color: rgba(147, 197, 253, 0.25); }
.skills-title { margin: 1rem 0 0.75rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.skills-subtitle { margin: 0; line-height: 1.7; color: var(--color-muted-foreground); }
.skills-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; text-align: left; }
.skill-card {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(148, 163, 184, 0.3);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
html.dark .skill-card { background: rgba(15, 23, 42, 0.6); border-color: rgba(255, 255, 255, 0.1); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35); }
.skill-card:hover { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: 0 16px 36px rgba(37, 99, 235, 0.22); }
.skill-icon {
  flex: 0 0 3.25rem; width: 3.25rem; height: 3.25rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 6px 14px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease;
}
.skill-card:hover .skill-icon { transform: rotate(-6deg) scale(1.08); }
.skill-body { flex: 1; min-width: 0; }
.skill-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 0.5rem; gap: 0.5rem; }
.skill-name { font-weight: 700; font-size: 1rem; }
.skill-pct { font-size: 0.85rem; font-weight: 600; color: var(--color-primary); }
html.dark .skill-pct { color: #93C5FD; }
.skill-card { flex-direction: column; text-align: center; }
.skill-body { width: 100%; display: flex; flex-direction: column; align-items: center; }
.skill-row { order: 2; justify-content: center; margin: 0.75rem 0 0; }
.skill-pct { display: none; }
.skill-track { --v: 0; order: 1; position: relative; width: 85px; height: 85px; display: grid; place-items: center; }
.skill-track::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(var(--color-primary), var(--color-accent) calc(var(--v) * 1%), rgba(148, 163, 184, 0.25) 0); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4px)); }
.skill-track::after { content: attr(data-pct); position: relative; font-weight: 800; font-size: 1.1rem; color: var(--color-primary); }
html.dark .skill-track::after { color: #93C5FD; }
.skill-fill { display: none; }
@media (max-width: 900px) {
  .skills { padding: 4.5rem 1rem; }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .skills-grid { grid-template-columns: 1fr; }
  .skills-head { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .skill-card, .skill-icon { transition: none; }
  .skill-fill { transition: none !important; }
}

/* ============================================================
   SERVICES (#services)
   ============================================================ */
.services {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6rem 1.25rem;
  color: var(--color-foreground);
}
html.dark .services { color: var(--color-text-dark); }
.svc-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url('../Images/servicesResized.png') center / cover no-repeat;
  transform-origin: center;
  will-change: transform;
}
.svc-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(248, 250, 252, 0.78) 50%, rgba(248, 250, 252, 0.92));
}
html.dark .svc-overlay {
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.92), rgba(11, 18, 32, 0.78) 50%, rgba(11, 18, 32, 0.94));
}
.services .container { max-width: 1100px; margin: 0 auto; text-align: center; }
.services .w-full { text-align: center; }
.svc-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
html.dark .svc-badge { color: #93C5FD; background: rgba(147, 197, 253, 0.1); border-color: rgba(147, 197, 253, 0.25); }
.svc-title { margin: 1rem 0 0.75rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.svc-subtitle { max-width: 40rem; margin: 0 auto 3rem; line-height: 1.7; color: var(--color-muted-foreground); }
html.dark .svc-subtitle { color: var(--color-text-secondary-dark); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.svc-grid > div { display: flex; }
.svc-grid .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
html.dark .svc-grid .card { background: rgba(15, 23, 42, 0.62); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.svc-grid .card:hover { transform: translateY(-8px); border-color: var(--color-primary); box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25); }
.svc-grid .card-header {
  width: 4.5rem; height: 4.5rem;
  display: flex; align-items: center; justify-content: center;
  margin: 0 0 1.25rem; padding: 0;
  border: 0; border-radius: 1.25rem;
  font-size: 1.9rem; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease;
}
.svc-grid .card:hover .card-header { transform: rotate(-6deg) scale(1.08); }
.svc-grid .card-header i { color: #fff; font-size: inherit; }
.svc-grid .card-body { padding: 0; background: transparent; }
.svc-grid .card-title { margin: 0 0 0.75rem; font-size: 1.25rem; font-weight: 700; }
.svc-grid .service-border { width: 3rem; height: 3px; margin: 0 auto 1rem; border-radius: 9999px; background: linear-gradient(90deg, var(--color-primary), var(--color-accent)); }
.svc-grid .card-text { margin: 0; font-size: 0.95rem; line-height: 1.7; color: var(--color-muted-foreground); }
html.dark .svc-grid .card-text { color: var(--color-text-secondary-dark); }
@media (max-width: 900px) {
  .services { padding: 4.5rem 1rem; }
  .svc-bg {
    background-size: auto 100vh;
    background-repeat: repeat-y;
    background-position: center top;
  }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .svc-grid { grid-template-columns: 1fr; }
  .svc-subtitle { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .svc-grid .card, .svc-grid .card-header { transition: none; }
}

/* ============================================================
   TESTIMONY (#testimony)
   ============================================================ */
.testimony {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 6rem 1.25rem;
  color: var(--color-foreground);
  background: linear-gradient(180deg, var(--color-background), rgba(37, 99, 235, 0.07));
}
html.dark .testimony { color: var(--color-text-dark); background: linear-gradient(180deg, var(--color-background), rgba(96, 165, 250, 0.08)); }
.tst-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(80px); opacity: 0.35; pointer-events: none; }
.tst-blob-1 { width: 22rem; height: 22rem; top: -6rem; left: -6rem; background: var(--color-primary); }
.tst-blob-2 { width: 20rem; height: 20rem; bottom: -6rem; right: -5rem; background: var(--color-accent); opacity: 0.22; }
.testimony .container { max-width: 1150px; margin: 0 auto; text-align: center; }
.testimony .w-full { text-align: center; }
.tst-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600;
  color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1);
  border: 1px solid rgba(37, 99, 235, 0.25);
}
html.dark .tst-badge { color: #93C5FD; background: rgba(147, 197, 253, 0.1); border-color: rgba(147, 197, 253, 0.25); }
.tst-title { margin: 1rem 0 0.75rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.tst-subtitle { max-width: 40rem; margin: 0 auto 1.5rem; line-height: 1.7; color: var(--color-muted-foreground); }
html.dark .tst-subtitle { color: var(--color-text-secondary-dark); }
.tst-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-bottom: 3rem; padding: 0.7rem 1.4rem;
  border-radius: 9999px; font-weight: 600; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.tst-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 28px rgba(37, 99, 235, 0.45); color: #fff; }
.tst-carousel { text-align: left; }
.tst-carousel .owl-stage { display: flex; }
.tst-carousel .owl-item { display: flex; padding: 0.75rem 0.25rem 1.5rem; }
.tst-carousel .item { display: flex; width: 100%; }
.tst-carousel .test-item {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem 1.5rem;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
html.dark .tst-carousel .test-item { background: rgba(15, 23, 42, 0.62); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
.tst-carousel .test-item:hover { transform: translateY(-6px); border-color: var(--color-primary); box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25); }
.tst-carousel .test-item i.tst-quote { position: absolute; top: 1.25rem; right: 1.5rem; margin: 0; font-size: 2.25rem; color: var(--color-primary); opacity: 0.2; }
.tst-stars { margin-bottom: 1rem; }
.tst-carousel .tst-stars i { margin: 0 0.1rem 0 0; font-size: 0.95rem; color: #F59E0B; }
.tst-text { flex: 1; margin: 0 0 1.5rem; font-size: 1rem; line-height: 1.8; font-style: italic; color: var(--color-muted-foreground); }
html.dark .tst-text { color: var(--color-text-secondary-dark); }
.tst-author { display: flex; align-items: center; gap: 0.9rem; padding-top: 1.25rem; border-top: 1px solid rgba(148, 163, 184, 0.3); }
.tst-carousel .test-img {
  flex: 0 0 3.5rem; width: 3.5rem; height: 3.5rem; margin: 0;
  object-fit: cover; border-radius: 50%;
  border: 2px solid var(--color-primary);
}
.tst-meta { display: flex; flex-direction: column; min-width: 0; }
.tst-carousel .test-name { margin: 0; font-weight: 700; }
.tst-job { font-size: 0.85rem; color: var(--color-primary); }
html.dark .tst-job { color: #93C5FD; }
.tst-carousel .owl-dots { margin-top: 0.5rem; text-align: center; }
.tst-carousel .owl-dots .owl-dot span { width: 0.6rem; height: 0.6rem; margin: 0 0.3rem; background: rgba(148, 163, 184, 0.6); transition: all 0.3s ease; }
.tst-carousel .owl-dots .owl-dot.active span { width: 1.75rem; background: var(--color-primary); }
@media (max-width: 900px) { .testimony { padding: 4.5rem 1rem; } }
@media (prefers-reduced-motion: reduce) {
  .tst-carousel .test-item, .tst-btn { transition: none; }
}

/* ============================================================
   FOOTER
   ============================================================ */
footer.site-footer {
  position: static; height: auto; padding: 1.25rem 1.25rem;
  background: var(--color-background);
  border-top: 1px solid rgba(148, 163, 184, 0.3);
  color: var(--color-muted-foreground);
}
html.dark footer.site-footer { background: var(--color-background); color: var(--color-text-secondary-dark); border-top-color: rgba(255, 255, 255, 0.1); }
.site-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-footer p { margin: 0; font-size: 0.875rem; color: inherit; }
.site-footer-top {
  width: 2.25rem; height: 2.25rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; font-size: 0.8rem; text-decoration: none; color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.25);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.site-footer-top:hover { transform: translateY(-3px); color: #fff; background: var(--color-primary); }
.site-footer-top:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; }
@media (max-width: 480px) { .site-footer-inner { flex-direction: column-reverse; text-align: center; } }
@media (prefers-reduced-motion: reduce) { .site-footer-top { transition: none; } }

/* ============================================================
   CONTACT (#contact)
   ============================================================ */
.cnt {
  position: relative; isolation: isolate; overflow: hidden;
  padding: 6rem 1.25rem;
  color: var(--color-foreground);
  background: linear-gradient(180deg, rgba(37, 99, 235, 0.07), var(--color-background));
}
html.dark .cnt { color: var(--color-text-dark); background: linear-gradient(180deg, rgba(96, 165, 250, 0.08), var(--color-background)); }
.cnt-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(90px); pointer-events: none; }
.cnt-blob-1 { width: 22rem; height: 22rem; top: -5rem; right: -6rem; background: var(--color-primary); opacity: 0.3; }
.cnt-blob-2 { width: 20rem; height: 20rem; bottom: -6rem; left: -5rem; background: var(--color-accent); opacity: 0.2; }
.cnt-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.cnt-head { max-width: 40rem; margin: 0 auto 3rem; }
.cnt-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.9rem; border-radius: 9999px;
  font-size: 0.85rem; font-weight: 600; color: var(--color-primary);
  background: rgba(37, 99, 235, 0.1); border: 1px solid rgba(37, 99, 235, 0.25);
}
html.dark .cnt-badge { color: #93C5FD; background: rgba(147, 197, 253, 0.1); border-color: rgba(147, 197, 253, 0.25); }
.cnt-title { margin: 1rem 0 0.75rem; font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.cnt-subtitle { margin: 0; line-height: 1.7; color: var(--color-muted-foreground); }
html.dark .cnt-subtitle { color: var(--color-text-secondary-dark); }
.cnt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.cnt-card {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1.75rem 1.25rem; min-width: 0;
  border-radius: 1.25rem; text-decoration: none; color: inherit;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.6);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
html.dark .cnt-card { background: rgba(15, 23, 42, 0.62); border-color: rgba(255, 255, 255, 0.12); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); }
a.cnt-card:hover, .cnt-card-static:hover { transform: translateY(-8px); border-color: var(--color-primary); box-shadow: 0 20px 45px rgba(37, 99, 235, 0.25); }
a.cnt-card:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 3px; }
.cnt-ico {
  width: 3.75rem; height: 3.75rem; margin-bottom: 0.75rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1.1rem; font-size: 1.5rem; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
  transition: transform 0.3s ease;
}
.cnt-ico-wa { background: linear-gradient(135deg, #22C55E, #16A34A); box-shadow: 0 8px 18px rgba(34, 197, 94, 0.35); }
.cnt-card:hover .cnt-ico { transform: rotate(-6deg) scale(1.08); }
.cnt-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-muted-foreground); }
html.dark .cnt-label { color: var(--color-text-secondary-dark); }
.cnt-value { max-width: 100%; font-size: 1rem; font-weight: 700; overflow-wrap: anywhere; }
.cnt-cta { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; margin-top: 3rem; }
.cnt-btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 1.9rem; border-radius: 9999px;
  font-weight: 700; text-decoration: none; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.cnt-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(37, 99, 235, 0.5); color: #fff; }
.cnt-btn:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 3px; }
.cnt-social { display: flex; gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.cnt-social a {
  width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; color: inherit; text-decoration: none;
  background: rgba(148, 163, 184, 0.18); border: 1px solid rgba(148, 163, 184, 0.35);
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}
.cnt-social a:hover { transform: translateY(-3px); color: #fff; background: var(--color-primary); border-color: var(--color-primary); }
.cnt-social .icon-x { width: 1rem; height: 1rem; }
@media (max-width: 1000px) { .cnt-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .cnt { padding: 4.5rem 1rem; }
  .cnt-grid { grid-template-columns: 1fr; }
  .cnt-head { margin-bottom: 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  .cnt-card, .cnt-ico, .cnt-btn, .cnt-social a { transition: none; }
}

/* ============================================================
   MODALS + FORM FIELDS (Tailwind-style, no Bootstrap)
   ============================================================ */
body.modal-open { overflow: hidden; }
.modal {
  display: none;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(15, 23, 42, 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.modal.show { display: flex; align-items: flex-start; justify-content: center; }
.modal .modal-dialog { width: 100%; max-width: 32rem; margin: auto; }
.modal .modal-dialog-centered { min-height: 0; }
.modal .modal-content {
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 30px 70px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}
html.dark .modal .modal-content { background: rgba(15, 23, 42, 0.92); border-color: rgba(255, 255, 255, 0.12); color: var(--color-text-dark); }
.modal .modal-header {
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.5rem 1.5rem 1.25rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(234, 88, 12, 0.06));
}
.modal .modal-body { padding: 1.5rem; }
.mdl-icon {
  flex: 0 0 3rem; width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
  border-radius: 1rem; font-size: 1.2rem; color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 18px rgba(37, 99, 235, 0.35);
}
.mdl-heading { flex: 1; min-width: 0; }
.mdl-heading .modal-title { margin: 0; font-size: 1.25rem; font-weight: 800; }
.mdl-heading p { margin: 0.15rem 0 0; font-size: 0.875rem; color: var(--color-muted-foreground); }
html.dark .mdl-heading p { color: var(--color-text-secondary-dark); }
.mdl-close {
  flex: 0 0 2.25rem; width: 2.25rem; height: 2.25rem;
  display: flex; align-items: center; justify-content: center;
  border: 0; border-radius: 9999px; cursor: pointer;
  color: inherit; background: rgba(148, 163, 184, 0.2);
  transition: background 0.2s ease, transform 0.2s ease;
}
.mdl-close:hover { background: rgba(239, 68, 68, 0.2); transform: rotate(90deg); }

.fld { margin-bottom: 1.15rem; }
.fld-label { display: block; margin-bottom: 0.4rem; font-size: 0.85rem; font-weight: 600; color: var(--color-foreground); }
html.dark .fld-label { color: var(--color-text-dark); }
.fld-wrap { position: relative; }
.fld-icon {
  position: absolute; left: 0.95rem; top: 50%; transform: translateY(-50%);
  font-size: 0.95rem; color: #94A3B8; pointer-events: none; transition: color 0.2s ease;
}
.fld-wrap-area .fld-icon { top: 1.1rem; transform: none; }
.fld-input {
  display: block; width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.6rem;
  font: inherit; font-size: 0.95rem; line-height: 1.5;
  color: var(--color-foreground);
  background: rgba(248, 250, 252, 0.9);
  border: 1.5px solid rgba(148, 163, 184, 0.45);
  border-radius: 0.85rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
textarea.fld-input { resize: vertical; min-height: 7rem; }
.fld-input::placeholder { color: #94A3B8; }
.fld-input:hover { border-color: rgba(37, 99, 235, 0.55); }
.fld-input:focus { outline: none; background: #fff; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.18); }
.fld-wrap:focus-within .fld-icon { color: var(--color-primary); }
.fld-input.input-validation-error { border-color: #EF4444; }
.fld-input.input-validation-error:focus { box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18); }
html.dark .fld-input { color: var(--color-text-dark); background: rgba(30, 41, 59, 0.8); border-color: rgba(148, 163, 184, 0.25); }
html.dark .fld-input:focus { background: rgba(30, 41, 59, 1); box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.25); border-color: #60A5FA; }
.fld-error { display: block; min-height: 0; margin-top: 0.3rem; font-size: 0.8rem; font-weight: 500; color: #EF4444; }
.fld-error:empty { display: none; }

.fld-file {
  position: relative; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.5rem; cursor: pointer;
  border: 1.5px dashed rgba(148, 163, 184, 0.7); border-radius: 0.85rem;
  background: rgba(248, 250, 252, 0.9);
  transition: border-color 0.2s ease, background 0.2s ease;
}
.fld-file:hover, .fld-file:focus-within { border-color: var(--color-primary); background: rgba(37, 99, 235, 0.06); }
html.dark .fld-file { background: rgba(30, 41, 59, 0.8); }
.fld-file-input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.fld-file-btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 0.9rem; border-radius: 0.65rem;
  font-size: 0.85rem; font-weight: 600; color: #fff; white-space: nowrap;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
}
.fld-file-text { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; color: var(--color-muted-foreground); }
html.dark .fld-file-text { color: var(--color-text-secondary-dark); }

.mdl-actions { display: flex; justify-content: flex-end; gap: 0.75rem; margin-top: 1.5rem; }
.mdl-actions-center { justify-content: center; margin: 0; padding: 0 1.5rem 1.5rem; }
.mdl-btn-primary, .mdl-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.7rem 1.4rem; border-radius: 9999px; border: 1px solid transparent;
  font: inherit; font-size: 0.95rem; font-weight: 600; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.mdl-btn-primary { color: #fff; background: linear-gradient(135deg, var(--color-primary), var(--color-secondary)); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35); }
.mdl-btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(37, 99, 235, 0.45); }
.mdl-btn-ghost { color: inherit; background: transparent; border-color: rgba(148, 163, 184, 0.5); }
.mdl-btn-ghost:hover { background: rgba(148, 163, 184, 0.15); }
.mdl-btn-primary:focus-visible, .mdl-btn-ghost:focus-visible, .mdl-close:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; }
/* SweetAlert2 (Tailwind theme) */
.swal2-container { z-index: 2000; }
.swal-tw-popup {
  padding: 2rem 1.5rem 1.5rem; border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(16px);
  color: var(--color-foreground);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.25);
  font-family: inherit;
}
html.dark .swal-tw-popup { background: rgba(15, 23, 42, 0.92); border-color: rgba(255, 255, 255, 0.15); color: #fff; }
.swal-tw-title { font-size: 1.4rem; font-weight: 800; color: inherit; }
.swal-tw-text { font-size: 0.95rem; line-height: 1.7; color: var(--color-muted-foreground); }
html.dark .swal-tw-text { color: var(--color-text-secondary-dark); }
.swal-tw-confirm {
  padding: 0.7rem 1.75rem; border: 0; border-radius: 0.85rem; font-weight: 700; color: #fff; cursor: pointer;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.swal-tw-confirm:hover { transform: translateY(-2px); box-shadow: 0 14px 26px rgba(37, 99, 235, 0.45); }
.swal-tw-confirm:focus-visible { outline: 3px solid rgba(37, 99, 235, 0.45); outline-offset: 2px; }
.swal-tw-popup .swal2-timer-progress-bar { background: var(--color-primary); }
.swal-tw-popup .swal2-loader { border-color: var(--color-primary) transparent var(--color-primary) transparent; }
@media (max-width: 480px) {
  .modal .modal-header, .modal .modal-body { padding: 1.1rem; }
  .mdl-actions { flex-direction: column-reverse; }
  .mdl-actions button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .modal, .modal-dialog { animation: none; }
  .mdl-close, .mdl-btn-primary, .fld-input { transition: none; }
}

/* Outline icon style (matches hero-social): transparent background, thin border, no color fill */
.skill-icon, .svc-grid .card-header, .cnt-ico, .cnt-ico-wa, .mdl-icon, .qs-icon {
  background: transparent;
  box-shadow: none;
  color: var(--color-foreground);
  border: 1px solid rgba(148, 163, 184, 0.5);
}
.svc-grid .card-header i { color: inherit; }
html.dark .skill-icon, html.dark .svc-grid .card-header, html.dark .cnt-ico, html.dark .cnt-ico-wa, html.dark .mdl-icon, html.dark .qs-icon {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}
.skill-card:hover .skill-icon, .svc-grid .card:hover .card-header, .cnt-card:hover .cnt-ico {
  background: var(--color-primary); border-color: var(--color-primary); color: #fff;
}
.qs-icon::after { border-color: rgba(148, 163, 184, 0.5); }
