/* ==========================================================================
   Vision Info Solutions - Master Tech Stylesheet
   Theme: High-Tech Futuristic Dark Luxury & Enterprise Engineering
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&family=Fira+Code:wght@400;500&display=swap');

:root {
  /* Color Palette - Enterprise Dark Tech */
  --bg-primary: #0A0D14;
  --bg-secondary: #121722;
  --bg-card: #181F2C;
  --bg-card-hover: #1E2738;
  --bg-dark: #06080D;
  
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-light: #FFFFFF;
  
  --accent-cyan: #00F0FF;
  --accent-cyan-hover: #00C8D6;
  --accent-blue: #3B82F6;
  --accent-purple: #8B5CF6;
  --accent-glow: rgba(0, 240, 255, 0.25);
  
  --border-light: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.15);
  --border-glow: rgba(0, 240, 255, 0.35);
  
  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);

  /* Fonts */
  --font-heading: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-code: 'Fira Code', monospace;
  
  /* Transitions */
  --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --site-max-width: 1280px;
  --header-height: 90px;
}

/* Reset & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
  background: none;
}

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--site-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 7rem 0;
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 4.5rem;
}

.section-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.85rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* Header & Navigation */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: all var(--transition-normal);
  background: rgba(10, 13, 20, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
  height: 75px;
  background: rgba(10, 13, 20, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom: 1px solid var(--border-light);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.4rem;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
  transition: transform var(--transition-fast);
}

.logo:hover .logo-symbol {
  transform: rotate(5deg) scale(1.05);
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-primary);
}

.logo-text span {
  color: var(--accent-cyan);
  font-weight: 500;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  letter-spacing: 0.3px;
}

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

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

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

.nav-btn {
  padding: 0.7rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #000000;
  background: var(--accent-cyan);
  border-radius: 50px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transition: all var(--transition-fast);
}

.nav-btn:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.5);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1001;
}

.mobile-toggle span {
  width: 26px;
  height: 2px;
  background-color: var(--text-primary);
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Single Static Hero Section */
.hero {
  position: relative;
  height: 100vh;
  min-height: 750px;
  width: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: url('../images/hero_bg.jpg') center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 50%, rgba(10, 13, 20, 0.45) 0%, rgba(10, 13, 20, 0.88) 100%),
              linear-gradient(180deg, rgba(10, 13, 20, 0.6) 0%, rgba(10, 13, 20, 0.95) 100%);
}

.hero-content-wrapper {
  position: relative;
  z-index: 10;
  color: #FFFFFF;
  max-width: 880px;
  padding-top: 4rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.25rem;
  background: rgba(0, 240, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 240, 255, 0.3);
  border-radius: 50px;
  font-family: var(--font-code);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
  color: var(--accent-cyan);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.5vw, 4.6rem);
  font-weight: 700;
  line-height: 1.12;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 2.5rem;
  color: var(--text-secondary);
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2.2rem;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 50px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-primary {
  background-color: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
}

.btn-primary:hover {
  background-color: #FFFFFF;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn-outline-light {
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #FFFFFF;
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-3px);
}

/* About Us Section */
.about {
  background-color: var(--bg-primary);
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about-image-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  position: relative;
  z-index: 2;
}

.about-badge {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--bg-card);
  border: 1px solid var(--border-glow);
  padding: 2rem;
  border-radius: 16px;
  z-index: 3;
  box-shadow: var(--shadow-glow);
  max-width: 230px;
}

.about-badge-number {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.about-badge-text {
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-secondary);
}

.about-content h2 {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  letter-spacing: -0.5px;
}

.about-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 400;
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.about-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.about-feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.about-feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-feature-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Redesigned Core Capabilities Section - Symmetrical Bento Grid Layout */
.services {
  background-color: var(--bg-secondary);
  position: relative;
}

.bento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 24px;
  padding: 2.75rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.bento-card-large {
  grid-column: 1 / 2;
  grid-row: 1 / 3;
  background: linear-gradient(150deg, var(--bg-card) 0%, #151D2C 100%);
  border: 1px solid rgba(0, 240, 255, 0.25);
}

.bento-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.bento-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.bento-icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  border: 1px solid rgba(0, 240, 255, 0.25);
  transition: all var(--transition-fast);
}

