@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@700&family=Roboto:wght@400&display=swap');

/* icon */

/* bootstrap */
/* css */ /* Accessibility enhancements */

/* Theme System - Import AFTER base styles */         /* Explicit light theme */          /* Dark theme overrides */ /* Color & contrast fixes (WCAG AA) */       /* High contrast mode (accessibility) */

.theme-btn.subscription-btn {
  background: var(--brand-gradient);
  border: none;
  color: white;
}

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

.theme-btn.outline-btn:hover {
  background: var(--primary-color);
  color: white;
}

/**
 * Light Theme Variables (Default)
 * These are the base variables used in light mode
 * Dark mode overrides are in themes/dark-theme.css
 */
:root {
  /* ============================================
   * PRIMARY BACKGROUNDS
   * ============================================ */
  --primary-bg: #f0f1f3;
  --secondary-bg: #e8e9ec;
  --tertiary-bg: #dfe0e4;
  --card-bg: #f5f6f8;
  --body-background: #f0f1f3;

  /* ============================================
   * TEXT COLORS
   * ============================================ */
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --text-muted: #95a5a6;
  --heading-color: #2c3e50;
  --main-color: #495057;
  --subtitle-color: #6c757d;

  /* ============================================
   * BRAND COLORS
   * ============================================ */
  --primary-color: #007bff;
  --primary-color-hover: #0056b3;
  --secondary-color: #6c757d;
  --accent-primary: #007bff;
  --accent-hover: #0056b3;
  --accent-active: #004085;

  /* ============================================
   * BRAND GRADIENTS
   * ============================================ */
  --accent-light: #38bdf8;
  --brand-gradient: linear-gradient(135deg, var(--primary-color-hover) 0%, var(--primary-color) 100%);
  --brand-gradient-hero: linear-gradient(135deg, var(--primary-color-hover) 0%, var(--primary-color) 50%, var(--accent-light) 100%);
  --brand-gradient-accent: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);

  /* ============================================
   * SEMANTIC COLORS
   * ============================================ */
  --success-color: #28a745;
  --success-color-hover: #218838;
  --success-bg: #d4edda;
  --success-border: #c3e6cb;
  --success-text: #155724;

  --warning-color: #ffc107;
  --warning-color-hover: #e0a800;
  --warning-bg: #fff3cd;
  --warning-border: #ffeaa7;
  --warning-text: #856404;

  --danger-color: #dc3545;
  --danger-color-hover: #c82333;
  --danger-bg: #f8d7da;
  --danger-border: #f5c6cb;
  --danger-text: #721c24;

  --info-color: #17a2b8;
  --info-bg: #d1ecf1;
  --info-border: #bee5eb;
  --info-text: #0c5460;

  --purple-color: #6f42c1;
  --purple-color-hover: #5a32a3;

  /* ============================================
   * BORDERS & DIVIDERS
   * ============================================ */
  --border-color: #e9ecef;
  --border-color-hover: #dee2e6;
  --border-primary: #e9ecef;
  --lighter-color: #eaebee;

  /* ============================================
   * SECTION BACKGROUNDS
   * ============================================ */
  --footer-bg: #e8e9ec;
  --image-bg: #e8e9ec;

  /* ============================================
   * NAVIGATION & HEADER
   * ============================================ */
  --nav-bg: #f0f1f3;
  --nav-text: #2c3e50;
  --nav-hover: #e8e9ec;
  --navbar-height: 120px;  /* Standard navbar offset for fixed header */

  /* ============================================
   * BUTTONS
   * ============================================ */
  --btn-primary-bg: #007bff;
  --btn-primary-hover: #0056b3;
  --btn-primary-text: #ffffff;
  --btn-secondary-bg: #6c757d;
  --btn-secondary-hover: #5a6268;

  /* ============================================
   * FORMS & INPUTS
   * ============================================ */
  --input-bg: #f5f6f8;
  --input-border: #ced4da;
  --input-text: #495057;
  --input-placeholder: #6c757d;
  --input-focus-border: #007bff;

  /* ============================================
   * SHADOWS
   * ============================================ */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --btn-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);

  /* ============================================
   * SPECIAL STATES
   * ============================================ */
  --hover-overlay: rgba(0, 0, 0, 0.05);
  --active-overlay: rgba(0, 0, 0, 0.1);
  --disabled-bg: #e9ecef;
  --disabled-text: #6c757d;

  /* ============================================
   * WHITE & BLACK
   * ============================================ */
  --white-color: #ffffff;
  --black-color: #2c3e50;

  /* ============================================
   * TYPOGRAPHY
   * ============================================ */
  --heading-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Font sizes */
  --h1-size: 2rem;
  --h2-size: 1.5rem;
  --body-size: 1rem;
  --small-size: 0.875rem;

  /* Font weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  /* ============================================
   * SPACING
   * ============================================ */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2rem;
  --spacing-xl: 3rem;

  /* ============================================
   * BORDERS & RADIUS
   * ============================================ */
  --border-radius-base: 8px;
  --border-radius-lg: 16px;
  --border-width: 1px;
  --border-width-thick: 4px;
  --bs-card-border-radius: var(--card-border-radius, 1rem);

  /* ============================================
   * TRANSITIONS
   * ============================================ */
  --transition-base: all 0.2s ease-in-out;

  /* ============================================
   * LAYOUT
   * ============================================ */
  --container-max-width: 1200px;

  /* ============================================
   * SCROLLBAR
   * ============================================ */
  --scrollbar-track: #f1f3f4;
  --scrollbar-thumb: #c1c1c1;
  --scrollbar-thumb-hover: #a8a8a8;

  /* ============================================
   * MODAL OVERLAYS
   * ============================================ */
  --modal-overlay-bg: rgba(0, 0, 0, 0.5);
  --modal-overlay-bg-heavy: rgba(0, 0, 0, 0.85);

  /* ============================================
   * ACCENT HIGHLIGHTS
   * ============================================ */
  --gold-accent: #ffd700;

  /* ============================================
   * PRIMARY SHADOWS (brand-tinted)
   * ============================================ */
  --shadow-primary-xs: 0 2px 4px rgba(0, 123, 255, 0.1);
  --shadow-primary-sm: 0 4px 14px rgba(0, 123, 255, 0.25);
  --shadow-primary-md: 0 6px 20px rgba(0, 123, 255, 0.35);
  --shadow-primary-lg: 0 10px 30px rgba(0, 86, 179, 0.3);
  --shadow-primary-focus: 0 0 0 0.2rem rgba(0, 123, 255, 0.15);

  /* ============================================
   * CARD BACKGROUND TRANSLUCENT
   * ============================================ */
  --card-bg-translucent: rgba(245, 246, 248, 0.95);
}

/**
 * Light Theme Component Styles
 * Additional styling for components in light mode
 */

/* ============================================
 * MOBILE NAVIGATION - Light Mode
 * ============================================ */

/* Mobile menu overlay - light background */
.mobile-menu-overlay {
  background: var(--card-bg-translucent);
}

.mobile-menu-overlay.active {
  background: var(--card-bg-translucent);
}

/* Mobile menu background layer */
.menu-background-layer {
  background: var(--brand-gradient);
}

/* Keep header/logo visible when mobile menu is open */
.mobile-menu-overlay.active ~ header,
.mobile-menu-overlay.active ~ .main-header,
body:has(.mobile-menu-overlay.active) .main-header,
body:has(.mobile-menu-overlay.active) header {
  z-index: 10000 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  pointer-events: auto !important;
}

/* Ensure logo/brand stays visible */
.mobile-menu-overlay.active ~ header .navbar-brand,
.mobile-menu-overlay.active ~ .main-header .navbar-brand,
body:has(.mobile-menu-overlay.active) .navbar-brand,
body:has(.mobile-menu-overlay.active) .logo {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10001 !important;
}

/* Mobile menu overlay - full screen */
.mobile-menu-overlay {
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999 !important;
}

/* Mobile navigation container - full screen sizing */
.mobile-navigation {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 2rem 1rem !important;
  overflow-y: auto !important;
}

/* Mobile menu list - full width, centered */
.mobile-menu-list {
  width: 100% !important;
  max-width: 600px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  flex-grow: 1 !important;
}

/* Mobile menu items - full width centered layout */
.mobile-menu-item {
  color: var(--text-primary);
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0.5rem 0 !important;
  min-height: 60px !important;
  flex-shrink: 0 !important;
}

/* Mobile menu links - full width centered */
.mobile-nav-link {
  color: var(--btn-primary-text);
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1.25rem 2rem !important;
  text-align: center !important;
  min-height: 56px !important;
  flex-shrink: 0 !important;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--gold-accent);
}

.link-text {
  color: var(--btn-primary-text);
  display: block;
  width: auto;
  text-align: center;
  font-size: 1.1rem !important;
  line-height: 1.4 !important;
}

/* Hamburger button lines in light mode */
.hamburger-line {
  background: var(--text-primary);
}

/* Mobile close button in light mode */
.mobile-close-button {
  color: var(--btn-primary-text);
  border-color: var(--hover-overlay);
}

.mobile-close-button:hover {
  color: var(--gold-accent);
  border-color: var(--gold-accent);
  background: var(--hover-overlay);
}

/**
 * Dark Theme Variables
 * Centralized dark mode color palette - Industry standard (Slate/Sky)
 * Used throughout the application via CSS variables
 */

