/* --- main.css --- */
/* ===================================
   7TechSystems - Main Stylesheet
   Modern Tech-Forward Design System
   =================================== */

/* CSS Custom Properties - Design Tokens */
:root {
  /* Brand Colors - Accuracy matched to logo.png */
  --primary-red: #E61E43;
  /* Vibrant Red from logo circle */
  --primary-dark: #1F2937;
  /* Dark Grey from logo text */
  --logo-text: #2D3436;
  /* Text color from logo */

  /* Theme Colors - Bright Mode (Default) */
  --bg-primary: #F8F9FA;
  --bg-secondary: #FFFFFF;
  --bg-tertiary: #F1F3F4;
  --bg-darker: #DEE2E6;

  --text-primary: #1A1A1A;
  --text-secondary: #5F6368;
  --text-muted: #6C757D;

  --border-color: rgba(0, 0, 0, 0.1);
  --card-bg: #FFFFFF;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, #FF2D55 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-dark) 0%, #374151 100%);
  --gradient-tech: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-dark) 100%);
  --gradient-dark: linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-primary) 100%);

  /* Spacing Scale */
  --space-xs: 0.5rem;
  /* 8px */
  --space-sm: 0.75rem;
  /* 12px (reduced) */
  --space-md: 1.25rem;
  /* 20px (reduced) */
  --space-lg: 1.5rem;
  /* 24px (reduced) */
  --space-xl: 2.25rem;
  /* 36px (reduced) */
  --space-2xl: 3rem;
  /* 48px (reduced) */
  --space-3xl: 4.5rem;
  /* 72px (reduced) */

  /* Typography Scale */
  --font-size-xs: 0.75rem;
  /* 12px */
  --font-size-sm: 0.875rem;
  /* 14px */
  --font-size-base: 1rem;
  /* 16px (restored to standard) */
  --font-size-lg: 1.05rem;
  /* ~17px */
  --font-size-xl: 1.15rem;
  /* ~18px */
  --font-size-2xl: 1.35rem;
  /* ~22px */
  --font-size-3xl: 1.75rem;
  /* 28px */
  --font-size-4xl: 2.25rem;
  /* 36px */
  --font-size-5xl: 3rem;
  /* 48px */
  --font-size-6xl: 4rem;
  /* 64px */

  /* Font Weights */
  --font-normal: 400;
  --font-medium: 500;
  --font-semibold: 600;
  --font-bold: 700;

  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 1rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(230, 30, 67, 0.4);

  /* Transition */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-lg: 1200px;
}

/* Dark Theme Overrides */
[data-theme="dark"] {
  --bg-primary: #0F111A;
  --bg-secondary: #161B22;
  --bg-tertiary: #21262D;
  --bg-darker: #0D1117;

  --text-primary: #F0F6FC;
  --text-secondary: #8B949E;
  --text-muted: #484F58;

  --border-color: rgba(240, 246, 252, 0.1);
  --card-bg: var(--bg-secondary);

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 25px rgba(230, 30, 67, 0.4);
}

/* ===================================
   Base Styles & Reset
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: var(--font-size-base);
  font-weight: var(--font-normal);
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--bg-primary);
  overflow-x: hidden;
  transition: background-color var(--transition-base), color var(--transition-base);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: var(--font-bold);
  line-height: 1.2;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

h1 {
  font-size: var(--font-size-5xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-md);
  color: var(--text-secondary);
}

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--light-blue);
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   Layout Utilities
   =================================== */

.container {
  width: 100%;
  max-width: var(--container-lg);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-fluid {
  width: 100%;
  padding: 0 var(--space-md);
}

.section {
  padding: var(--space-3xl) 0;
  position: relative;
}

.section-dark {
  background: rgba(248, 249, 250, 0.8) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.section-light {
  background: rgba(255, 255, 255, 0.7) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Grid System */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid-6 {
  grid-template-columns: repeat(6, 1fr);
}


/* Flexbox Utilities */
.flex {
  display: flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

/* ===================================
   Responsive Typography
   =================================== */

@media (max-width: 1024px) {
  h1 {
    font-size: var(--font-size-4xl);
  }

  h2 {
    font-size: var(--font-size-3xl);
  }

  h3 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: var(--font-size-3xl);
  }

  h2 {
    font-size: var(--font-size-2xl);
  }

  h3 {
    font-size: var(--font-size-xl);
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .grid-6 {
    grid-template-columns: 1fr;
  }

  .section {
    padding: var(--space-2xl) 0;
  }
}

/* ===================================
   Text Utilities
   =================================== */

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-primary {
  color: var(--primary-red);
}

.text-dark {
  color: var(--primary-dark);
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Spacing Utilities */
.mt-sm {
  margin-top: var(--space-sm);
}

.mt-md {
  margin-top: var(--space-md);
}

.mt-lg {
  margin-top: var(--space-lg);
}

.mt-xl {
  margin-top: var(--space-xl);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.pt-sm {
  padding-top: var(--space-sm);
}

.pt-md {
  padding-top: var(--space-md);
}

.pt-lg {
  padding-top: var(--space-lg);
}

.pt-xl {
  padding-top: var(--space-xl);
}

.pb-sm {
  padding-bottom: var(--space-sm);
}

.pb-md {
  padding-bottom: var(--space-md);
}

.pb-lg {
  padding-bottom: var(--space-lg);
}

.pb-xl {
  padding-bottom: var(--space-xl);
}

/* ===================================
   Background Utilities
   =================================== */

.bg-gradient-primary {
  background: var(--gradient-primary);
}

.bg-gradient-accent {
  background: var(--gradient-accent);
}

.bg-gradient-tech {
  background: var(--gradient-tech);
}

.bg-dark {
  background: var(--bg-dark);
}

.bg-darker {
  background: var(--bg-darker);
}

/* --- components.css --- */
/* ===================================
   7TechSystems - Component Styles
   Reusable UI Components
   =================================== */

/* ===================================
   Navigation & Header
   =================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    background: var(--bg-primary);
    /* Use theme bg instead of hardcoded alpha */
    opacity: 0.95;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
    will-change: background-color, box-shadow;
}

.navbar.scrolled {
    background: var(--bg-secondary);
    box-shadow: var(--shadow-lg);
}


.nav-container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    /* Fixed height for better vertical alignment */
}

.nav-logo {
    height: 45px;
    /* Slightly larger */
    transition: transform var(--transition-base);
    margin-right: var(--space-xl);
    /* Add spacer after logo */
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    /* Explicit larger gap */
}

.nav-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-sm);
    padding: 0.5rem 1rem;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    display: inline-block;
}

/* Modern underline animation */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-purple));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: var(--primary-blue);
    border-color: rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.05);
    box-shadow:
        0 0 15px rgba(59, 130, 246, 0.2),
        inset 0 0 15px rgba(59, 130, 246, 0.1);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--primary-blue);
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(59, 130, 246, 0.08);
    box-shadow:
        0 0 20px rgba(59, 130, 246, 0.3),
        inset 0 0 20px rgba(59, 130, 246, 0.15);
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.7);
}