.bento-card:hover .bento-icon-box {
  background: var(--accent-cyan);
  color: #000000;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.bento-tag {
  font-family: var(--font-code);
  font-size: 0.78rem;
  color: var(--accent-cyan);
  background: rgba(0, 240, 255, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.bento-title {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1rem;
}

.bento-card-large .bento-title {
  font-size: 2.2rem;
}

.bento-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.bento-capabilities-list {
  margin-top: 1rem;
  margin-bottom: 2rem;
}

.bento-capabilities-list li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.bento-capabilities-list li i {
  color: var(--accent-cyan);
  font-size: 1.1rem;
}

.bento-code-snippet {
  background: #080B12;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-code);
  font-size: 0.85rem;
  color: var(--accent-cyan);
  margin-top: auto;
  line-height: 1.6;
}

.bento-code-snippet span.purple { color: var(--accent-purple); }
.bento-code-snippet span.white { color: #FFFFFF; }
.bento-code-snippet span.comment { color: #64748B; }

/* Tech Stack Section */
.techstack {
  background-color: var(--bg-primary);
}

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

.tech-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  padding: 1.75rem 1rem;
  border-radius: 16px;
  text-align: center;
  transition: all var(--transition-fast);
}

.tech-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.tech-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 0.75rem;
}

.tech-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}

/* Projects Showcase Section */
.portfolio {
  background-color: var(--bg-secondary);
}

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

.portfolio-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
}

.portfolio-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.portfolio-item:hover .portfolio-img {
  transform: scale(1.08);
  opacity: 0.8;
}

.portfolio-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 2.5rem 2rem 2rem;
  background: linear-gradient(180deg, transparent 0%, rgba(6, 8, 13, 0.95) 100%);
  color: #FFFFFF;
  transform: translateY(15px);
  opacity: 0.9;
  transition: all var(--transition-fast);
}

.portfolio-item:hover .portfolio-overlay {
  transform: translateY(0);
  opacity: 1;
}

.portfolio-category {
  font-family: var(--font-code);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.portfolio-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

/* Contact Us Section - Equal Height Aligned Layout */
.contact {
  background-color: var(--bg-primary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: stretch;
}

.contact-form-box {
  background: var(--bg-card);
  padding: 3rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-form-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.contact-form-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.form-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.9rem 1.15rem;
  background: var(--bg-primary);
  border: 1px solid var(--border-medium);
  border-radius: 8px;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15);
  background: var(--bg-secondary);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-response {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-response.success {
  display: block;
  background: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-response.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #F87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Contact Info & Map Column */
.contact-info-box {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
}

.contact-card {
  background: var(--bg-card);
  padding: 2.25rem;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.info-item:last-child {
  margin-bottom: 0;
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(0, 240, 255, 0.1);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  border: 1px solid rgba(0, 240, 255, 0.2);
}

.info-label {
  font-family: var(--font-code);
  font-size: 0.78rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent-cyan);
  margin-bottom: 0.25rem;
}

.info-value {
  font-size: 1.02rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.5;
}

.map-wrapper {
  flex: 1;
  min-height: 260px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: invert(90%) hue-rotate(180deg) contrast(90%);
}

/* Centered Creative Footer Section */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 4.5rem 0 2.5rem;
  border-top: 1px solid var(--border-light);
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-header-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 2.25rem;
}

.footer-legal-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.footer-legal-logo .logo-symbol {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #000000;
  font-size: 1.5rem;
  font-weight: 800;
  border-radius: 8px;
}

.footer-legal-name-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #FFFFFF;
}

.footer-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem 2.25rem;
  padding: 1.25rem 2.75rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50px;
  max-width: 100%;
}

.footer-creative-link {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  transition: all var(--transition-fast);
}

.footer-creative-link:hover {
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.footer-nav-dot {
  color: rgba(0, 240, 255, 0.4);
  font-size: 0.8rem;
}

.footer-bottom {
  padding-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Go To Top Button */
.go-top-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-fast);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

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

.go-top-btn:hover {
  background: #FFFFFF;
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.6);
}

/* Scroll Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.reveal.active,
.reveal-left.active,
.reveal-right.active {
  opacity: 1;
  transform: translate(0, 0);
}

/* Delay Helpers */
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }
.delay-4 { transition-delay: 0.6s; }

/* Responsive Queries */
@media (max-width: 1024px) {
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-card-large {
    grid-column: 1;
    grid-row: span 1;
  }

  .about-badge {
    right: 0;
    bottom: -1.5rem;
  }

  .tech-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 75px;
  }

  .section-padding {
    padding: 5rem 0;
  }

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

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--bg-primary);
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    padding: 3rem 2rem;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
    transition: right var(--transition-normal);
  }

  .nav-menu.active {
    right: 0;
  }

  .mobile-toggle {
    display: flex;
  }

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

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

  .about-features {
    grid-template-columns: 1fr;
  }

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

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-nav-container {
    border-radius: 20px;
    padding: 1.25rem 1.5rem;
    gap: 0.75rem 1.25rem;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}