.theme-dark {
  /* ============================================
   * PRIMARY BACKGROUNDS
   * ============================================ */
  --primary-bg: #0f172a;           /* Slate 900 - Main dark background */
  --secondary-bg: #1e293b;         /* Slate 800 - Cards, sections */
  --tertiary-bg: #334155;          /* Slate 700 - Hover states */
  --card-bg: #1e293b;              /* Card backgrounds */
  --body-background: #0f172a;      /* Body background */

  /* ============================================
   * TEXT COLORS
   * ============================================ */
  --text-primary: #e2e8f0;         /* Slate 200 - Primary text */
  --text-secondary: #94a3b8;       /* Slate 400 - Secondary text */
  --text-muted: #64748b;           /* Slate 500 - Muted text */
  --heading-color: #f1f5f9;        /* Slate 100 - Headings */
  --main-color: #cbd5e1;           /* Slate 300 - Body text */
  --subtitle-color: #94a3b8;       /* Slate 400 - Subtitles */

  /* ============================================
   * ACCENT COLORS (Sky palette)
   * ============================================ */
  --accent-primary: #38bdf8;       /* Sky 400 - Primary accent */
  --accent-hover: #0ea5e9;         /* Sky 500 - Hover states */
  --accent-active: #0284c7;        /* Sky 600 - Active states */
  --primary-color: #38bdf8;        /* Sky 400 - Brand primary */
  --primary-color-hover: #0ea5e9;  /* Sky 500 - Brand hover */

  /* ============================================
   * SEMANTIC COLORS
   * ============================================ */
  --success-color: #4ade80;        /* Green 400 */
  --success-bg: #166534;           /* Green 800 - Dark mode bg */
  --success-border: #22c55e;       /* Green 500 */
  --success-text: #86efac;         /* Green 300 */

  --warning-color: #fbbf24;        /* Amber 400 */
  --warning-bg: #78350f;           /* Amber 900 - Dark mode bg */
  --warning-border: #f59e0b;       /* Amber 500 */
  --warning-text: #fcd34d;         /* Amber 300 */

  --danger-color: #f87171;         /* Red 400 */
  --danger-bg: #7f1d1d;            /* Red 900 - Dark mode bg */
  --danger-border: #ef4444;        /* Red 500 */
  --danger-text: #fca5a5;          /* Red 300 */

  --info-color: #38bdf8;           /* Sky 400 */
  --info-bg: #082f49;              /* Sky 950 - Dark mode bg */
  --info-border: #0ea5e9;          /* Sky 500 */
  --info-text: #7dd3fc;            /* Sky 300 */

  /* ============================================
   * BORDERS & DIVIDERS
   * ============================================ */
  --border-color: #334155;         /* Slate 700 */
  --border-color-hover: #475569;   /* Slate 600 */
  --lighter-color: #1e293b;        /* Slate 800 - Subtle borders */

  /* ============================================
   * NAVIGATION & HEADER
   * ============================================ */
  --nav-bg: #1e293b;               /* Navigation background */
  --nav-text: #e2e8f0;             /* Navigation text */
  --nav-hover: #334155;            /* Navigation hover */

  /* ============================================
   * BUTTONS
   * ============================================ */
  --btn-primary-bg: #38bdf8;       /* Sky 400 */
  --btn-primary-hover: #0ea5e9;    /* Sky 500 */
  --btn-primary-text: #0f172a;     /* Dark text on bright button */
  --btn-secondary-bg: #334155;     /* Slate 700 */
  --btn-secondary-hover: #475569;  /* Slate 600 */

  /* ============================================
   * FORMS & INPUTS
   * ============================================ */
  --input-bg: #1e293b;             /* Input background */
  --input-border: #334155;         /* Input border */
  --input-text: #e2e8f0;           /* Input text */
  --input-placeholder: #64748b;    /* Placeholder text */
  --input-focus-border: #38bdf8;   /* Focus border */

  /* ============================================
   * SHADOWS (Darker for dark mode)
   * ============================================ */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 10px 15px -3px rgba(0, 0, 0, 0.4);
  --btn-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);

  /* ============================================
   * SPECIAL STATES
   * ============================================ */
  --hover-overlay: rgba(255, 255, 255, 0.05);
  --active-overlay: rgba(255, 255, 255, 0.1);
  --disabled-bg: #1e293b;
  --disabled-text: #475569;

  /* ============================================
   * WHITE & BLACK (Inverted for dark mode)
   * ============================================ */
  --white-color: #0f172a;          /* Dark background */
  --black-color: #f1f5f9;          /* Light text */

  /* ============================================
   * SCROLLBAR
   * ============================================ */
  --scrollbar-track: #1e293b;
  --scrollbar-thumb: #475569;
  --scrollbar-thumb-hover: #64748b;

  /* ============================================
   * NEON / ACCENT GREENS (used by subscription dark mode)
   * ============================================ */
  --dark-neon-green: #4ade80;            /* Green 400 - Neon accent */
  --dark-neon-green-glow: rgba(74, 222, 128, 0.3);

  /* ============================================
   * MODAL OVERLAYS
   * ============================================ */
  --modal-overlay-bg: rgba(0, 0, 0, 0.85);

  /* ============================================
   * ACCENT HIGHLIGHTS
   * ============================================ */
  --gold-accent: #fbbf24;             /* Amber 400 */

  /* ============================================
   * PRIMARY SHADOWS (brand-tinted for dark)
   * ============================================ */
  --shadow-primary-xs: 0 2px 4px rgba(56, 189, 248, 0.1);
  --shadow-primary-sm: 0 4px 14px rgba(56, 189, 248, 0.25);
  --shadow-primary-md: 0 6px 20px rgba(56, 189, 248, 0.35);
  --shadow-primary-lg: 0 10px 30px rgba(0, 0, 0, 0.4);
  --shadow-primary-focus: 0 0 0 0.2rem rgba(56, 189, 248, 0.15);

  /* ============================================
   * CARD BACKGROUND TRANSLUCENT
   * ============================================ */
  --card-bg-translucent: rgba(30, 41, 59, 0.95);
}

/**
 * Dark Theme Component-Specific Overrides
 */

/* Navigation visibility in dark mode */
.theme-dark .main-header .main-menu .navigation li a,
.theme-dark .nav-link-click {
  color: var(--nav-text) !important;
}

/* Theme toggle icon in dark mode */
.theme-dark .theme-toggle-icon {
  color: var(--accent-primary) !important;
}

/* Hero container transparency for video background */
.theme-dark .hero-container {
  background: transparent !important;
}

/* Card backgrounds */
.theme-dark .card,
.theme-dark .portfolio-box,
.theme-dark .service-item {
  background: var(--card-bg);
  border-color: var(--border-color);
}

/* Links */
.theme-dark a:not(.theme-btn) {
  color: var(--accent-primary);
}

.theme-dark a:not(.theme-btn):hover {
  color: var(--accent-hover);
}

/* Code blocks and pre */
.theme-dark pre,
.theme-dark code {
  background: var(--secondary-bg);
  color: var(--text-primary);
  border-color: var(--border-color);
}

/* Tables */
.theme-dark table {
  border-color: var(--border-color);
}

.theme-dark th {
  background: var(--secondary-bg);
  color: var(--heading-color);
}

.theme-dark td {
  background: var(--card-bg);
  color: var(--main-color);
  border-color: var(--border-color);
}

