/* ==========================================================================
   CloudKrishna Theme Settings & Design Tokens
   ========================================================================== */
:root {
  /* Harmonious Dark Palette */
  --bg-darker: #070B16;
  --bg-dark: #0F172A;
  --bg-card: rgba(15, 23, 42, 0.65);
  
  /* Neon Gradient Accents */
  --primary: #4F46E5;       /* Electric Indigo */
  --primary-rgb: 79, 70, 229;
  --secondary: #06B6D4;     /* Cyber Cyan */
  --secondary-rgb: 6, 182, 212;
  --accent: #8B5CF6;        /* Deep Violet */
  --accent-rgb: 139, 92, 246;
  
  /* Text and Typography Colors */
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --text-dark: #0F172A;
  
  /* Glassmorphism Specs */
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-glow: rgba(6, 182, 212, 0.2);
  --shadow-glass: rgba(0, 0, 0, 0.5);
  
  /* Transitions & Ease Rules */
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --border-radius-sm: 8px;
  --border-radius-md: 16px;
  --border-radius-lg: 24px;
}

/* ==========================================================================
   Base Elements & Layout Restructure
   ========================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ==========================================================================
   Custom Background & Ambient Orbs
   ========================================================================== */
.decor-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(130px);
  z-index: -1;
  opacity: 0.15;
  pointer-events: none;
  animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
  background: var(--primary);
  width: 500px;
  height: 500px;
  top: -100px;
  right: -100px;
}

.orb-2 {
  background: var(--secondary);
  width: 400px;
  height: 400px;
  top: 50%;
  left: -200px;
  animation-duration: 30s;
}

.orb-3 {
  background: var(--accent);
  width: 450px;
  height: 450px;
  bottom: 5%;
  right: -150px;
  animation-duration: 20s;
}

@keyframes floatOrb {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(50px) scale(1.1);
  }
}

/* ==========================================================================
   Shared Component Styling (Buttons, Badges)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.btn-secondary {
  background: linear-gradient(135deg, var(--secondary), var(--primary));
  color: var(--text-main);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.5);
}

.btn-outline {
  border-color: var(--border-glass);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  background: var(--text-main);
  color: var(--bg-darker);
  transform: translateY(-2px);
}

.text-gradient {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge-premium {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.2rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   Scroll Progress & Animations
   ========================================================================== */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(to right, var(--secondary), var(--primary), var(--accent));
  width: 0%;
  z-index: 1000;
  transition: width 0.1s ease;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Navbar Structure & Mobile Drawer
   ========================================================================== */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 99;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
  padding: 1.5rem 0;
}

.main-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 0;
  box-shadow: 0 4px 30px var(--shadow-glass);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

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

.nav-link {
  font-weight: 500;
  color: var(--text-muted);
  font-size: 0.95rem;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transition: var(--transition-smooth);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.mobile-toggle-btn {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
  display: none;
}

/* Mobile Nav Drawer styles */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100%;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-glass);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
  z-index: 101;
  display: flex;
  flex-direction: column;
  padding: 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-nav-drawer.open {
  right: 0;
}

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

.drawer-close {
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: auto;
}

.mobile-nav-link {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-muted);
  display: block;
  padding: 0.5rem 0;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--text-main);
}

/* ==========================================================================
   Hero Section Styling
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 10rem 0 7rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-image: radial-gradient(circle at 10% 20%, rgba(15, 23, 42, 0.2) 0%, transparent 80%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 2.2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--text-main);
  line-height: 1;
}

.stat-plus {
  font-size: 1.8rem;
  color: var(--secondary);
  font-weight: 700;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.4rem;
  font-weight: 500;
}

/* Glassmorphism Dashboard Layout */
.hero-visual {
  display: flex;
  justify-content: center;
}

.glass-dashboard {
  width: 100%;
  max-width: 480px;
  background: var(--bg-glass);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  box-shadow: 0 15px 35px var(--shadow-glass);
  backdrop-filter: blur(12px);
  overflow: hidden;
  animation: floatCard 6s infinite alternate ease-in-out;
}

@keyframes floatCard {
  0% { transform: translateY(0); }
  100% { transform: translateY(-15px); }
}

.dashboard-header {
  background: rgba(255, 255, 255, 0.03);
  padding: 0.85rem 1.25rem;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-glass);
  gap: 1rem;
}