.nav-link.active::after {
    width: 100%;
    animation: tech-pulse 2s ease-in-out infinite;
}

@keyframes tech-pulse {

    0%,
    100% {
        box-shadow: 0 0 10px var(--primary-blue);
    }

    50% {
        box-shadow: 0 0 20px var(--primary-blue), 0 0 30px var(--primary-purple);
    }
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    /* Hidden by default */
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--space-sm);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mega menu hover only on desktop */
@media (min-width: 1025px) {
    .nav-dropdown:hover .mega-menu {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
    }
}

/* Mega Menu Implementation */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 900px;
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1100;
}

.mega-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
}

.mega-col h4 {
    color: var(--primary-red);
    font-size: var(--font-size-xs);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(230, 30, 67, 0.2);
    display: block;
}

.mega-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.mega-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
    font-size: var(--font-size-sm);
    text-decoration: none;
}

.mega-link i {
    width: 20px;
    color: var(--primary-red);
    font-size: 1rem;
    opacity: 0.7;
}

.mega-link:hover {
    background: rgba(230, 30, 67, 0.1);
    color: var(--primary-red);
    transform: translateX(5px);
}

.mega-link:hover i {
    opacity: 1;
}

/* Active state for mega links */
.mega-link.active {
    color: var(--primary-red);
    background: rgba(230, 30, 67, 0.05);
}

@media (max-width: 1024px) {
    .mega-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        padding: 0 var(--space-sm);
        box-shadow: none;
        border: none;
        backdrop-filter: none;
        background: transparent;
        margin-top: var(--space-sm);
        margin-left: var(--space-md);
        display: none;
        /* Collapsed by default on mobile */
    }

    .mega-menu.active {
        display: block;
        /* Show when active */
        width: calc(100% - var(--space-md));
        margin-left: var(--space-md);
    }

    .mega-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }

    .mega-col h4 {
        margin-top: var(--space-md);
        font-size: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .mega-link {
        padding: var(--space-xs) 0;
    }
}

/* Theme Toggle Refinement */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all var(--transition-base);
    box-shadow: var(--shadow-sm);
}

.theme-toggle:hover {
    transform: rotate(30deg) scale(1.1);
    border-color: var(--primary-red);
    box-shadow: var(--shadow-glow-sm);
}

.dropdown-link {
    display: block;
    padding: var(--space-sm);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-link:hover {
    background: rgba(230, 30, 67, 0.1);
    color: var(--primary-red);
    transform: translateX(5px);
}

/* ===================================
   Buttons
   =================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    font-family: 'Poppins', sans-serif;
    font-size: var(--font-size-base);
    font-weight: var(--font-semibold);
    text-align: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width var(--transition-slow), height var(--transition-slow);
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(230, 30, 67, 0.4);
}

.btn-primary:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(31, 41, 55, 0.4);
}

.btn-secondary:hover {
    box-shadow: 0 6px 20px rgba(31, 41, 55, 0.6);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: var(--space-md) var(--space-xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--space-xs) var(--space-md);
    font-size: var(--font-size-sm);
}

/* ===================================
   Cards
   =================================== */

.card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    border: 1px solid var(--border-color);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-2xl);
    border-color: var(--primary-red);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-sm);
    font-size: var(--font-size-2xl);
    transition: all var(--transition-base);
}

.card:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Service Card Variant */
.service-card {
    text-align: center;
    padding: var(--space-xl);
}

.service-card .card-icon {
    margin: 0 auto var(--space-md);
    box-shadow: 0 10px 30px rgba(0, 102, 204, 0.3);
}

/* Product Card Variant */
.product-card {
    display: flex;
    flex-direction: column;
}

.product-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.product-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: var(--gradient-accent);
    color: var(--text-primary);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
}

/* Infinite Tech Scroller Styles */
.tech-scroller-wrapper {
    position: relative;
    padding: var(--space-xl) 0;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.tech-track {
    display: flex;
    white-space: nowrap;
    width: max-content;
}

.tech-track-inner {
    display: flex;
    gap: var(--space-lg);
    padding: 0 var(--space-lg);
}

.scroller-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    transition: all var(--transition-base);
}

.scroller-card i {
    color: var(--primary-red);
    font-size: 1.25rem;
}

.scroller-card:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary-red);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(230, 30, 67, 0.2);
}

.scroller-card-alt {
    background: rgba(230, 30, 67, 0.05);
    border-color: rgba(230, 30, 67, 0.2);
}

/* Animations */
.track-right .tech-track-inner {
    animation: scroll-right 40s linear infinite;
}

.track-left .tech-track-inner {
    animation: scroll-left 40s linear infinite;
}

@keyframes scroll-right {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes scroll-left {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* Pause on hover */
.tech-track:hover .tech-track-inner {
    animation-play-state: paused;
}




/* Testimonial Card */
.testimonial-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-light) 100%);
    padding: var(--space-xl);
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.testimonial-quote {
    font-size: var(--font-size-lg);
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
}

.author-info h4 {
    font-size: var(--font-size-base);
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.author-info p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin: 0;
}

/* ===================================
   Forms
   =================================== */

.form-group {
    margin-bottom: var(--space-md);
}

.form-row {
    display: flex;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }

    .form-row .form-group {
        margin-bottom: var(--space-md);
    }
}

.form-label {
    display: block;
    font-weight: var(--font-medium);
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    font-size: var(--font-size-sm);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    /* Modern Outline Style */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(5px);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    transition: all var(--transition-base);
}

.form-input:hover,
.form-textarea:hover,
.form-select:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

/* Highlight specific fields as requested */
#name,
#email {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-error {
    color: var(--accent-red);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

.form-success {
    color: var(--accent-green);
    font-size: var(--font-size-sm);
    margin-top: var(--space-xs);
}

/* ===================================
   Footer
   =================================== */

.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-section h3 {
    color: var(--text-primary);
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-md);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-link {
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.footer-link:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-lg);
    text-align: center;
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.social-links {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: white;
    /* White background for official brand visibility */
    transition: all var(--transition-base);
    border: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    color: white;
    /* White icon on hover */
}

.social-link.linkedin {
    color: #0077b5;
}

.social-link.linkedin:hover {
    background: #0077b5;
}

.social-link.twitter {
    color: #1da1f2;
}

.social-link.twitter:hover {
    background: #1da1f2;
}

.social-link.facebook {
    color: #1877f2;
}

.social-link.facebook:hover {
    background: #1877f2;
}

.social-link.instagram {
    color: #d6249f;
}

.social-link.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}

.social-link.youtube {
    color: #ff0000;
}