/* Modals */
.theme-dark .modal-content {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .modal-header {
  border-bottom-color: var(--border-color);
}

.theme-dark .modal-footer {
  border-top-color: var(--border-color);
}

/* ============================================
 * HERO SECTION - Dark Mode
 * ============================================ */

/* Hero section - transparent background to show video */
.theme-dark .hero-section {
  background: transparent !important;
}

.theme-dark .hero-background {
  background: transparent !important;
}

/* Hero container - must be transparent to show video */
.theme-dark .hero-container {
  background: transparent !important;
}

/* Hero content text styling */
.theme-dark .hero-content {
  background: transparent !important;
}

.theme-dark .hero-content h1,
.theme-dark .hero-content h2,
.theme-dark .hero-title {
  color: var(--text-primary) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
}

.theme-dark .hero-content h3 {
  color: var(--text-primary) !important;
}

.theme-dark .hero-content p,
.theme-dark .hero-subtitle {
  color: var(--text-secondary) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
}

/* ============================================
 * ABOUT SECTION - Dark Mode
 * ============================================ */

.theme-dark .about-area-seamless {
  background: transparent;
}

.theme-dark .about-text h2,
.theme-dark .about-text h3 {
  color: var(--heading-color);
}

.theme-dark .about-text p {
  color: var(--main-color);
}

.theme-dark .about-text .subtitle {
  color: var(--subtitle-color);
}

.theme-dark .about-text ul li strong {
  color: var(--accent-primary);
}

.theme-dark .about-text ul li span {
  color: var(--text-secondary);
}

.theme-dark .read-more-btn-seamless {
  background: var(--accent-primary);
  color: var(--primary-bg);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.theme-dark .read-more-btn-seamless:hover {
  background: transparent;
  color: var(--accent-primary);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.theme-dark .team-section-seamless {
  border-top-color: var(--border-color);
}

.theme-dark .team-title {
  color: var(--heading-color);
}

.theme-dark .founder-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .founder-card:hover {
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.15);
}

.theme-dark .founder-card h2 {
  color: var(--heading-color);
}

.theme-dark .founder-card p {
  color: var(--subtitle-color);
}

.theme-dark .founder-card img,
.theme-dark .mercury-avatar {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
}

.theme-dark .founder-card:hover img,
.theme-dark .founder-card:hover .mercury-avatar {
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.3);
}

/* ============================================
 * FAQ SECTION - Dark Mode
 * ============================================ */

.theme-dark .faq-section-enhanced {
  background: transparent;
}

.theme-dark .faq-item-enhanced {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .faq-item-enhanced:hover {
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
}

.theme-dark .faq-item-enhanced.active {
  border-color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.15);
}

.theme-dark .faq-question-btn:hover {
  background: var(--hover-overlay);
}

.theme-dark .faq-item-enhanced.active .faq-question-btn {
  background: var(--hover-overlay);
}

.theme-dark .question-text {
  color: var(--heading-color);
}

.theme-dark .faq-item-enhanced.active .question-text {
  color: var(--accent-primary);
}

.theme-dark .faq-icon {
  color: var(--accent-primary);
  background: var(--hover-overlay);
}

.theme-dark .faq-item-enhanced:hover .faq-icon {
  background: var(--accent-primary);
  color: var(--primary-bg);
}

.theme-dark .faq-item-enhanced.active .faq-icon {
  background: var(--accent-primary);
  color: var(--primary-bg);
}

.theme-dark .faq-answer-content p {
  color: var(--text-secondary);
}

.theme-dark .faq-contact-card-enhanced {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .faq-contact-card-enhanced:hover {
  box-shadow: 0 12px 32px rgba(56, 189, 248, 0.15);
}

.theme-dark .contact-title {
  color: var(--heading-color);
}

.theme-dark .contact-subtitle {
  color: var(--text-secondary);
}

.theme-dark .faq-contact-btn {
  background: var(--accent-primary);
  color: var(--primary-bg);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.theme-dark .faq-contact-btn:hover {
  background: transparent;
  color: var(--accent-primary);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.theme-dark .email-link-wrapper {
  border-top-color: var(--border-color);
}

.theme-dark .email-link {
  color: var(--accent-primary);
}

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

/* ============================================
 * CONTACT FORM - Dark Mode
 * ============================================ */

.theme-dark .contact-section-enhanced {
  background: transparent;
}

.theme-dark .contact-main-title {
  color: var(--heading-color);
}

.theme-dark .contact-subtitle {
  color: var(--text-secondary);
}

.theme-dark .contact-form-wrapper {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .contact-form-wrapper:hover {
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.12);
}

.theme-dark .contact-alert.alert-success {
  background: rgba(74, 222, 128, 0.15);
  border-color: rgba(74, 222, 128, 0.4);
  color: #4ade80;
}

.theme-dark .contact-alert.alert-error {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #f87171;
}

.theme-dark .form-label {
  color: var(--heading-color);
}

.theme-dark .input-wrapper {
  background: var(--input-bg);
  border-color: var(--border-color);
}

.theme-dark .input-wrapper.focused {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.theme-dark .input-wrapper.error {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.theme-dark .input-icon {
  color: var(--text-secondary);
}

.theme-dark .input-wrapper.focused .input-icon {
  color: var(--accent-primary);
}

.theme-dark .form-input,
.theme-dark .form-select,
.theme-dark .form-textarea {
  color: var(--text-primary);
}

.theme-dark .form-input::placeholder,
.theme-dark .form-textarea::placeholder {
  color: var(--input-placeholder);
}

.theme-dark .form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.theme-dark .char-count {
  color: var(--text-secondary);
}

.theme-dark .error-message {
  color: #f87171;
}

.theme-dark .submit-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--primary-bg);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
}

.theme-dark .submit-btn:not(:disabled):hover {
  background: transparent;
  color: var(--accent-primary);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.35);
}

.theme-dark .spinner {
  border-color: rgba(255, 255, 255, 0.3);
  border-top-color: #ffffff;
}

/* ============================================
 * PROJECTS SECTION - Dark Mode
 * ============================================ */

.theme-dark .projects-section-enhanced {
  background: transparent;
}

.theme-dark .project-card-enhanced {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .project-card-enhanced:hover {
  box-shadow: 0 12px 40px rgba(56, 189, 248, 0.15);
}

.theme-dark .project-image-wrapper {
  background: var(--image-bg);
}

.theme-dark .project-view-btn {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: var(--primary-bg);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}

.theme-dark .project-view-btn:hover {
  background: transparent;
  color: var(--accent-primary);
}

.theme-dark .project-category {
  color: var(--accent-primary);
}

.theme-dark .project-title {
  color: var(--heading-color);
}

.theme-dark .project-summary {
  color: var(--text-secondary);
}

.theme-dark .project-link {
  color: var(--accent-primary);
}

.theme-dark .project-link:hover {
  color: var(--accent-primary);
}

/* ============================================
 * SUPPORT SECTION - Dark Mode
 * ============================================ */

.theme-dark .support-section-enhanced {
  background: transparent;
}

.theme-dark .github-sponsor-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .github-sponsor-card:hover {
  box-shadow: 0 8px 32px rgba(56, 189, 248, 0.12);
}

.theme-dark .sponsor-card-header h3 {
  color: var(--heading-color);
}

.theme-dark .sponsor-card-header p {
  color: var(--text-secondary);
}

.theme-dark .support-options-title {
  color: var(--heading-color);
}

.theme-dark .support-option-card {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .support-option-card:hover {
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
}

.theme-dark .support-icon-wrapper {
  background: var(--hover-overlay);
}

.theme-dark .support-option-card:hover .support-icon-wrapper {
  background: var(--accent-primary);
}

.theme-dark .support-option-name {
  color: var(--heading-color);
}

.theme-dark .support-option-desc {
  color: var(--text-secondary);
}

.theme-dark .support-option-link {
  color: var(--accent-primary);
}

/* ============================================
 * FOOTER - Dark Mode
 * ============================================ */

.theme-dark .footer-enhanced {
  background: var(--footer-bg);
  border-top-color: var(--border-color);
}

.theme-dark .footer-social-title {
  color: var(--heading-color);
}

.theme-dark .footer-social-subtitle {
  color: var(--text-secondary);
}

.theme-dark .social-link-btn {
  background: var(--card-bg);
  border-color: var(--border-color);
}

.theme-dark .social-link-btn:hover {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
}

.theme-dark .footer-bottom {
  border-top-color: var(--border-color);
}

.theme-dark .copyright-text p {
  color: var(--text-secondary);
}

.theme-dark .copyright-link {
  color: var(--accent-primary);
}

.theme-dark .copyright-link:hover {
  color: var(--accent-primary);
}

.theme-dark .footer-tagline {
  color: var(--text-secondary);
}

.theme-dark .footer-menu a {
  color: var(--text-secondary);
}

.theme-dark .footer-menu a:hover {
  color: var(--accent-primary);
}

/* ============================================
 * MOBILE NAVIGATION - Dark Mode
 * ============================================ */

/* Keep header/logo visible when mobile menu is open in dark mode */
.theme-dark .mobile-menu-overlay.active ~ header,
.theme-dark .mobile-menu-overlay.active ~ .main-header,
.theme-dark body:has(.mobile-menu-overlay.active) .main-header,
.theme-dark body:has(.mobile-menu-overlay.active) header {
  z-index: 10000 !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  pointer-events: auto !important;
}

/* Ensure logo/brand stays visible in dark mode */
.theme-dark .mobile-menu-overlay.active ~ header .navbar-brand,
.theme-dark .mobile-menu-overlay.active ~ .main-header .navbar-brand,
.theme-dark body:has(.mobile-menu-overlay.active) .navbar-brand,
.theme-dark body:has(.mobile-menu-overlay.active) .logo {
  opacity: 1 !important;
  visibility: visible !important;
  z-index: 10001 !important;
}

/* Mobile menu overlay - full screen */
.theme-dark .mobile-menu-overlay {
  background: var(--primary-bg) !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: 100vw !important;
  max-height: 100vh !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 9999 !important;
}

.theme-dark .mobile-menu-overlay.active {
  background: var(--primary-bg) !important;
}

/* Mobile menu background layer */
.theme-dark .menu-background-layer {
  background: var(--secondary-bg) !important;
}

/* Mobile navigation container - full screen sizing */
.theme-dark .mobile-navigation {
  background: transparent !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  min-height: 100vh !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 2rem 1rem !important;
  overflow-y: auto !important;
}

/* Mobile menu list - full width, centered */
.theme-dark .mobile-menu-list {
  width: 100% !important;
  max-width: 600px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  justify-content: center !important;
  padding: 0 !important;
  margin: 0 auto !important;
  flex-grow: 1 !important;
}

/* Mobile menu items - full width centered layout */
.theme-dark .mobile-menu-item {
  color: var(--text-primary) !important;
  width: 100% !important;
  max-width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0 !important;
  margin: 0.5rem 0 !important;
  min-height: 60px !important;
  flex-shrink: 0 !important;
}

/* Mobile menu links - full width centered */
.theme-dark .mobile-nav-link {
  color: var(--text-primary) !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1.25rem 2rem !important;
  text-align: center !important;
  min-height: 56px !important;
  flex-shrink: 0 !important;
}

.theme-dark .mobile-nav-link:hover,
.theme-dark .mobile-nav-link:focus {
  color: var(--accent-primary) !important;
}

.theme-dark .link-text {
  color: var(--text-primary) !important;
  display: block;
  width: auto;
  text-align: center;
  font-size: 1.1rem !important;
  line-height: 1.4 !important;
}

/* Hamburger button lines in dark mode */
.theme-dark .hamburger-line {
  background: var(--accent-primary) !important;
}

/* Mobile close button */
.theme-dark .mobile-close-button {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .mobile-close-button:hover {
  color: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
  background: var(--hover-overlay) !important;
}

/* ========================================
   BOOTSTRAP UTILITY CLASS OVERRIDES
   Ensures Bootstrap utilities work in dark mode
   ======================================== */

/* Background Utilities */
.theme-dark .bg-light {
  background: var(--secondary-bg) !important;
}

.theme-dark .bg-white {
  background: var(--card-bg) !important;
}

.theme-dark .bg-body {
  background: var(--primary-bg) !important;
}

.theme-dark .bg-body-secondary {
  background: var(--secondary-bg) !important;
}

.theme-dark .bg-body-tertiary {
  background: var(--tertiary-bg) !important;
}

/* Text Utilities */
.theme-dark .text-dark {
  color: var(--text-primary) !important;
}

.theme-dark .text-body {
  color: var(--text-primary) !important;
}

.theme-dark .text-body-secondary {
  color: var(--text-secondary) !important;
}

.theme-dark .text-muted {
  color: var(--text-muted) !important;
}

/* Border Utilities */
.theme-dark .border {
  border-color: var(--border-color) !important;
}

.theme-dark .border-top,
.theme-dark .border-bottom,
.theme-dark .border-start,
.theme-dark .border-end {
  border-color: var(--border-color) !important;
}

.theme-dark .border-light {
  border-color: var(--border-color) !important;
}

/* Card Utilities */
.theme-dark .card {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .card-header {
  background: var(--secondary-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .card-footer {
  background: var(--secondary-bg) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .card-title {
  color: var(--text-primary) !important;
}

.theme-dark .card-text {
  color: var(--text-secondary) !important;
}

/* Table Utilities */
.theme-dark .table {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .table > thead {
  color: var(--text-primary) !important;
}

.theme-dark .table > tbody {
  color: var(--text-primary) !important;
}

.theme-dark .table-light {
  background: var(--secondary-bg) !important;
  color: var(--text-primary) !important;
}

.theme-dark .table-light th,
.theme-dark .table-light td {
  background: var(--secondary-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .table-bordered th,
.theme-dark .table-bordered td {
  border-color: var(--border-color) !important;
}

.theme-dark .table-striped > tbody > tr:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.02) !important;
}

.theme-dark .table-hover > tbody > tr:hover {
  background: rgba(255, 255, 255, 0.05) !important;
}

/* List Group Utilities */
.theme-dark .list-group-item {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .list-group-item:hover {
  background: var(--secondary-bg) !important;
}

.theme-dark .list-group-item.active {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
}

/* Form Utilities */
.theme-dark .form-control {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .form-control::placeholder {
  color: var(--text-muted) !important;
}

.theme-dark .form-control:focus {
  background: var(--card-bg) !important;
  border-color: var(--accent-primary) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.15) !important;
}

.theme-dark .form-control:disabled,
.theme-dark .form-control[readonly] {
  background: var(--secondary-bg) !important;
  color: var(--text-muted) !important;
}

.theme-dark .form-select {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .form-label {
  color: var(--text-primary) !important;
}

.theme-dark .form-text {
  color: var(--text-muted) !important;
}

.theme-dark .form-check-input {
  background-color: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .form-check-input:checked {
  background-color: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
}

.theme-dark .form-check-label {
  color: var(--text-primary) !important;
}

/* Input Group */
.theme-dark .input-group-text {
  background: var(--secondary-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

/* Alert Utilities */
.theme-dark .alert {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .alert-primary {
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

.theme-dark .alert-success {
  background: rgba(74, 222, 128, 0.1) !important;
  border-color: #4ade80 !important;
  color: #4ade80 !important;
}

.theme-dark .alert-danger {
  background: rgba(248, 113, 113, 0.1) !important;
  border-color: #f87171 !important;
  color: #f87171 !important;
}

.theme-dark .alert-warning {
  background: rgba(251, 191, 36, 0.1) !important;
  border-color: #fbbf24 !important;
  color: #fbbf24 !important;
}

.theme-dark .alert-info {
  background: rgba(56, 189, 248, 0.1) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

/* Modal Utilities */
.theme-dark .modal-content {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .modal-header {
  border-color: var(--border-color) !important;
}

.theme-dark .modal-footer {
  border-color: var(--border-color) !important;
}

.theme-dark .modal-title {
  color: var(--text-primary) !important;
}

.theme-dark .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
}

/* Dropdown Utilities */
.theme-dark .dropdown-menu {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .dropdown-item {
  color: var(--text-primary) !important;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
  background: var(--secondary-bg) !important;
  color: var(--accent-primary) !important;
}

.theme-dark .dropdown-item.active,
.theme-dark .dropdown-item:active {
  background: var(--accent-primary) !important;
  color: #fff !important;
}

.theme-dark .dropdown-divider {
  border-color: var(--border-color) !important;
}

/* Nav Utilities */
.theme-dark .nav-link {
  color: var(--text-secondary) !important;
}

.theme-dark .nav-link:hover {
  color: var(--accent-primary) !important;
}

.theme-dark .nav-link.active {
  color: var(--accent-primary) !important;
}

.theme-dark .nav-tabs {
  border-color: var(--border-color) !important;
}

.theme-dark .nav-tabs .nav-link {
  border-color: transparent !important;
}

.theme-dark .nav-tabs .nav-link.active {
  background: var(--card-bg) !important;
  border-color: var(--border-color) var(--border-color) var(--card-bg) !important;
  color: var(--text-primary) !important;
}

/* Breadcrumb Utilities */
.theme-dark .breadcrumb {
  background: var(--secondary-bg) !important;
}

.theme-dark .breadcrumb-item a {
  color: var(--accent-primary) !important;
}

.theme-dark .breadcrumb-item.active {
  color: var(--text-secondary) !important;
}

/* Pagination Utilities */
.theme-dark .page-link {
  background: var(--card-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .page-link:hover {
  background: var(--secondary-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--accent-primary) !important;
}

.theme-dark .page-item.active .page-link {
  background: var(--accent-primary) !important;
  border-color: var(--accent-primary) !important;
}

.theme-dark .page-item.disabled .page-link {
  background: var(--secondary-bg) !important;
  border-color: var(--border-color) !important;
  color: var(--text-muted) !important;
}

/* Progress Utilities */
.theme-dark .progress {
  background: var(--secondary-bg) !important;
}

/* Spinner Utilities */
.theme-dark .spinner-border {
  color: var(--accent-primary) !important;
}

.theme-dark .spinner-grow {
  color: var(--accent-primary) !important;
}

/* Shadow Overrides - make shadows more visible on dark bg */
.theme-dark .shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.3) !important;
}

.theme-dark .shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.4) !important;
}

.theme-dark .shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.5) !important;
}

/**
 * Color & Contrast Fixes
 * Non-destructive fixes for text visibility and WCAG AA compliance
 * Addresses dark mode button visibility issues
 */

/* ============================================
 * HERO SECTION - Dark Mode Button Fixes
 * ============================================ */

/* Issue: "Discover NEWSDESK" button has poor contrast in dark mode
 * The blue gradient background with white text doesn't stand out on dark backgrounds
 * Solution: Use bright cyan with dark text for maximum contrast */

.theme-dark .hero-section .btn-primary {
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-hover) 100%) !important;
  border: 2px solid var(--accent-primary) !important;
  color: var(--primary-bg) !important; /* Dark text on bright background */
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.3) !important;
}

.theme-dark .hero-section .btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent-active) 100%) !important;
  border-color: var(--accent-hover) !important;
  color: var(--primary-bg) !important;
  box-shadow: 0 6px 16px rgba(56, 189, 248, 0.4) !important;
  transform: translateY(-2px);
}

.theme-dark .hero-section .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3) !important;
}

/* Secondary button (outline style) - ensure visibility */
.theme-dark .hero-section .btn-outline-light {
  background: rgba(255, 255, 255, 0.05) !important;
  border: 2px solid var(--text-primary) !important;
  color: var(--text-primary) !important;
}

.theme-dark .hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: var(--accent-primary) !important;
  color: var(--accent-primary) !important;
}

/* ============================================
 * GLOBAL BUTTON CONTRAST IMPROVEMENTS
 * ============================================ */

/* Ensure all primary buttons have good contrast in dark mode */
.theme-dark .btn-primary {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important; /* Dark text on bright background */
  border-color: var(--accent-primary) !important;
}

.theme-dark .btn-primary:hover {
  background: var(--accent-hover) !important;
  color: var(--primary-bg) !important;
  border-color: var(--accent-hover) !important;
}

.theme-dark .btn-primary:focus {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
  box-shadow: 0 0 0 0.2rem rgba(56, 189, 248, 0.4) !important;
}

/* ============================================
 * TEXT CONTRAST FIXES
 * ============================================ */

/* Ensure all text has sufficient contrast in dark mode */
.theme-dark .text-muted {
  color: var(--text-secondary) !important;
  opacity: 0.9;
}

.theme-dark .text-secondary {
  color: var(--text-secondary) !important;
}

/* Links need to be clearly visible */
.theme-dark a:not(.btn):not(.theme-btn):not(.nav-link) {
  color: var(--accent-primary) !important;
  -webkit-text-decoration-color: var(--accent-primary) !important;
          text-decoration-color: var(--accent-primary) !important;
}

.theme-dark a:not(.btn):not(.theme-btn):not(.nav-link):hover {
  color: var(--accent-hover) !important;
  -webkit-text-decoration-color: var(--accent-hover) !important;
          text-decoration-color: var(--accent-hover) !important;
}

/* ============================================
 * CARD & COMPONENT CONTRAST
 * ============================================ */

/* Cards need clear borders and backgrounds in dark mode */
.theme-dark .card,
.theme-dark .portfolio-box,
.theme-dark .service-item {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .card-title,
.theme-dark .card-header {
  color: var(--heading-color) !important;
}

.theme-dark .card-text,
.theme-dark .card-body {
  color: var(--text-primary) !important;
}

/* ============================================
 * FORM ELEMENT CONTRAST
 * ============================================ */

/* Inputs need clear visibility */
.theme-dark input,
.theme-dark textarea,
.theme-dark select {
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
  border: 1px solid var(--input-border) !important;
}

.theme-dark input:focus,
.theme-dark textarea:focus,
.theme-dark select:focus {
  border-color: var(--input-focus-border) !important;
  background: var(--input-bg) !important;
  color: var(--input-text) !important;
}

.theme-dark input::placeholder,
.theme-dark textarea::placeholder {
  color: var(--input-placeholder) !important;
  opacity: 0.6;
}

/* Labels need to be readable */
.theme-dark label,
.theme-dark .form-label {
  color: var(--text-primary) !important;
  font-weight: 500;
}

/* ============================================
 * BADGE & PILL CONTRAST
 * ============================================ */

/* Badges need sufficient contrast */
.theme-dark .badge-primary,
.theme-dark .badge.bg-primary {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .badge-secondary,
.theme-dark .badge.bg-secondary {
  background: var(--secondary-bg) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color);
}

.theme-dark .badge-success,
.theme-dark .badge.bg-success {
  background: var(--success-color) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .badge-danger,
.theme-dark .badge.bg-danger {
  background: var(--danger-color) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .badge-warning,
.theme-dark .badge.bg-warning {
  background: var(--warning-color) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .badge-info,
.theme-dark .badge.bg-info {
  background: var(--info-color) !important;
  color: var(--primary-bg) !important;
}

/* ============================================
 * ALERT CONTRAST
 * ============================================ */

/* Alerts need clear visibility and contrast */
.theme-dark .alert-primary {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: var(--accent-primary) !important;
  color: var(--text-primary) !important;
}

.theme-dark .alert-success {
  background: rgba(74, 222, 128, 0.15) !important;
  border-color: var(--success-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .alert-danger {
  background: rgba(248, 113, 113, 0.15) !important;
  border-color: var(--danger-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .alert-warning {
  background: rgba(251, 191, 36, 0.15) !important;
  border-color: var(--warning-color) !important;
  color: var(--text-primary) !important;
}

.theme-dark .alert-info {
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: var(--info-color) !important;
  color: var(--text-primary) !important;
}

/* ============================================
 * MODAL CONTRAST
 * ============================================ */

/* Modals need clear separation from background */
.theme-dark .modal-content {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  color: var(--text-primary) !important;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.4) !important;
}

.theme-dark .modal-header {
  background: var(--secondary-bg) !important;
  border-bottom: 1px solid var(--border-color) !important;
  color: var(--heading-color) !important;
}

.theme-dark .modal-title {
  color: var(--heading-color) !important;
}

.theme-dark .modal-body {
  background: var(--card-bg) !important;
  color: var(--text-primary) !important;
}

.theme-dark .modal-footer {
  background: var(--secondary-bg) !important;
  border-top: 1px solid var(--border-color) !important;
}

.theme-dark .close,
.theme-dark .btn-close {
  color: var(--text-primary) !important;
  opacity: 0.8;
}

.theme-dark .close:hover,
.theme-dark .btn-close:hover {
  color: var(--accent-primary) !important;
  opacity: 1;
}

/* ============================================
 * TABLE CONTRAST
 * ============================================ */

/* Tables need clear row/column distinction */
.theme-dark table {
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark thead {
  background: var(--secondary-bg) !important;
  color: var(--heading-color) !important;
  border-color: var(--border-color) !important;
}

.theme-dark th {
  background: var(--secondary-bg) !important;
  color: var(--heading-color) !important;
  border-color: var(--border-color) !important;
  font-weight: 600;
}

.theme-dark tbody {
  background: var(--card-bg) !important;
  color: var(--text-primary) !important;
}

.theme-dark td {
  background: var(--card-bg) !important;
  color: var(--text-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark tr:hover {
  background: var(--hover-overlay) !important;
}

.theme-dark .table-striped tbody tr:nth-of-type(odd) {
  background: var(--secondary-bg) !important;
}

/* ============================================
 * NAVIGATION CONTRAST
 * ============================================ */

/* Navigation items need clear active/hover states */
.theme-dark .nav-link {
  color: var(--nav-text) !important;
}

.theme-dark .nav-link:hover {
  color: var(--accent-primary) !important;
  background: var(--hover-overlay) !important;
}

.theme-dark .nav-link.active {
  color: var(--accent-primary) !important;
  background: rgba(56, 189, 248, 0.15) !important;
  border-color: var(--accent-primary) !important;
}

/* Breadcrumb needs visibility */
.theme-dark .breadcrumb {
  background: var(--secondary-bg) !important;
  border: 1px solid var(--border-color) !important;
}

.theme-dark .breadcrumb-item {
  color: var(--text-secondary) !important;
}

.theme-dark .breadcrumb-item.active {
  color: var(--text-primary) !important;
}

.theme-dark .breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-muted) !important;
}

/* ============================================
 * PAGINATION CONTRAST
 * ============================================ */

/* Pagination needs clear active state */
.theme-dark .pagination .page-link {
  background: var(--card-bg) !important;
  color: var(--accent-primary) !important;
  border-color: var(--border-color) !important;
}

.theme-dark .pagination .page-link:hover {
  background: var(--hover-overlay) !important;
  color: var(--accent-hover) !important;
  border-color: var(--accent-primary) !important;
}

.theme-dark .pagination .page-item.active .page-link {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
  border-color: var(--accent-primary) !important;
}

.theme-dark .pagination .page-item.disabled .page-link {
  background: var(--disabled-bg) !important;
  color: var(--disabled-text) !important;
  border-color: var(--border-color) !important;
}

/* ============================================
 * DROPDOWN CONTRAST
 * ============================================ */

/* Dropdowns need clear visibility */
.theme-dark .dropdown-menu {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -2px rgba(0, 0, 0, 0.2) !important;
}

.theme-dark .dropdown-item {
  color: var(--text-primary) !important;
}

.theme-dark .dropdown-item:hover,
.theme-dark .dropdown-item:focus {
  background: var(--hover-overlay) !important;
  color: var(--accent-primary) !important;
}

.theme-dark .dropdown-item.active {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .dropdown-divider {
  border-color: var(--border-color) !important;
}

/* ============================================
 * TOOLTIP & POPOVER CONTRAST
 * ============================================ */

/* Tooltips need to stand out */
.theme-dark .tooltip .tooltip-inner {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
  font-weight: 500;
}

.theme-dark .tooltip .tooltip-arrow::before {
  border-top-color: var(--accent-primary) !important;
}

/* Popovers need clear separation */
.theme-dark .popover {
  background: var(--card-bg) !important;
  border: 1px solid var(--border-color) !important;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3) !important;
}

.theme-dark .popover-header {
  background: var(--secondary-bg) !important;
  color: var(--heading-color) !important;
  border-bottom: 1px solid var(--border-color) !important;
}

.theme-dark .popover-body {
  color: var(--text-primary) !important;
}

/* ============================================
 * PROGRESS BAR CONTRAST
 * ============================================ */

/* Progress bars need clear visibility */
.theme-dark .progress {
  background: var(--secondary-bg) !important;
  border: 1px solid var(--border-color) !important;
}

.theme-dark .progress-bar {
  background: var(--accent-primary) !important;
  color: var(--primary-bg) !important;
}

.theme-dark .progress-bar-success {
  background: var(--success-color) !important;
}

.theme-dark .progress-bar-danger {
  background: var(--danger-color) !important;
}

.theme-dark .progress-bar-warning {
  background: var(--warning-color) !important;
}

/* ============================================
 * SPINNER & LOADER CONTRAST
 * ============================================ */

/* Spinners need to be visible */
.theme-dark .spinner-border,
.theme-dark .spinner-grow {
  color: var(--accent-primary) !important;
}

.theme-dark .spinner-border-primary,
.theme-dark .spinner-grow-primary {
  color: var(--accent-primary) !important;
}

/* ============================================
 * CODE & PRE CONTRAST
 * ============================================ */

/* Code blocks need clear distinction */
.theme-dark pre,
.theme-dark code {
  background: var(--secondary-bg) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border-color) !important;
}

.theme-dark code {
  color: var(--accent-primary) !important;
}

.theme-dark pre code {
  color: var(--text-primary) !important;
}

/* ============================================
 * BLOCKQUOTE CONTRAST
 * ============================================ */

/* Blockquotes need clear styling */
.theme-dark blockquote {
  border-left: 4px solid var(--accent-primary) !important;
  background: var(--secondary-bg) !important;
  color: var(--text-primary) !important;
  padding: 1rem 1.5rem;
  margin: 1rem 0;
}

.theme-dark blockquote cite,
.theme-dark blockquote footer {
  color: var(--text-secondary) !important;
}

/* ============================================
 * HR / DIVIDER CONTRAST
 * ============================================ */

/* Horizontal rules need visibility */
.theme-dark hr {
  border-color: var(--border-color) !important;
  opacity: 0.3;
}

/* ============================================
 * SCROLLBAR CONTRAST (webkit)
 * ============================================ */

/* Scrollbars need to be visible but not obtrusive */
.theme-dark ::-webkit-scrollbar {
  width: 12px;
  height: 12px;
  background: var(--scrollbar-track);
}

.theme-dark ::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

.theme-dark ::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border-radius: 6px;
  border: 2px solid var(--scrollbar-track);
}

.theme-dark ::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

/* ============================================
 * SELECTION CONTRAST
 * ============================================ */

/* Text selection needs to be visible */
.theme-dark ::selection {
  background: var(--accent-primary);
  color: var(--primary-bg);
}

.theme-dark ::-moz-selection {
  background: var(--accent-primary);
  color: var(--primary-bg);
}

/**
 * High Contrast Mode
 * Activated when user's system preferences request high contrast
 * Supports both light and dark high contrast modes
 */

/* ============================================
 * HIGH CONTRAST - LIGHT MODE
 * ============================================ */

@media (prefers-contrast: high) {
  :root {
    /* Pure black and white for maximum contrast */
    --primary-bg: #ffffff;
    --secondary-bg: #f5f5f5;
    --card-bg: #ffffff;
    --primary-color: #0000ff;      /* Pure blue */
    --text-primary: #000000;       /* Pure black */
    --text-secondary: #000000;
    --heading-color: #000000;
    --main-color: #000000;

    /* Borders must be solid and visible */
    --border-color: #000000;
    --border-color-hover: #0000ff;

    /* High contrast semantic colors */
    --success-color: #008000;      /* Pure green */
    --warning-color: #ff8c00;      /* Dark orange */
    --danger-color: #ff0000;       /* Pure red */
    --info-color: #0000ff;         /* Pure blue */

    /* Accent colors */
    --accent-primary: #0000ff;
    --accent-hover: #0000cc;
    --accent-active: #000099;

    /* Forms */
    --input-bg: #ffffff;
    --input-border: #000000;
    --input-text: #000000;
    --input-placeholder: #000000;
    --input-focus-border: #0000ff;

    /* Navigation */
    --nav-bg: #ffffff;
    --nav-text: #000000;
    --nav-hover: #f0f0f0;

    /* Buttons */
    --btn-primary-bg: #0000ff;
    --btn-primary-hover: #0000cc;
    --btn-primary-text: #ffffff;
    --btn-secondary-bg: #000000;
    --btn-secondary-hover: #333333;
  }

  /* Remove subtle shadows and gradients */
  *:not(.skip-to-main) {
    box-shadow: none !important;
    text-shadow: none !important;
    background-image: none !important;
  }

  /* Solid backgrounds only */
  * {
    background-blend-mode: normal !important;
  }

  /* Stronger borders */
  .card,
  .btn,
  button,
  input,
  textarea,
  select,
  .border,
  [class*="border"] {
    border-width: 2px !important;
    border-color: var(--border-color) !important;
    border-style: solid !important;
  }

  /* High contrast text */
  body,
  p,
  span,
  div,
  li,
  a {
    color: #000000 !important;
  }

  /* High contrast headings */
  h1, h2, h3, h4, h5, h6 {
    color: #000000 !important;
    font-weight: 700 !important;
  }

  /* High contrast links */
  a:not(.btn):not(.theme-btn) {
    color: #0000ff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
  }

  a:not(.btn):not(.theme-btn):hover {
    color: #0000cc !important;
    text-decoration-thickness: 3px !important;
  }

  /* High contrast buttons */
  .btn,
  .theme-btn,
  button {
    background: #0000ff !important;
    color: #ffffff !important;
    border: 2px solid #000000 !important;
    font-weight: 600 !important;
  }

  .btn:hover,
  .theme-btn:hover,
  button:hover {
    background: #0000cc !important;
    border-color: #000000 !important;
  }

  /* High contrast focus indicators */
  *:focus-visible {
    outline: 3px solid #0000ff !important;
    outline-offset: 3px !important;
  }

  /* High contrast forms */
  input,
  textarea,
  select {
    background: #ffffff !important;
    color: #000000 !important;
    border: 2px solid #000000 !important;
  }

  input:focus,
  textarea:focus,
  select:focus {
    border-color: #0000ff !important;
    border-width: 3px !important;
  }

  /* High contrast placeholders */
  ::placeholder {
    color: #000000 !important;
    opacity: 0.6 !important;
  }

  /* Remove all transitions for instant feedback */
  * {
    transition: none !important;
    animation: none !important;
  }

  /* High contrast cards */
  .card,
  .portfolio-box,
  .service-item {
    background: #ffffff !important;
    border: 2px solid #000000 !important;
  }

  /* High contrast navigation */
  nav,
  header,
  .main-header {
    background: #ffffff !important;
    border-bottom: 2px solid #000000 !important;
  }

  nav a,
  .nav-link {
    color: #0000ff !important;
    text-decoration: underline !important;
  }

  /* High contrast tables */
  table {
    border: 2px solid #000000 !important;
  }

  th,
  td {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
  }

  th {
    font-weight: 700 !important;
  }

  /* Increase overall contrast */
  body {
    filter: contrast(1.5) !important;
  }
}

/* ============================================
 * HIGH CONTRAST - DARK MODE
 * ============================================ */

@media (prefers-contrast: high) {
  .theme-dark {
    /* Pure black and white (inverted) */
    --primary-bg: #000000;
    --secondary-bg: #0a0a0a;
    --card-bg: #000000;
    --primary-color: #00ffff;      /* Cyan */
    --text-primary: #ffffff;       /* Pure white */
    --text-secondary: #ffffff;
    --heading-color: #ffffff;
    --main-color: #ffffff;

    /* Borders must be solid and visible */
    --border-color: #ffffff;
    --border-color-hover: #00ffff;

    /* High contrast semantic colors (dark mode) */
    --success-color: #00ff00;      /* Bright green */
    --warning-color: #ffff00;      /* Bright yellow */
    --danger-color: #ff0000;       /* Bright red */
    --info-color: #00ffff;         /* Cyan */

    /* Accent colors */
    --accent-primary: #00ffff;
    --accent-hover: #00cccc;
    --accent-active: #009999;

    /* Forms */
    --input-bg: #000000;
    --input-border: #ffffff;
    --input-text: #ffffff;
    --input-placeholder: #ffffff;
    --input-focus-border: #00ffff;

    /* Navigation */
    --nav-bg: #000000;
    --nav-text: #ffffff;
    --nav-hover: #1a1a1a;

    /* Buttons */
    --btn-primary-bg: #00ffff;
    --btn-primary-hover: #00cccc;
    --btn-primary-text: #000000;
    --btn-secondary-bg: #ffffff;
    --btn-secondary-hover: #cccccc;
  }

  /* Dark mode high contrast text */
  .theme-dark body,
  .theme-dark p,
  .theme-dark span,
  .theme-dark div,
  .theme-dark li,
  .theme-dark a {
    color: #ffffff !important;
  }

  /* Dark mode high contrast headings */
  .theme-dark h1,
  .theme-dark h2,
  .theme-dark h3,
  .theme-dark h4,
  .theme-dark h5,
  .theme-dark h6 {
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  /* Dark mode high contrast links */
  .theme-dark a:not(.btn):not(.theme-btn) {
    color: #00ffff !important;
    text-decoration: underline !important;
    text-decoration-thickness: 2px !important;
  }

  .theme-dark a:not(.btn):not(.theme-btn):hover {
    color: #00cccc !important;
    text-decoration-thickness: 3px !important;
  }

  /* Dark mode high contrast buttons */
  .theme-dark .btn,
  .theme-dark .theme-btn,
  .theme-dark button {
    background: #00ffff !important;
    color: #000000 !important;
    border: 2px solid #ffffff !important;
    font-weight: 600 !important;
  }

  .theme-dark .btn:hover,
  .theme-dark .theme-btn:hover,
  .theme-dark button:hover {
    background: #00cccc !important;
    border-color: #ffffff !important;
  }

  /* Dark mode high contrast focus */
  .theme-dark *:focus-visible {
    outline: 3px solid #00ffff !important;
    outline-offset: 3px !important;
  }

  /* Dark mode high contrast forms */
  .theme-dark input,
  .theme-dark textarea,
  .theme-dark select {
    background: #000000 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
  }

  .theme-dark input:focus,
  .theme-dark textarea:focus,
  .theme-dark select:focus {
    border-color: #00ffff !important;
    border-width: 3px !important;
  }

  /* Dark mode high contrast cards */
  .theme-dark .card,
  .theme-dark .portfolio-box,
  .theme-dark .service-item {
    background: #000000 !important;
    border: 2px solid #ffffff !important;
  }

  /* Dark mode high contrast navigation */
  .theme-dark nav,
  .theme-dark header,
  .theme-dark .main-header {
    background: #000000 !important;
    border-bottom: 2px solid #ffffff !important;
  }

  .theme-dark nav a,
  .theme-dark .nav-link {
    color: #00ffff !important;
    text-decoration: underline !important;
  }

  /* Dark mode high contrast tables */
  .theme-dark table {
    border: 2px solid #ffffff !important;
  }

  .theme-dark th,
  .theme-dark td {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid #ffffff !important;
  }

  /* Increase overall contrast */
  .theme-dark body {
    filter: contrast(1.8) !important;
  }
}

/* ============================================
 * FORCED COLORS MODE (Windows High Contrast)
 * ============================================ */

@media (forced-colors: active) {
  /* Let system handle colors, but ensure structure is clear */
  * {
    forced-color-adjust: auto;
  }

  /* Ensure borders are visible in forced colors */
  .card,
  .btn,
  button,
  input,
  textarea,
  select {
    border: 2px solid !important;
  }

  /* Ensure focus is always visible */
  *:focus-visible {
    outline: 3px solid !important;
    outline-offset: 3px !important;
  }

  /* Preserve SVG icons */
  svg {
    forced-color-adjust: auto;
  }
}

/* ========================================
   HOMEPAGE UI/UX IMPROVEMENTS
   Non-destructive enhancements for better UX
   ======================================== */

/* ========================================
   1. FAQ SECTION ENHANCED
   Modern, interactive FAQ with smooth animations
   ======================================== */

.faq-section-enhanced {
  padding: 5rem 0;
  background: transparent;
  position: relative;
}

/* FAQ Accordion Container */
.faq-accordion-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Individual FAQ Item */
.faq-item-enhanced {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item-enhanced:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.12);
}

.faq-item-enhanced.active {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(0, 174, 239, 0.15);
}

/* FAQ Question Button */
.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question-btn:hover {
  background: var(--hover-overlay, rgba(0, 174, 239, 0.03));
}

.faq-item-enhanced.active .faq-question-btn {
  background: var(--hover-overlay, rgba(0, 174, 239, 0.05));
}

.question-text {
  flex: 1 1;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading-color);
  line-height: 1.5;
  transition: color 0.3s ease;
}

.faq-item-enhanced.active .question-text {
  color: var(--primary-color);
}

/* FAQ Icon (Plus/X) */
.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--primary-color);
  background: var(--hover-overlay, rgba(0, 174, 239, 0.1));
  border-radius: 50%;
  transition: all 0.3s ease;
}

.faq-item-enhanced:hover .faq-icon {
  background: var(--primary-color);
  color: var(--btn-primary-text);
  transform: scale(1.1);
}

.faq-item-enhanced.active .faq-icon {
  background: var(--primary-color);
  color: var(--btn-primary-text);
}

/* FAQ Answer */
.faq-answer-wrapper {
  overflow: hidden;
}

.faq-answer-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer-content p {
  margin: 0;
  color: var(--text-secondary, var(--main-color));
  font-size: 1rem;
  line-height: 1.8;
}

/* ========================================
   2. ABOUT SECTION IMPROVEMENTS (SEAMLESS)
   Integrated with app theme, no extra containers
   ======================================== */

.about-area-seamless {
  background: transparent;
  padding: 5rem 0;
  position: relative;
}

.about-part-seamless {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-content-wrapper {
  margin: 0 auto 3rem;
  padding: 0;
  background: transparent;
}

.about-content-seamless {
  overflow: hidden;
}

.about-text {
  color: var(--main-color);
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
}

.about-text h2,
.about-text h3 {
  color: var(--heading-color);
  font-size: 1.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
  text-align: center;
}

.about-text h3 {
  font-size: 1.5rem;
}

.about-text .subtitle {
  color: var(--subtitle-color);
  font-size: 1.1rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.about-text p {
  line-height: 1.8;
  margin-bottom: 1.25rem;
  color: var(--main-color);
  font-size: 1.05rem;
}

.about-text ul {
  margin-bottom: 1.5rem;
  list-style: none;
  padding-left: 0;
}

.about-text ul li {
  margin-bottom: 1.25rem;
  padding-left: 0;
  line-height: 1.7;
}

.about-text ul li strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.about-text ul li span {
  color: var(--text-secondary);
  display: block;
  padding-left: 0;
  font-size: 1rem;
}

/* Read More button - modern, dynamic design */
.read-more-center {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

.read-more-btn-seamless {
  background: var(--primary-color);
  color: var(--body-background);
  border: 2px solid var(--primary-color);
  padding: 0.875rem 2.5rem;
  border-radius: var(--button-border-radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
  position: relative;
  overflow: hidden;
}

.read-more-btn-seamless::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.read-more-btn-seamless:hover::before {
  transform: translateX(100%);
}

.read-more-btn-seamless:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.read-more-btn-seamless:active {
  transform: translateY(0);
}

.read-more-btn-seamless .btn-icon {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.read-more-btn-seamless:hover .btn-icon {
  transform: translateY(2px);
}

/* Team section styling */
.team-section-seamless {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-color);
}

.team-title {
  text-align: center;
  margin-bottom: 2.5rem;
  color: var(--heading-color);
  font-size: 1.75rem;
  font-weight: 600;
}

.founder-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border-radius: 1rem;
  transition: all 0.3s ease;
  background: var(--card-bg, transparent);
  border: 1px solid var(--border-color);
}

.founder-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.15);
}

.founder-card img {
  border-radius: 50%;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2);
  transition: all 0.3s ease;
}

.founder-card:hover img {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 174, 239, 0.3);
}

.mercury-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--brand-gradient, linear-gradient(135deg, #0056b3 0%, #007bff 100%));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary-color);
  box-shadow: 0 4px 12px rgba(0, 174, 239, 0.2);
  transition: all 0.3s ease;
}

.founder-card:hover .mercury-avatar {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0, 174, 239, 0.3);
}

.founder-card h2 {
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  color: var(--heading-color);
  font-size: 1.35rem;
}

.founder-card p {
  color: var(--subtitle-color);
  font-style: italic;
  font-size: 1rem;
  margin-bottom: 0;
}

/* ========================================
   3. BUTTON CONTRAST IMPROVEMENTS
   Make buttons stand out against blue backgrounds
   ======================================== */

/* Primary CTA buttons */
.theme-btn {
  background: var(--card-bg, #f5f6f8) !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.875rem 2rem !important;
  font-weight: 600 !important;
  border-radius: 2rem !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem !important;
}

.theme-btn:hover {
  background: var(--primary-color) !important;
  color: var(--btn-primary-text) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.4) !important;
}

.theme-btn:active {
  transform: translateY(0) !important;
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.3) !important;
}

/* Special buttons that should keep primary background */
.theme-btn.subscription-btn,
.theme-btn.call-to-action-button {
  background: var(--primary-color) !important;
  color: var(--btn-primary-text) !important;
  border-color: var(--primary-color) !important;
}

.theme-btn.subscription-btn:hover,
.theme-btn.call-to-action-button:hover {
  background: var(--card-bg, #f5f6f8) !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* Outline variant */
.theme-btn.outline-btn {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
}

.theme-btn.outline-btn:hover {
  background: var(--primary-color) !important;
  color: var(--btn-primary-text) !important;
}

/* ========================================
   2. FAQ CONTACT CARD ENHANCED
   Improved contact card with better styling
   ======================================== */

.faq-contact-card-enhanced {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-contact-card-enhanced:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 174, 239, 0.15);
}

.logo-wrapper {
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-contact-card-enhanced:hover .logo-wrapper {
  transform: scale(1.05);
}

.faq-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
}

.contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.5rem;
}

.contact-subtitle {
  font-size: 1rem;
  color: var(--text-secondary, var(--subtitle-color));
  margin-bottom: 1.5rem;
}

.faq-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 2rem;
  background: var(--primary-color);
  color: var(--btn-primary-text);
  border: 2px solid var(--primary-color);
  border-radius: var(--button-border-radius);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
}

.faq-contact-btn:hover {
  background: transparent;
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.faq-contact-btn .btn-icon {
  font-size: 1.25rem;
}

.email-link-wrapper {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
  width: 100%;
}

.email-link {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
  display: inline-block;
}

.email-link:hover {
  color: var(--primary-color);
  transform: translateX(3px);
  text-decoration: underline;
}

/* ========================================
   6. MOBILE & TABLET RESPONSIVENESS
   ======================================== */

/* Tablet (768px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  /* About Section */
  .about-area-seamless {
    padding: 4rem 0;
  }

  .about-text h2,
  .about-text h3 {
    font-size: 1.5rem;
  }

  .about-text h3 {
    font-size: 1.35rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .about-text .subtitle {
    font-size: 1rem;
  }

  .read-more-btn-seamless {
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
  }

  .founder-card {
    padding: 1.75rem 1.25rem;
  }

  .team-title {
    font-size: 1.5rem;
  }

  /* FAQ Section */
  .faq-section-enhanced {
    padding: 4rem 0;
  }

  .faq-contact-card-enhanced {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .contact-title {
    font-size: 1.35rem;
  }

  .question-text {
    font-size: 1rem;
  }

  .faq-answer-content p {
    font-size: 0.95rem;
  }
}

/* Mobile (up to 768px) */
@media (max-width: 768px) {
  .about-area-seamless {
    padding: 3rem 0;
  }

  .about-text {
    padding: 0 1rem;
  }

  .about-text h2,
  .about-text h3 {
    font-size: 1.35rem;
    margin-top: 1.5rem;
  }

  .about-text h3 {
    font-size: 1.25rem;
  }

  .about-text .subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .about-text p {
    font-size: 0.95rem;
    line-height: 1.7;
  }

  .about-text ul li {
    margin-bottom: 1rem;
  }

  .about-text ul li strong {
    font-size: 1rem;
  }

  .about-text ul li span {
    font-size: 0.9rem;
  }

  .read-more-btn-seamless {
    padding: 0.75rem 1.75rem;
    font-size: 0.9rem;
    gap: 0.5rem;
  }

  .read-more-btn-seamless .btn-icon {
    font-size: 1rem;
  }

  .team-section-seamless {
    margin-top: 3rem;
    padding-top: 2.5rem;
  }

  .team-title {
    font-size: 1.35rem;
    margin-bottom: 2rem;
  }

  .founder-card {
    padding: 1.5rem 1rem;
    margin-bottom: 1rem;
  }

  .founder-card h2 {
    font-size: 1.2rem;
  }

  .founder-card p {
    font-size: 0.9rem;
  }

  /* FAQ Section */
  .faq-section-enhanced {
    padding: 3rem 0;
  }

  .faq-contact-card-enhanced {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
  }

  .faq-logo {
    width: 100px;
    height: 100px;
  }

  .contact-title {
    font-size: 1.25rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .faq-contact-btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .faq-question-btn {
    padding: 1rem 1.25rem;
    gap: 1rem;
  }

  .question-text {
    font-size: 0.95rem;
  }

  .faq-icon {
    width: 28px;
    height: 28px;
    font-size: 1.5rem;
  }

  .faq-answer-content {
    padding: 0 1.25rem 1.25rem 1.25rem;
  }

  .faq-answer-content p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .email-link {
    font-size: 0.85rem;
  }

  /* Legacy styles */
  .theme-btn {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.95rem !important;
  }
}

/* Extra small mobile (up to 480px) */
@media (max-width: 480px) {
  .about-area-seamless {
    padding: 2.5rem 0;
  }

  .about-text {
    padding: 0 0.5rem;
  }

  .about-text h2,
  .about-text h3 {
    font-size: 1.2rem;
  }

  .about-text h3 {
    font-size: 1.1rem;
  }

  .about-text .subtitle {
    font-size: 0.9rem;
  }

  .about-text p {
    font-size: 0.9rem;
  }

  .read-more-btn-seamless {
    padding: 0.65rem 1.5rem;
    font-size: 0.85rem;
  }

  .founder-card {
    padding: 1.25rem 0.75rem;
  }

  .founder-card h2 {
    font-size: 1.1rem;
  }

  .founder-card p {
    font-size: 0.85rem;
  }

  .mercury-avatar {
    width: 70px;
    height: 70px;
    font-size: 1.75rem;
  }

  .founder-card img {
    width: 70px;
    height: 70px;
  }

  /* FAQ Section */
  .faq-section-enhanced {
    padding: 2.5rem 0;
  }

  .faq-contact-card-enhanced {
    padding: 1.75rem 1.25rem;
  }

  .faq-logo {
    width: 80px;
    height: 80px;
  }

  .contact-title {
    font-size: 1.15rem;
  }

  .contact-subtitle {
    font-size: 0.85rem;
  }

  .faq-contact-btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.85rem;
  }

  .faq-question-btn {
    padding: 0.875rem 1rem;
    gap: 0.75rem;
  }

  .question-text {
    font-size: 0.9rem;
  }

  .faq-icon {
    width: 26px;
    height: 26px;
    font-size: 1.35rem;
  }

  .faq-answer-content {
    padding: 0 1rem 1rem 1rem;
  }

  .faq-answer-content p {
    font-size: 0.85rem;
  }

  .email-link {
    font-size: 0.8rem;
  }
}

/* ========================================
   3. CONTACT FORM ENHANCED
   Modern contact form with better UX
   ======================================== */

.contact-section-enhanced {
  padding: 5rem 0;
  background: transparent;
}

.contact-header {
  text-align: center;
  margin-bottom: 3rem;
}

.contact-main-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary, var(--subtitle-color));
  line-height: 1.8;
  max-width: 600px;
  margin: 0 auto;
}

.contact-form-wrapper {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: var(--card-border-radius-lg);
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.08);
  transition: all 0.3s ease;
}

.contact-form-wrapper:hover {
  box-shadow: 0 8px 32px rgba(0, 174, 239, 0.12);
}

/* Alert Messages */
.contact-alert {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: var(--card-border-radius-sm);
  margin-bottom: 2rem;
  font-size: 0.95rem;
  font-weight: 500;
}

.contact-alert.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success-border);
  color: var(--success-text);
}

.contact-alert.alert-error {
  background: var(--danger-bg);
  border: 1px solid var(--danger-border);
  color: var(--danger-text);
}

.alert-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* Form Layout */
.contact-form-enhanced {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

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

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.required {
  color: var(--danger-color);
}

/* Input Wrapper with Icon */
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--input-bg, #f9f9f9);
  border: 2px solid var(--border-color);
  border-radius: var(--card-border-radius-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper.focused {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 174, 239, 0.1);
}

.input-wrapper.error {
  border-color: var(--danger-color);
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.input-icon {
  font-size: 1.25rem;
  padding: 0 1rem;
  color: var(--text-secondary, var(--subtitle-color));
  transition: all 0.3s ease;
}

.input-wrapper.focused .input-icon {
  color: var(--primary-color);
}

.form-input,
.form-select {
  flex: 1 1;
  padding: 1rem 1rem 1rem 0;
  border: none;
  background: transparent;
  color: var(--main-color);
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  font-family: inherit;
}

.form-select {
  padding-right: 2rem;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}

.form-input::placeholder,
.form-select option[value=""] {
  color: var(--input-placeholder, var(--subtitle-color));
  opacity: 0.6;
}

/* Textarea */
.textarea-wrapper {
  align-items: flex-start;
}

.form-textarea {
  flex: 1 1;
  padding: 1rem;
  border: none;
  background: transparent;
  color: var(--main-color);
  font-size: 1rem;
  font-weight: 400;
  outline: none;
  resize: vertical;
  min-height: 120px;
  font-family: inherit;
  line-height: 1.6;
}

.form-textarea::placeholder {
  color: var(--input-placeholder, var(--subtitle-color));
  opacity: 0.6;
}

.message-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.char-count {
  font-size: 0.85rem;
  color: var(--text-secondary, var(--subtitle-color));
  margin-left: auto;
}

/* Error Messages */
.error-message {
  display: block;
  font-size: 0.85rem;
  color: var(--danger-color);
  margin-top: 0.25rem;
}

/* Submit Button */
.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 3rem;
  background: var(--primary-color);
  color: var(--btn-primary-text);
  border: 2px solid var(--primary-color);
  border-radius: var(--button-border-radius);
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.25);
}

.submit-btn:not(:disabled):hover {
  background: transparent;
  color: var(--primary-color);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.35);
}

.submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.btn-arrow {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.submit-btn:not(:disabled):hover .btn-arrow {
  transform: translateX(3px);
}

/* Spinner Animation */
.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--btn-primary-text);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Contact Mode Tabs */
.contact-mode-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  padding: 4px;
  background: var(--input-bg, #f9f9f9);
  border-radius: var(--button-border-radius);
  border: 1px solid var(--border-color);
}

.contact-tab {
  flex: 1 1;
  padding: 0.75rem 1.5rem;
  border: none;
  background: transparent;
  border-radius: var(--button-border-radius);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary, var(--subtitle-color));
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-tab:hover {
  color: var(--heading-color);
}

.contact-tab.active {
  background: var(--primary-color);
  color: var(--btn-primary-text);
  box-shadow: 0 2px 8px rgba(0, 174, 239, 0.3);
}

/* Optional label styling */
.optional-label {
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-secondary, var(--subtitle-color));
}

/* Responsive - Contact Form */
@media (max-width: 768px) {
  .contact-section-enhanced {
    padding: 3rem 0;
  }

  .contact-main-title {
    font-size: 2rem;
  }

  .contact-subtitle {
    font-size: 1rem;
  }

  .contact-form-wrapper {
    padding: 2rem 1.5rem;
  }

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

  .form-input,
  .form-select,
  .form-textarea {
    font-size: 0.95rem;
  }

  .submit-btn {
    width: 100%;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .contact-header {
    margin-bottom: 2rem;
  }

  .contact-main-title {
    font-size: 1.75rem;
  }

  .contact-subtitle {
    font-size: 0.9rem;
  }

  .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }

  .input-icon {
    font-size: 1.1rem;
    padding: 0 0.75rem;
  }

  .form-input,
  .form-select {
    padding: 0.875rem 0.875rem 0.875rem 0;
  }

  .form-textarea {
    padding: 0.875rem;
  }

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

/* ========================================
   5. PROJECTS SECTION ENHANCED
   Modern project cards with hover effects
   ======================================== */

.projects-section-enhanced {
  padding: 5rem 0;
  background: transparent;
}

.projects-grid {
  margin-top: 3rem;
}

.project-card-enhanced {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: 1.25rem;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-card-enhanced:hover {
  box-shadow: 0 12px 40px rgba(0, 174, 239, 0.15);
}

.project-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--image-bg, #f5f5f5);
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card-enhanced:hover .project-image {
  transform: scale(1.05);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-view-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  background: var(--primary-color);
  color: var(--btn-primary-text);
  border: 2px solid var(--primary-color);
  border-radius: var(--button-border-radius);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 174, 239, 0.3);
  transition: all 0.3s ease;
}

.project-view-btn:hover {
  background: transparent;
  color: var(--primary-color);
}

.project-view-btn .btn-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.project-view-btn:hover .btn-icon {
  transform: translateX(3px);
}

.project-content {
  padding: 2rem;
  flex: 1 1;
  display: flex;
  flex-direction: column;
}

.project-category {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.project-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.project-summary {
  font-size: 0.95rem;
  color: var(--text-secondary, var(--main-color));
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex: 1 1;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.project-link:hover {
  gap: 0.75rem;
  color: var(--primary-color);
}

.project-link i {
  transition: transform 0.3s ease;
}

.project-link:hover i {
  transform: translateX(3px);
}

/* ========================================
   6. SUPPORT SECTION ENHANCED
   Better support options layout
   ======================================== */

.support-section-enhanced {
  padding: 5rem 0;
  background: transparent;
}

.github-sponsor-card {
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: var(--card-border-radius-lg);
  padding: 3rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 174, 239, 0.08);
  transition: all 0.3s ease;
}

.github-sponsor-card:hover {
  box-shadow: 0 8px 32px rgba(0, 174, 239, 0.12);
}

.sponsor-card-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

.sponsor-card-header p {
  font-size: 1.05rem;
  color: var(--text-secondary, var(--subtitle-color));
  margin-bottom: 2rem;
}

.iframe-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsor-iframe {
  border: 0;
  border-radius: var(--card-border-radius-sm);
  width: 100%;
  max-width: 600px;
  height: 225px;
}

.support-options {
  margin-top: 3rem;
}

.support-options-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 2rem;
}

.support-option-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: var(--card-bg, #ffffff);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  height: 100%;
  text-decoration: none;
  transition: all 0.3s ease;
}

.support-option-card:hover {
  box-shadow: 0 8px 24px rgba(0, 174, 239, 0.12);
}

.support-icon-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--hover-overlay, rgba(0, 174, 239, 0.05));
  border-radius: 1rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.support-option-card:hover .support-icon-wrapper {
  background: var(--primary-color);
  transform: scale(1.05);
}

.support-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.support-option-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

.support-option-desc {
  font-size: 0.95rem;
  color: var(--text-secondary, var(--main-color));
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex: 1 1;
}

.support-option-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.support-option-card:hover .support-option-link {
  gap: 0.75rem;
}

/* ========================================
   7. FOOTER ENHANCED
   Modern footer with social links
   ======================================== */

.footer-enhanced {
  background: var(--footer-bg, #f8f9fa);
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  position: relative;
}

.footer-social-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--heading-color);
  margin-bottom: 0.75rem;
}