.dots {
  display: flex;
  gap: 0.35rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.red { background-color: #EF4444; }
.dot.yellow { background-color: #F59E0B; }
.dot.green { background-color: #10B981; }

.title-tab {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dashboard-body {
  padding: 1.5rem;
}

.metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.metric-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
}

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

.metric-header .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.metric-trend {
  font-size: 0.75rem;
  font-weight: 600;
}

.metric-trend.up { color: #10B981; }

/* Interactive mock terminal style */
.code-terminal {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--border-radius-sm);
  padding: 1rem;
  font-family: monospace;
  font-size: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.03);
}

.code-line {
  margin-bottom: 0.4rem;
  color: #E2E8F0;
  white-space: pre-wrap;
}

.c-blue { color: #60A5FA; }
.c-purple { color: #C084FC; }
.c-yellow { color: #FBBF24; }
.c-green { color: #34D399; }
.c-orange { color: #F97316; }

.status-success {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #34D399;
  font-weight: 600;
}

.icon-success {
  background: rgba(52, 211, 153, 0.15);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
}

/* ==========================================================================
   Section Header Defaults
   ========================================================================== */
section {
  padding: 7rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 4.5rem;
}

.sub-title {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 1.2rem;
  font-weight: 800;
}

.title-underline {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-desc {
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

/* ==========================================================================
   About Founder Section Styling
   ========================================================================== */
.about-section {
  background: rgba(15, 23, 42, 0.3);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
  align-items: center;
}

.about-img-wrapper {
  display: flex;
  justify-content: center;
}

.founder-image-frame {
  position: relative;
  z-index: 1;
}

.founder-img {
  width: 380px;
  height: 253px;
  object-fit: cover;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.frame-backdrop {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-md);
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  z-index: -1;
  opacity: 0.25;
  transition: var(--transition-smooth);
}

.founder-image-frame:hover .frame-backdrop {
  transform: translate(8px, 8px);
  opacity: 0.4;
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass-glow);
  box-shadow: 0 10px 25px var(--shadow-glass);
  border-radius: var(--border-radius-md);
  padding: 0.9rem 1.4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.experience-badge .exp-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary);
  line-height: 1;
}

.experience-badge .exp-text {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  font-weight: 600;
  text-transform: uppercase;
}

.about-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-bio {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.expertise-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 2rem 0 1rem;
  color: var(--text-main);
}

.skills-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-smooth);
}

.skill-badge:hover {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--secondary);
  color: var(--text-main);
  transform: translateY(-2px);
}

/* ==========================================================================
   Services Cards Layout
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 1.75rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(10px);
  transition: var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  background: rgba(20, 27, 49, 0.8);
  border-color: var(--border-glass-glow);
  box-shadow: 0 15px 35px rgba(6, 182, 212, 0.15);
}

.service-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: var(--border-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.color-cyan {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.color-indigo {
  background: rgba(79, 70, 229, 0.1);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.2);
}

.color-purple {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.85rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.5rem;
}

.service-features {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Clients Section Styles
   ========================================================================== */
.clients-section {
  background: rgba(15, 23, 42, 0.15);
}

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

.client-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2rem 1.5rem;
  text-align: center;
  backdrop-filter: blur(8px);
  transition: var(--transition-smooth);
}

.client-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: 0 10px 25px rgba(6, 182, 212, 0.15);
  background: rgba(255, 255, 255, 0.04);
}

.client-logo-avatar {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.client-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.client-tag {
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  display: block;
  margin-bottom: 1.2rem;
  letter-spacing: 0.05em;
}

.client-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-glass);
  padding-top: 1rem;
}

.client-duration {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}

.client-link {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.client-link:hover {
  color: var(--text-main);
}

/* Loading spinner */
.loading-spinner {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 0;
}

.spinner {
  width: 45px;
  height: 45px;
  border: 4px solid var(--border-glass);
  border-top-color: var(--secondary);
  border-radius: 50%;
  display: inline-block;
  animation: spin 1s infinite linear;
  margin-bottom: 1rem;
}

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

/* ==========================================================================
   Upcoming Projects Grid
   ========================================================================== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(139, 92, 246, 0.15);
}

.project-status {
  align-self: flex-start;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.status-development {
  background: rgba(6, 182, 212, 0.1);
  color: var(--secondary);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.status-beta {
  background: rgba(16, 185, 129, 0.1);
  color: #10B981;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-testing {
  background: rgba(245, 158, 11, 0.1);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-planning {
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.project-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.project-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.75rem;
  flex-grow: 1;
}

.progress-container {
  margin-top: auto;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.45rem;
}

.progress-label {
  color: var(--text-muted);
}

.progress-percent {
  color: var(--text-main);
}

.progress-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  border-radius: 3px;
  width: 0%; /* Initial state for animation */
  transition: width 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Technologies Tech-Grid Styling
   ========================================================================== */
.tech-section {
  background: rgba(15, 23, 42, 0.3);
}

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

.tech-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 2.25rem 1rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.tech-item:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-glass-glow);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.tech-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.tech-item span {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: var(--transition-smooth);
}

.tech-item:hover span {
  color: var(--text-main);
}

.text-orange { color: #F97316; }

.dotnet-badge {
  background: var(--primary);
  color: var(--text-main);
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  font-family: 'Montserrat', sans-serif;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 10px rgba(79, 70, 229, 0.3);
}

/* ==========================================================================
   Contact Forms & Layouts
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4.5rem;
}

.contact-info-panel h3, .contact-form-panel h3 {
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.panel-desc {
  color: var(--text-muted);
  font-size: 1rem;
  margin-bottom: 2.5rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.method-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.method-card:hover {
  background: rgba(6, 182, 212, 0.05);
  border-color: var(--secondary);
  transform: translateX(5px);
}

.method-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: var(--secondary);
}

.method-card:hover .method-icon {
  background: var(--secondary);
  color: var(--text-dark);
}

.method-details {
  display: flex;
  flex-direction: column;
}

.method-details .label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.method-details .value {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 0.15rem;
}

/* Contact Form controls */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.form-group input, .form-group textarea {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: var(--border-radius-sm);
  padding: 0.85rem 1.15rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  background: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.15);
}

.btn-submit {
  align-self: flex-start;
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

.form-feedback-message {
  margin-top: 1.2rem;
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  display: none;
}

.form-feedback-message.success {
  display: block;
  background: rgba(52, 211, 153, 0.1);
  color: #34D399;
  border: 1px solid rgba(52, 211, 153, 0.2);
}

.form-feedback-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* ==========================================================================
   Footer Section Styling
   ========================================================================== */
.main-footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-glass);
  padding: 3rem 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  max-width: 320px;
}

.footer-left .logo-wrapper {
  margin-bottom: 0.85rem;
}

.footer-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-right p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Floating AI Chatbot Widget Styles
   ========================================================================== */
.chatbot-container {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 999;
  font-family: inherit;
}

.chatbot-toggle-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--accent));
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  font-size: 1.5rem;
  position: relative;
  transition: var(--transition-smooth);
}