.social-link.youtube:hover {
    background: #ff0000;
}

/* ===================================
   Badges & Tags
   =================================== */

.badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: var(--gradient-primary);
    color: var(--text-primary);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-orange {
    background: var(--gradient-accent);
}

.badge-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .navbar {
        overflow: visible !important;
    }

    .nav-container {
        overflow: visible !important;
        height: 70px;
        /* Consistent height on mobile */
    }

    .nav-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 300px;
        height: 100% !important;
        background: var(--bg-darker);
        display: block !important;
        padding: 80px var(--space-lg) var(--space-lg) !important;
        transition: left var(--transition-base);
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        overflow-y: scroll !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        touch-action: auto !important;
        z-index: 2001;
        will-change: transform;
    }

    .nav-menu.active {
        left: 0;
    }

    .menu-toggle {
        display: flex;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin-top: var(--space-sm);
        margin-left: var(--space-md);
    }

    /* Dropdown Toggle Indicator */
    .nav-dropdown>.nav-link {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
    }

    .nav-dropdown>.nav-link::after {
        content: "\f078";
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.8rem;
        transition: transform 0.3s ease;
        margin-left: 0.5rem;
        display: inline-block !important;
        /* Force show on mobile */
    }

    .nav-dropdown.active>.nav-link::after {
        transform: rotate(180deg);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        align-items: center;
    }
}

/* ===================================
   Evolution Roadmap (Cyber-S-Curve Premium - Compact)
   =================================== */

.roadmap-section {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
    background: var(--bg-primary);
}

.curve-track-container {
    padding: 120px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-red) rgba(0, 0, 0, 0.05);
    -webkit-overflow-scrolling: touch;
    cursor: grab;
    position: relative;
    user-select: none;
    /* Prevent text selection during drag */
}

.curve-track-container:active {
    cursor: grabbing;
}

/* Custom Scrollbar */
.curve-track-container::-webkit-scrollbar {
    height: 4px;
}

.curve-track-container::-webkit-scrollbar-thumb {
    background: var(--primary-red);
    border-radius: 10px;
}

.curve-track {
    display: flex;
    align-items: center;
    min-width: max-content;
    padding: 0 15vw;
    position: relative;
    height: 400px;
}

/* The Cyber-Tech Energy Conduit (Path) */
.curve-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(15vw + 200px);
    width: calc(100% - 30vw - 400px);
    height: 250px;
    background: url("data:image/svg+xml,%3Csvg width='2000' height='250' viewBox='0 0 2000 250' xmlns='http://www.w3.org/2000/svg'%3E%3C!-- Ambient Glow Path --%3E%3Cpath d='M0 125 Q 250 10, 500 125 T 1000 125 T 1500 125 T 2000 125' stroke='%23E61E43' stroke-width='40' fill='none' stroke-opacity='0.08' stroke-linecap='round' /%3E%3C!-- Core Energy Line --%3E%3Cpath d='M0 125 Q 250 10, 500 125 T 1000 125 T 1500 125 T 2000 125' stroke='%23E61E43' stroke-width='6' fill='none' stroke-linecap='round' /%3E%3C!-- Circuit Trace Dots --%3E%3Cpath d='M0 125 Q 250 10, 500 125 T 1000 125 T 1500 125 T 2000 125' stroke='white' stroke-width='2' fill='none' stroke-dasharray='1 40' stroke-linecap='round' opacity='0.8' /%3E%3C/svg%3E") repeat-x;
    transform: translateY(-50%);
    z-index: 1;
    filter: drop-shadow(0 0 12px rgba(230, 30, 67, 0.4));
}

/* Enhanced Cyber-Pulse (Shimmer) */
.curve-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: calc(15vw + 200px);
    width: calc(100% - 30vw - 400px);
    height: 250px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(255, 255, 255, 0) 40%,
            rgba(255, 255, 255, 0.9) 50%,
            rgba(255, 255, 255, 0) 60%,
            transparent 100%);
    background-size: 200% 100%;
    animation: shimmer-flow 3s linear infinite;
    mask: url("data:image/svg+xml,%3Csvg width='2000' height='250' viewBox='0 0 2000 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 125 Q 250 10, 500 125 T 1000 125 T 1500 125 T 2000 125' stroke='black' stroke-width='6' fill='none' /%3E%3C/svg%3E") repeat-x;
    -webkit-mask: url("data:image/svg+xml,%3Csvg width='2000' height='250' viewBox='0 0 2000 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 125 Q 250 10, 500 125 T 1000 125 T 1500 125 T 2000 125' stroke='black' stroke-width='6' fill='none' /%3E%3C/svg%3E") repeat-x;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
    filter: blur(1px);
}

@keyframes shimmer-flow {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.curve-item-wrapper {
    position: relative;
    width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 5;
    padding: 0 40px;
}

/* Reduced Vertical Oscillation */
.curve-item-wrapper:nth-child(odd) {
    transform: translateY(-70px);
}

.curve-item-wrapper:nth-child(even) {
    transform: translateY(70px);
}

.curve-node {
    width: 100px;
    height: 100px;
    background: var(--bg-secondary);
    border: 6px solid var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), inset 0 0 15px rgba(230, 30, 67, 0.05);
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    border: 2px solid rgba(230, 30, 67, 0.2);
}

/* Cyber Orbital Ring (Compacted) */
.cyber-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px dashed var(--primary-red);
    border-radius: 50%;
    opacity: 0.3;
    animation: cyber-rotate 10s linear infinite;
    pointer-events: none;
}

.cyber-ring::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -4px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    border-radius: 50%;
    transform: translateY(-50%);
}

@keyframes cyber-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.curve-node .year {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    z-index: 2;
}

.curve-node .label {
    font-size: 0.55rem;
    font-weight: 700;
    color: var(--primary-red);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    z-index: 2;
}

.curve-item-wrapper:hover .curve-node {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(230, 30, 67, 0.2);
}

.curve-item-wrapper:hover .cyber-ring {
    opacity: 1;
    animation-duration: 3s;
}

.curve-card {
    position: absolute;
    width: 280px;
    background: var(--bg-secondary);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    padding: 1.25rem;
    border-radius: 20px;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    opacity: 0;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

/* Data-Scan Line Effect */
.curve-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(230, 30, 67, 0.1),
            transparent);
    transition: none;
    pointer-events: none;
}

.curve-item-wrapper:hover .curve-card::before {
    animation: scan-line 2s linear infinite;
}

@keyframes scan-line {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Card Positioning relative to Node (Compacted) */
.curve-item-wrapper:nth-child(odd) .curve-card {
    top: 130px;
    transform: translateY(20px);
}

.curve-item-wrapper:nth-child(even) .curve-card {
    bottom: 130px;
    transform: translateY(-20px);
}

.curve-item-wrapper.aos-animate .curve-card {
    opacity: 1;
    transform: translateY(0);
}

.curve-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: var(--primary-red);
    font-weight: 800;
}