.footer-social-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary, var(--subtitle-color));
  margin-bottom: 2rem;
}

.social-links-enhanced {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link-btn {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-bg, #ffffff);
  border: 2px solid var(--border-color);
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.social-link-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(0, 174, 239, 0.3);
}

.social-link-btn .social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  transition: all 0.3s ease;
}

.social-link-btn:hover .social-icon {
  filter: brightness(0) invert(1);
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.copyright-text p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-secondary, var(--main-color));
}

.copyright-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.copyright-link:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-tagline {
  font-size: 0.95rem;
  color: var(--text-secondary, var(--subtitle-color));
  font-style: italic;
}

.footer-nav {
  display: flex;
  justify-content: center;
  justify-content: flex-end;
}

.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: flex-end;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-menu li {
  margin: 0;
}

.footer-menu a {
  color: var(--text-secondary, var(--main-color));
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.footer-menu a:hover {
  color: var(--primary-color);
}

/* Responsive - Projects, Support, Footer */
@media (max-width: 768px) {
  .projects-section-enhanced,
  .support-section-enhanced {
    padding: 3rem 0;
  }

  .project-content {
    padding: 1.5rem;
  }

  .project-title {
    font-size: 1.25rem;
  }

  .project-summary {
    font-size: 0.9rem;
  }

  .github-sponsor-card {
    padding: 2rem 1.5rem;
  }

  .sponsor-card-header h3 {
    font-size: 1.5rem;
  }

  .sponsor-iframe {
    height: 200px;
  }

  .support-option-card {
    padding: 1.5rem 1rem;
  }

  .footer-enhanced {
    padding: 3rem 0 1.5rem;
  }

  .footer-social-title {
    font-size: 1.5rem;
  }

  .footer-social-subtitle {
    font-size: 0.95rem;
  }

  .social-link-btn {
    width: 48px;
    height: 48px;
  }

  .social-link-btn .social-icon {
    width: 20px;
    height: 20px;
  }

  .footer-nav {
    justify-content: center;
  }

  .footer-menu {
    justify-content: center;
    gap: 1rem;
  }

  .footer-tagline {
    display: block;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .project-title {
    font-size: 1.15rem;
  }

  .github-sponsor-card {
    padding: 1.5rem 1rem;
  }

  .sponsor-card-header h3 {
    font-size: 1.25rem;
  }

  .sponsor-iframe {
    height: 180px;
  }

  .support-icon-wrapper {
    width: 64px;
    height: 64px;
  }

  .support-icon {
    width: 40px;
    height: 40px;
  }

  .social-link-btn {
    width: 44px;
    height: 44px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

/* ========================================
   8. REMOVE FLOATING DECORATIVE ICONS
   Hide any absolute positioned decorative elements
   ======================================== */

.portfolio-box .position-absolute.rounded-circle[style*="bottom: -16px"],
.newsletter-preview-device .position-absolute.rounded-circle[style*="bottom"],
.position-absolute.rounded-circle svg.lucide-brain {
  display: none !important;
}

/* Clean up any floating decorative elements */
.position-absolute.rounded-circle:has(svg.lucide-brain) {
  display: none !important;
}