.chatbot-toggle-btn:hover {
  transform: scale(1.05) rotate(5deg);
  box-shadow: 0 10px 30px rgba(6, 182, 212, 0.5);
}

.badge-online {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background-color: #10B981;
  border: 2px solid var(--bg-darker);
  border-radius: 50%;
}

.chatbot-box {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 350px;
  height: 480px;
  background: var(--bg-dark);
  border: 1px solid var(--border-glass);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(12px);
  transform-origin: bottom right;
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-box.hide {
  opacity: 0;
  transform: scale(0.8) translateY(20px);
  pointer-events: none;
}

.chat-header {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--border-glass);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chat-avatar-wrapper {
  position: relative;
}

.chat-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  padding: 4px;
}

.chat-status-indicator {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 8px;
  height: 8px;
  background-color: #10B981;
  border-radius: 50%;
}

.chat-title-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
}

.chat-title-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.chat-messages {
  flex-grow: 1;
  padding: 1.25rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background: rgba(0, 0, 0, 0.1);
  scroll-behavior: smooth;
}

/* Chat Message styling */
.message {
  max-width: 80%;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.88rem;
  line-height: 1.4;
  display: flex;
  flex-direction: column;
}

.message p {
  color: var(--text-main);
}

.message-time {
  font-size: 0.68rem;
  color: var(--text-muted);
  align-self: flex-end;
  margin-top: 0.25rem;
}

.message.incoming {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}

.message.outgoing {
  background: var(--primary);
  border-bottom-right-radius: 4px;
  align-self: flex-end;
}

.chat-input-wrapper {
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-glass);
  display: flex;
  gap: 0.75rem;
}

.chat-input-wrapper input {
  flex-grow: 1;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-glass);
  border-radius: 50px;
  padding: 0.6rem 1.15rem;
  color: var(--text-main);
  font-size: 0.88rem;
  font-family: inherit;
}

.chat-input-wrapper input:focus {
  outline: none;
  border-color: var(--secondary);
}

.chat-input-wrapper button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--secondary);
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.chat-input-wrapper button:hover {
  background: var(--text-main);
  transform: scale(1.05);
}

/* WhatsApp Floating Bubble */
.whatsapp-float-trigger {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 60px;
  height: 60px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
  z-index: 999;
  animation: pulseBtn 3s infinite;
}

.whatsapp-float-trigger:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulseBtn {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hide { display: none !important; }

/* Custom Scrollbar */
.chat-messages::-webkit-scrollbar {
  width: 5px;
}
.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}
.chat-messages::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

/* ==========================================================================
   Responsive Adaptations & Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 2.7rem;
  }
  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  section {
    padding: 5rem 0;
  }
  .hero-section {
    padding: 8rem 0 5rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-stats {
    justify-content: center;
  }
  .hero-visual {
    order: -1;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-menu, .nav-actions .nav-cta {
    display: none;
  }
  .mobile-toggle-btn {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-stats {
    gap: 1.5rem;
  }
  .stat-num {
    font-size: 1.8rem;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem;
  }
  .hero-ctas {
    flex-direction: column;
    gap: 0.75rem;
    width: 100%;
  }
  .hero-ctas .btn {
    width: 100%;
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .experience-badge {
    right: 0;
    bottom: -15px;
    padding: 0.6rem 1rem;
  }
  .founder-img {
    width: 100%;
    max-width: 280px;
    height: auto;
  }
  .chatbot-box {
    width: calc(100vw - 40px);
    height: 420px;
  }
}