.curve-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.curve-card li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 6px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    line-height: 1.3;
}

.curve-card li::before {
    content: '‣';
    color: var(--primary-red);
    font-weight: 900;
    margin-right: 8px;
}

/* Peak 2026 Special Styling */
.peak-item .curve-node {
    background: var(--primary-red);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(230, 30, 67, 0.4);
}

.peak-item .curve-node .year {
    color: #fff;
}

.peak-item .curve-node .label {
    color: rgba(255, 255, 255, 0.8);
}

.peak-item .cyber-ring {
    border-style: solid;
    opacity: 0.6;
}

@media (max-width: 992px) {
    .curve-item-wrapper {
        width: 350px;
    }

    .curve-card {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .curve-track {
        height: 700px;
    }

    .curve-item-wrapper {
        transform: none !important;
        width: 300px;
    }

    .curve-node {
        width: 80px;
        height: 80px;
    }

    .curve-node .year {
        font-size: 1.2rem;
    }

    .curve-item-wrapper:nth-child(odd) .curve-card {
        top: 100px;
        position: relative;
    }

    .curve-item-wrapper:nth-child(even) .curve-card {
        bottom: -100px;
        position: relative;
    }
}

/* ===================================
   Floating Engagement Dock
   =================================== */

.engagement-dock {
    position: fixed;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
    pointer-events: none;
    /* Only children should capture events */
}

.dock-item {
    width: 44px;
    height: 44px;
    background: #0f172a;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    pointer-events: auto;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.dock-item i,
.dock-item svg {
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
}

.dock-item .tooltip {
    position: absolute;
    right: 0;
    height: 100%;
    background: inherit;
    color: white;
    padding: 0 50px 0 20px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    z-index: -1;
    pointer-events: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dock-item:hover .tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    right: 0;
}

.dock-item:hover {
    transform: scale(1.05) translateZ(0);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.dock-item:hover i,
.dock-item:hover svg {
    transform: scale(1.1);
}

.dock-whatsapp {
    background: #25D366 !important;
    border-color: rgba(255, 255, 255, 0.2);
}

.dock-quote {
    background: #E61E43 !important;
    /* 7Tech Brand Color */
    border-color: rgba(255, 255, 255, 0.2);
}

.dock-call {
    background: #0088ff !important;
    border-color: rgba(255, 255, 255, 0.2);
}

/* Enforce Brand Color */
.engagement-dock .dock-item.dock-email,
.dock-email {
    background: #E61E43 !important;
    background-color: #E61E43 !important;
    /* 7Tech Brand Red */
    border-color: rgba(255, 255, 255, 0.2);
}

.dock-quick-support {
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%) !important;
    border-color: rgba(255, 255, 255, 0.2);
    animation: pulse-glow 2s ease-in-out infinite;
}

.dock-quick-support:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

@keyframes pulse-glow {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(255, 107, 53, 0.4);
    }

    50% {
        box-shadow: 0 0 30px rgba(255, 107, 53, 0.7);
    }
}

.dock-top {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-main);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) translateZ(0);
}

.dock-top.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) translateZ(0);
}

.dock-top:hover {
    background: var(--text-main);
    color: white;
    border-color: var(--text-main);
}

@media (max-width: 768px) {
    .engagement-dock {
        right: 20px;
        bottom: auto;
        /* Ensure it doesn't stick to bottom */
        gap: 10px;
    }

    .dock-item {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .dock-item .tooltip {
        display: none;
    }
}

/* --- animations.css --- */
/* ===================================
   7TechSystems - Animations
   Premium Animations & Interactions
   =================================== */

/* ===================================
   Keyframe Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.05);
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(230, 30, 67, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(230, 30, 67, 0.8);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Particles Background Animation */
@keyframes particle-float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-30px) translateX(10px);
    }

    50% {
        transform: translateY(-60px) translateX(-10px);
    }

    75% {
        transform: translateY(-30px) translateX(5px);
    }
}

/* Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   Animation Utility Classes
   =================================== */

.animate-fadeInUp {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-fadeInDown {
    animation: fadeInDown 0.8s ease-out forwards;
}

.animate-fadeIn {
    animation: fadeIn 0.8s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.8s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.8s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.8s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 20s linear infinite;
}

/* Animation Delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

.delay-600 {
    animation-delay: 0.6s;
}

/* ===================================
   Scroll-Triggered Animations (AOS)
   =================================== */

/* Initial state for scroll animations */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Fade animations */
[data-aos="fade-up"] {
    transform: translateY(50px);
}

[data-aos="fade-up"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-down"] {
    transform: translateY(-50px);
}

[data-aos="fade-down"].aos-animate {
    transform: translateY(0);
}

[data-aos="fade-left"] {
    transform: translateX(50px);
}

[data-aos="fade-left"].aos-animate {
    transform: translateX(0);
}

[data-aos="fade-right"] {
    transform: translateX(-50px);
}

[data-aos="fade-right"].aos-animate {
    transform: translateX(0);
}

/* Zoom animations */
[data-aos="zoom-in"] {
    transform: scale(0.8);
}

[data-aos="zoom-in"].aos-animate {
    transform: scale(1);
}

[data-aos="zoom-out"] {
    transform: scale(1.2);
}

[data-aos="zoom-out"].aos-animate {
    transform: scale(1);
}

/* ===================================
   Hero Section Animations
   =================================== */

.hero-title {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero-subtitle {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-cta {
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

/* ===================================
   Hover & Interaction Effects
   =================================== */

.hover-lift {
    transition: transform var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-10px);
}

.hover-scale {
    transition: transform var(--transition-base);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: all var(--transition-base);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 102, 204, 0.6);
}

.hover-rotate {
    transition: transform var(--transition-slow);
}

.hover-rotate:hover {
    transform: rotate(5deg);
}

/* ===================================
   Loading Animations
   =================================== */

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: rotate 1s linear infinite;
}

.dots-loading {
    display: flex;
    gap: 8px;
}

.dots-loading span {
    width: 10px;
    height: 10px;
    background: var(--primary-red);
    border-radius: 50%;
    animation: pulse 1.4s ease-in-out infinite;
}

.dots-loading span:nth-child(2) {
    animation-delay: 0.2s;
}

.dots-loading span:nth-child(3) {
    animation-delay: 0.4s;
}

/* ===================================
   Gradient Animation Background
   =================================== */

.gradient-bg {
    background: linear-gradient(135deg,
            var(--primary-blue),
            var(--accent-cyan),
            var(--primary-orange));
    background-size: 200% 200%;
    animation: gradientShift 10s ease infinite;
}

/* ===================================
   Text Shimmer Effect
   =================================== */

.text-shimmer {
    background: linear-gradient(90deg,
            var(--text-secondary) 0%,
            var(--text-primary) 50%,
            var(--text-secondary) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

/* ===================================
   Particle Effects
   =================================== */

.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    background: var(--primary-blue);
    border-radius: 50%;
    opacity: 0.3;
    animation: particle-float 8s ease-in-out infinite;
}

.particle:nth-child(2n) {
    background: var(--accent-cyan);
    animation-duration: 10s;
    animation-delay: 1s;
}

.particle:nth-child(3n) {
    background: var(--primary-orange);
    animation-duration: 12s;
    animation-delay: 2s;
}

/* ===================================
   Number Counter Animation
   =================================== */

.counter {
    font-size: var(--font-size-4xl);
    font-weight: var(--font-bold);
    background: var(--gradient-tech);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: countUp 1s ease-out;
}

/* ===================================
   Page Transitions
   =================================== */

.page-transition {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

/* ===================================
   Scroll Progress Bar
   =================================== */

.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--gradient-primary);
    z-index: 10000;
    transition: width var(--transition-fast);
}

/* ===================================
   Reveal on Scroll Effects
   =================================== */

.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease-out;
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ===================================
   Parallax Effect
   =================================== */

.parallax {
    transition: transform 0.5s ease-out;
    will-change: transform;
}

/* ===================================
   Typing Effect
   =================================== */

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-blue);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: var(--primary-blue);
    }
}

/* ===================================
   Reduce Motion for Accessibility
   =================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* --- nav-modern-pill.css --- */
/* Modern Pill-Style Navigation Override */

.nav-link {
    color: var(--text-primary) !important;
    font-weight: 500 !important;
    font-size: 0.9rem !important;
    padding: 0.6rem 1.2rem !important;
    position: relative !important;
    transition: all 0.3s ease !important;
    text-transform: capitalize !important;
    letter-spacing: 0.02em !important;
    white-space: nowrap !important;
    display: inline-block !important;
    border-radius: 25px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    z-index: 1 !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.nav-link i {
    font-size: 1rem !important;
    transition: transform 0.3s ease !important;
}

.nav-link:hover i {
    transform: scale(1.1) !important;
}

.nav-link::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(147, 51, 234, 0.15)) !important;
    border-radius: 25px !important;
    opacity: 0 !important;
    transition: opacity 0.3s ease !important;
    z-index: -1 !important;
}

.nav-link::after {
    display: none !important;
}

.nav-link:hover {
    color: white !important;
    transform: translateY(-1px) !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.2) !important;
    text-shadow: none !important;
    background: transparent !important;
}

.nav-link:hover::before {
    opacity: 1 !important;
}

.nav-link.active {
    color: white !important;
    background: linear-gradient(135deg, #3B82F6, #9333EA) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    transform: none !important;
}

.nav-link.active::before {
    display: none !important;
}

.nav-link.active::after {
    display: none !important;
    animation: none !important;
}

/* --- hero-modern.css --- */
/* ===================================
   7TechSystems - Modern Hero Section
   Premium High-UI Design
   =================================== */

/* ===================================
   Hero Section Container
   =================================== */

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: transparent;
    /* Show Cyber Tech Animation */
    padding-top: 80px;
}

/* Animated Gradient Background Overlay */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(230, 30, 67, 0.05) 0%,
            transparent 50%,
            rgba(230, 30, 67, 0.02) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Floating Geometric Shapes */
.hero-section::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(230, 30, 67, 0.1), rgba(230, 30, 67, 0.05));
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite, morphShape 12s ease-in-out infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes morphShape {

    0%,
    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    50% {
        border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%;
    }
}

/* Particles Container Enhancement */
.particles-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.6;
}

/* ===================================
   Hero Content Container
   =================================== */

.hero-content {
    position: relative;
    z-index: 100;
    text-align: center;
    max-width: 1200px;
    padding: var(--space-3xl) var(--space-lg);
    pointer-events: auto;
}

/* ===================================
   Holographic Circuit Badge (v2)
   =================================== */

.hero-badge {
    margin-bottom: var(--space-xl);
    display: inline-flex;
    justify-content: center;
    width: 100%;
    perspective: 1000px;
}

.circuit-badge {
    position: relative;
    padding: 10px 30px;
    background: rgba(230, 30, 67, 0.03);
    border: 1px solid rgba(230, 30, 67, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.circuit-line {
    position: absolute;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
    transition: all 0.3s ease;
}

.circuit-line.top {
    top: 0;
    left: 0;
    height: 1px;
    width: 0;
    animation: traceLineH 3s infinite;
}

.circuit-line.bottom {
    bottom: 0;
    right: 0;
    height: 1px;
    width: 0;
    animation: traceLineH 3s infinite reverse;
}

.circuit-line.left {
    top: 0;
    left: 0;
    width: 1px;
    height: 0;
    animation: traceLineV 3s infinite 1.5s;
}

.circuit-line.right {
    bottom: 0;
    right: 0;
    width: 1px;
    height: 0;
    animation: traceLineV 3s infinite 1.5s;
}

@keyframes traceLineH {

    0%,
    100% {
        width: 0;
        left: 0;
    }

    50% {
        width: 100%;
        left: 0;
    }

    51% {
        width: 100%;
        left: auto;
        right: 0;
    }

    99% {
        width: 0;
        left: auto;
        right: 0;
    }
}

@keyframes traceLineV {

    0%,
    100% {
        height: 0;
        top: 0;
    }

    50% {
        height: 100%;
        top: 0;
    }

    51% {
        height: 100%;
        top: auto;
        bottom: 0;
    }

    99% {
        height: 0;
        top: auto;
        bottom: 0;
    }
}

.badge-glitch-text {
    font-family: 'Space Mono', monospace;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 4px;
    position: relative;
    z-index: 2;
    animation: textDecrypt 5s infinite;
}

@keyframes textDecrypt {

    0%,
    90%,
    100% {
        filter: blur(0);
        opacity: 1;
        transform: skewX(0);
    }

    92% {
        filter: blur(2px);
        opacity: 0.8;
        transform: skewX(10deg);
        color: var(--primary-red);
    }

    94% {
        filter: blur(0);
        opacity: 1;
        transform: skewX(-10deg);
    }
}

.badge-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(230, 30, 67, 0.08) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
    animation: auraPulse 4s ease-in-out infinite;
}

@keyframes auraPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: translate(-50%, -50%) scale(1);
    }

    50% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* ===================================
   Hero Title - Modern Typography
   =================================== */

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: var(--space-lg);
    letter-spacing: -0.02em;
    color: var(--text-primary);
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.hero-title .text-gradient {
    background: linear-gradient(135deg,
            var(--primary-red) 0%,
            #FF2D55 50%,
            var(--primary-red) 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 8s ease infinite;
    position: relative;
    display: inline-block;
}

.hero-title .text-gradient::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-red) 50%,
            transparent 100%);
    border-radius: var(--radius-full);
    opacity: 0.5;
    animation: shimmerLine 3s ease-in-out infinite;
}

@keyframes shimmerLine {

    0%,
    100% {
        transform: scaleX(0.8);
        opacity: 0.3;
    }

    50% {
        transform: scaleX(1);
        opacity: 0.6;
    }
}

/* ===================================
   Hero Subtitle
   =================================== */

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: var(--font-normal);
}

/* ===================================
   Hero CTA Buttons
   =================================== */

.hero-cta {
    display: flex;
    gap: var(--space-lg);
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-cta .btn {
    position: relative;
    overflow: hidden;
    font-size: var(--font-size-base);
    padding: var(--space-md) var(--space-2xl);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.hero-cta .btn-primary {
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF2D55 100%);
    box-shadow:
        0 10px 30px rgba(230, 30, 67, 0.4),
        0 0 0 0 rgba(230, 30, 67, 0.5);
    animation: pulseGlow 2s ease-in-out infinite;
}

.hero-cta .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow:
        0 15px 40px rgba(230, 30, 67, 0.5),
        0 0 30px rgba(230, 30, 67, 0.4);
}

.hero-cta .btn-outline {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid var(--primary-red);
    color: var(--text-primary);
    box-shadow: 0 4px 15px rgba(230, 30, 67, 0.2);
}

.hero-cta .btn-outline:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: #ffffff;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(230, 30, 67, 0.4);
}


@keyframes pulseGlow {

    0%,
    100% {
        box-shadow:
            0 10px 30px rgba(230, 30, 67, 0.4),
            0 0 0 0 rgba(230, 30, 67, 0.5);
    }

    50% {
        box-shadow:
            0 10px 30px rgba(230, 30, 67, 0.4),
            0 0 20px 10px rgba(230, 30, 67, 0.3);
    }
}

/* ===================================
   Hero Stats - 3D Cards
   =================================== */

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-3xl);
    perspective: 1000px;
}

.stat-item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-base);
    transform-style: preserve-3d;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--primary-red) 50%,
            transparent 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    opacity: 0;
    transition: opacity var(--transition-base);
}

.stat-item:hover {
    transform: translateY(-10px) rotateX(5deg);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(230, 30, 67, 0.3);
    box-shadow:
        0 20px 60px rgba(230, 30, 67, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item .counter {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-red) 0%, #FF2D55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-xs);
    line-height: 1;
    filter: drop-shadow(0 2px 10px rgba(230, 30, 67, 0.3));
}

.stat-item p {
    font-size: var(--font-size-sm);
    color: var(--text-secondary);
    font-weight: var(--font-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
}

/* ===================================
   Floating Decorative Elements
   =================================== */

.hero-section .floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 2;
    pointer-events: none;
}

.hero-section .floating-shape-1 {
    top: 20%;
    left: 5%;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    animation: float 6s ease-in-out infinite;
}

.hero-section .floating-shape-2 {
    bottom: 20%;
    right: 8%;
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, var(--primary-dark), transparent);
    animation: float 8s ease-in-out infinite reverse;
}

.hero-section .floating-shape-3 {
    top: 50%;
    left: 10%;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), transparent);
    animation: float 7s ease-in-out infinite;
    animation-delay: 1s;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1024px) {
    .hero-section {
        min-height: 90vh;
    }

    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: auto;
        padding: var(--space-3xl) 0;
    }

    .hero-content {
        padding: var(--space-2xl) var(--space-md);
    }

    .hero-cta {
        flex-direction: column;
        gap: var(--space-md);
    }

    .hero-cta .btn {
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .hero-section::after {
        width: 250px;
        height: 250px;
    }

    .floating-shape {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .stat-item {
        padding: var(--space-lg);
    }
}

/* ===================================
   Dark Theme Enhancements
   =================================== */

[data-theme="dark"] .hero-section {
    background: linear-gradient(135deg,
            var(--bg-darker) 0%,
            var(--bg-primary) 50%,
            var(--bg-secondary) 100%);
}

[data-theme="dark"] .hero-badge .badge {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .stat-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(230, 30, 67, 0.4);
}

/* ===================================
   Performance Optimizations
   =================================== */

.hero-section * {
    will-change: transform;
}

@media (prefers-reduced-motion: reduce) {

    .hero-section::before,
    .hero-section::after,
    .floating-shape,
    .hero-badge .badge i {
        animation: none;
    }

    .stat-item:hover {
        transform: translateY(-5px);
    }
}

/* --- cyber-pillars.css --- */
/* Cyber-Tech Pillars Style: Premium Glassmorphism & High-Visibility Icons */
:root {
    --neon-red: #ff2d55;
    --cyber-blue: #0088ff;
    --cyber-green: #00c853;
    --cyber-orange: #ff9d00;
    --cyber-purple: #9d00ff;
    --cyber-cyan: #00f2ff;
    --glass-border: rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 20px 60px -15px rgba(0, 0, 0, 0.08);
}

/* Pillar Card Base */
.pillar-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 30px;
    /* Reduced from 40px for better fit in large grids */
    padding: 30px;
    /* Reduced from 50px */
    position: relative;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-xl);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.pillar-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%);
    opacity: 0;
    transition: 0.5s;
}

.pillar-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--accent-main);
    box-shadow: 0 30px 70px -10px var(--accent-shadow);
}

.pillar-card:hover::after {
    opacity: 0.4;
}

/* Pillar Icon */
.pillar-icon {
    font-size: 3rem;
    /* Slightly smaller than 3.5rem for better scale balance */
    color: var(--accent-main);
    margin-bottom: 25px;
    transition: 0.3s;
}

.pillar-card:hover .pillar-icon {
    transform: scale(1.1);
}

.pillar-card h3,
.pillar-card h4 {
    font-size: 1.5rem;
    /* Adjusted for standard grid use */
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    color: #020617;
}

.pillar-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #334155;
    margin-bottom: 25px;
    flex-grow: 1;
}

/* Accent Variations */
.pillar-red {
    --accent-main: var(--neon-red);
    --accent-light: rgba(255, 45, 85, 0.1);
    --accent-shadow: rgba(255, 45, 85, 0.15);
}

.pillar-blue {
    --accent-main: var(--cyber-blue);
    --accent-light: rgba(0, 136, 255, 0.1);
    --accent-shadow: rgba(0, 136, 255, 0.15);
}

.pillar-green {
    --accent-main: var(--cyber-green);
    --accent-light: rgba(0, 200, 83, 0.1);
    --accent-shadow: rgba(0, 200, 83, 0.15);
}

.pillar-orange {
    --accent-main: var(--cyber-orange);
    --accent-light: rgba(255, 157, 0, 0.1);
    --accent-shadow: rgba(255, 157, 0, 0.15);
}

.pillar-purple {
    --accent-main: var(--cyber-purple);
    --accent-light: rgba(157, 0, 255, 0.1);
    --accent-shadow: rgba(157, 0, 255, 0.15);
}

.pillar-cyan {
    --accent-main: var(--cyber-cyan);
    --accent-light: rgba(0, 242, 255, 0.1);
    --accent-shadow: rgba(0, 242, 255, 0.15);
}

/* Button override for within cards */
.pillar-card .btn {
    align-self: flex-start;
    margin-top: auto;
}

/* Tech Tags (Optional usage) */
.pillar-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.pillar-tag {
    padding: 4px 12px;
    background: #f1f5f9;
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 700;
    color: #020617;
    transition: 0.3s;
}

.pillar-card:hover .pillar-tag {
    background: #fff;
    border-color: var(--accent-main);
    color: var(--accent-main);
}

/* --- quick-support-float.css --- */
/* Left Side Quick Support Float Button */

.quick-support-float {
    position: fixed;
    left: 30px;
    bottom: 30px;
    top: auto;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, #FF6B35 0%, #F7931E 100%);
    color: white;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    animation: pulse-float 3s ease-in-out infinite;
    max-width: 280px;
}

.quick-support-float i {
    font-size: 1.5rem;
    animation: headset-wiggle 2s ease-in-out infinite;
}

.quick-support-float .float-icon-img {
    width: 50px;
    height: 50px;
    animation: headset-wiggle 2s ease-in-out infinite;
}

.quick-support-float .float-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1.2;
}

.quick-support-float .line-1 {
    font-size: 0.95rem;
    font-weight: 700;
}

.quick-support-float .line-2 {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
}

.quick-support-float:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
    animation: none;
}

.quick-support-float:hover i {
    animation: none;
    transform: scale(1.2);
}

@keyframes pulse-float {

    0%,
    100% {
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
        transform: translateY(0);
    }

    50% {
        box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
        transform: translateY(-3px);
    }
}

@keyframes headset-wiggle {

    0%,
    100% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(-10deg);
    }

    75% {
        transform: rotate(10deg);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .quick-support-float {
        left: 15px;
        bottom: 15px;
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        max-width: 200px;
    }

    .quick-support-float i {
        font-size: 1.25rem;
    }

    .quick-support-float .float-text {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .quick-support-float {
        flex-direction: column;
        padding: 0.75rem;
        border-radius: 50%;
        width: 60px;
        height: 60px;
        max-width: none;
        gap: 0;
    }

    .quick-support-float .float-text {
        display: none;
    }

    .quick-support-float i {
        font-size: 1.5rem;
    }
}

/* --- quick-support.css --- */
/* Quick Support Page - Theme Integrated Design */

/* Calculator Container */
.calculator-container {
    max-width: 900px;
    margin: 0 auto;
}

.calculator-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.calc-section {
    margin-bottom: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border-color);
}

.calc-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.calc-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 700;
}

.calc-title i {
    color: #8B5CF6;
    font-size: 1.75rem;
}

/* Category Cards */
.service-categories {
    gap: 1.5rem;
}

.category-card {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.category-card:hover::before {
    transform: scaleX(1);
}

.category-card i {
    font-size: 3.5rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    display: block;
    transition: transform 0.4s ease;
}

.category-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.category-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.category-card:hover {
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.category-card:hover i {
    transform: scale(1.1);
}

.category-card.active {
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

/* Form Select */
.form-select {
    width: 100%;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.form-select:focus {
    outline: none;
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

/* Urgency Cards */
.urgency-options {
    gap: 1.5rem;
}

.urgency-card {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.urgency-card i {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
}

.urgency-card h4 {
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.15rem;
}

.urgency-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.urgency-card .multiplier {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
}

.urgency-card:hover {
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.urgency-card.active {
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.urgency-card[data-urgency="standard"] i {
    color: #10B981;
}

.urgency-card[data-urgency="priority"] i {
    color: #F59E0B;
}

.urgency-card[data-urgency="emergency"] i {
    color: #EF4444;
}

/* Duration Slider */
.duration-slider {
    padding: 1.5rem 0;
}

.duration-slider input[type="range"] {
    width: 100%;
    height: 10px;
    border-radius: 10px;
    background: linear-gradient(to right, #8B5CF6 0%, #8B5CF6 25%, var(--border-color) 25%, var(--border-color) 100%);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.duration-slider input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
    border: 3px solid var(--bg-secondary);
}

.duration-slider input[type="range"]::-moz-range-thumb {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    cursor: pointer;
    border: 3px solid var(--bg-secondary);
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.4);
}

.duration-display {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 2rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* Price Breakdown */
.price-breakdown {
    background: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.price-row:last-of-type {
    border-bottom: none;
}

.price-row span:first-child {
    color: var(--text-secondary);
    font-weight: 500;
}

.price-row span:last-child {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.price-row.total-price {
    padding-top: 2rem;
    margin-top: 1.5rem;
    border-top: 3px solid #8B5CF6;
}

.price-row.total-price span {
    font-size: 2rem;
    font-weight: 800;
}

.price-row.total-price span:last-child {
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-note {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: rgba(245, 158, 11, 0.1);
    border-left: 4px solid #F59E0B;
    border-radius: 8px;
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 500;
}

.price-note i {
    color: #F59E0B;
    margin-right: 0.75rem;
}

/* Form Container */
.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.support-form {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
}

.form-group {
    margin-bottom: 2rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
}

.form-group label i {
    color: #8B5CF6;
    margin-right: 0.75rem;
}

.form-group input,
.form-group textarea,
.form-group input[type="email"] {
    width: 100%;
    padding: 1.25rem;
    background: var(--bg-tertiary);
    border: 2px solid rgba(255, 255, 255, 0.2);
    /* Increased contrast */
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-weight: 500;
    display: block;
    /* Ensure it's never hidden */
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.form-group input[readonly] {
    background: var(--bg-tertiary);
    cursor: not-allowed;
    color: var(--text-secondary);
    opacity: 0.7;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-primary);
    white-space: nowrap;
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

/* Pricing Cards */
.pricing-grid {
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    padding: 3rem 2.5rem;
    border: 2px solid var(--border-color);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: var(--shadow-md);
}

.pricing-card.featured {
    border-color: #8B5CF6;
    background: var(--bg-secondary);
    box-shadow: var(--shadow-xl);
}

/* Add a subtle highlight for featured card in dark mode */
[data-theme="dark"] .pricing-card.featured {
    background: rgba(139, 92, 246, 0.05);
}

.featured-badge {
    position: absolute;
    top: -18px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

.pricing-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.pricing-card h3 {
    margin-bottom: 2rem;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 1.75rem;
}

.pricing-amount {
    margin-bottom: 2.5rem;
}

.pricing-amount .currency {
    font-size: 1.75rem;
    vertical-align: super;
    font-weight: 700;
    color: var(--text-primary);
}

.pricing-amount .price {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pricing-amount .period {
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.international-pricing {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.price-approx {
    font-size: 1.5rem !important;
    /* Forced Large Size (approx 24px) */
    font-weight: 800;
    /* Extra bold */
    background: linear-gradient(135deg, #2563EB, #7C3AED);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Gradient text effect */
    margin: 0 0.5rem;
    padding: 0;
    transition: all 0.3s ease;
    display: inline-block;
}

.price-approx:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.plan-description {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
    min-height: 45px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 2.5rem 0;
    text-align: left;
}

.pricing-features li {
    padding: 1rem 0;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: 500;
}

.pricing-features li i {
    color: #10B981;
    font-size: 1.25rem;
}

.pricing-card:hover {
    border-color: #8B5CF6;
    box-shadow: var(--shadow-xl);
}

/* FAQ Columns */
.faq-columns {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-column {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.faq-item-simple {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 2rem;
}

.faq-item-simple:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-item-simple h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.faq-item-simple h4 i {
    color: #8B5CF6;
    font-size: 1.25rem;
}

.faq-item-simple p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    margin: 0;
}

@media (max-width: 768px) {
    .faq-columns {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .faq-column {
        gap: 2rem;
    }

    .faq-item-simple {
        padding-bottom: 1.5rem;
    }
}

/* Step Numbers */
.step-number {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6, #EC4899);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.25rem;
    font-weight: 900;
    margin: 0 auto 2rem;
    box-shadow: 0 8px 24px rgba(139, 92, 246, 0.4);
}

/* Responsive */
@media (max-width: 768px) {

    .service-categories,
    .urgency-options,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .calculator-card,
    .support-form {
        padding: 2rem;
    }

    .pricing-amount .price {
        font-size: 3rem;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }

    .category-card,
    .urgency-card {
        padding: 2rem 1.5rem;
    }
}

/* Structured Pricing Refinement (Clean Rows) */
.pricing-amount.structured {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin: 1.25rem 0;
}

.pricing-amount.structured .price-main {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    line-height: 1.1;
}

.pricing-amount.structured .price-main .price {
    font-size: 2rem;
    /* Reduced size */
    font-weight: 800;
}

.pricing-amount.structured .price-main .period {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.pricing-amount.structured .price-secondary {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.95rem;
    color: #475569;
    /* Darker slate */
    padding: 0;
    margin-top: 2px;
}

.pricing-amount.structured .price-secondary .approx {
    font-size: 0.75rem;
    margin-right: 2px;
    font-weight: 500;
    opacity: 0.7;
}

.pricing-amount.structured .price-secondary .price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* T&C Modal Styles */
.tc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--space-md);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tc-modal.active {
    display: flex;
    opacity: 1;
}

.tc-modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 800px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.tc-modal.active .tc-modal-content {
    transform: translateY(0);
}

.tc-modal-header {
    padding: var(--space-xl);
    border-bottom: 1px solid var(--border-color);
    text-align: center;
}

.tc-modal-body {
    padding: var(--space-xl);
    overflow-y: auto;
    flex-grow: 1;
}

.tc-modal-footer {
    padding: var(--space-lg) var(--space-xl);
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
    gap: var(--space-md);
    background: var(--bg-tertiary);
}

.tc-modal-body h2 {
    color: var(--primary-red);
    font-size: 1.25rem;
    margin: var(--space-lg) 0 var(--space-md);
}

.tc-modal-body p,
.tc-modal-body li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.tc-close-btn {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.tc-close-btn:hover {
    color: var(--primary-red);
}

@media (max-width: 768px) {
    .tc-modal-footer {
        flex-direction: column-reverse;
    }
}

/* --- chat.css --- */
/* Chatbot Widget Styles */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 350px;
    height: 500px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    z-index: 1000;
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-family: 'Inter', sans-serif;
}

.chat-widget.active {
    transform: translateY(0);
}

/* Chat Header */
.chat-header {
    background: linear-gradient(135deg, #E61E43 0%, #FF2D55 100%);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
}

.chat-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-avatar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border: 2px solid #E61E43;
    padding: 2px;
}

.chat-title h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: white;
}

.chat-title p {
    margin: 0;
    font-size: 12px;
    opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
}

.close-chat {
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.close-chat:hover {
    opacity: 1;
}

/* Chat Body */
.chat-body {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.5;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.bot {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 2px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message.user {
    background: #E61E43;
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 2px;
    box-shadow: 0 2px 5px rgba(230, 30, 67, 0.2);
}

/* Options/Chips */
.chat-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    animation: fadeIn 0.4s ease;
}

.chat-option-btn {
    background: #fff;
    border: 1px solid #E61E43;
    color: #E61E43;
    padding: 8px 14px;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.chat-option-btn:hover {
    background: #E61E43;
    color: white;
}

.chat-option-btn.whatsapp {
    border-color: #25D366;
    color: #25D366;
}

.chat-option-btn.whatsapp:hover {
    background: #25D366;
    color: white;
}

.chat-option-btn.email {
    border-color: #0077b5;
    color: #0077b5;
}

.chat-option-btn.email:hover {
    background: #0077b5;
    color: white;
}

.chat-option-btn.call {
    border-color: #ff9800;
    color: #ff9800;
}

.chat-option-btn.call:hover {
    background: #ff9800;
    color: white;
}

.chat-option-btn.back-btn {
    border-color: #94a3b8;
    color: #64748b;
    background: #f8f9fa;
}

.chat-option-btn.back-btn:hover {
    background: #e2e8f0;
    color: #475569;
}

/* Chat Footer */
.chat-footer {
    padding: 15px;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    border: 1px solid #eee;
    padding: 10px 15px;
    border-radius: 20px;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}

.chat-input:focus {
    border-color: #E61E43;
}

.send-btn {
    background: #E61E43;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.send-btn:hover {
    transform: scale(1.05);
}

/* Floating Toggle Button */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #E61E43 0%, #FF2D55 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(230, 30, 67, 0.4);
    z-index: 999;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.chat-toggle:hover {
    transform: scale(1.1);
}

.chat-toggle svg {
    width: 30px;
    height: 30px;
    fill: white;
}

.chat-toggle.hidden {
    transform: scale(0);
}

.chat-toggle-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 2px solid white;
}

.status-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #25D366;
    /* WhatsApp Green */
    border: 2px solid white;
    border-radius: 50%;
    z-index: 1000;
    box-shadow: 0 0 0 rgba(37, 211, 102, 0.4);
    animation: status-pulse 2s infinite;
}

@keyframes status-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }

    70% {
        box-shadow: 0 0 0 6px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .chat-widget {
        bottom: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        border-radius: 0;
    }
}


