/* ==========================================================================
   Basenode Solutions - Main Stylesheet (Light Theme)
   ========================================================================== */

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette - Inspired by Brand Logo (Light Theme) */
  --bg-primary: #ffffff;      /* Pure white to blend with logo background */
  --bg-secondary: #f4f8fb;    /* Soft, cool ice-blue grey for secondary areas */
  --bg-card: rgba(255, 255, 255, 0.8);
  --color-brand: #0c588c;     /* Cobalt blue from logo */
  --color-brand-glow: rgba(12, 88, 140, 0.1);
  --color-accent: #1982c4;    /* Vibrant accent blue */
  --color-accent-glow: rgba(25, 130, 196, 0.08);
  --text-primary: #0a1b2d;    /* Deep navy-black for headers and strong text */
  --text-secondary: #52667a;  /* Cool slate grey for body copy */
  --border-color: rgba(12, 88, 140, 0.1);
  --border-hover: rgba(12, 88, 140, 0.4);
  
  /* Fonts */
  --font-header: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Layout Spacing */
  --max-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  background-color: var(--bg-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-secondary);
  border: 2px solid var(--bg-primary);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-brand);
}

/* Background Gradients & Ambient Glows (Lightened for white background) */
.ambient-glow-1 {
  position: absolute;
  top: -10%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(12, 88, 140, 0.06) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
}

.ambient-glow-2 {
  position: absolute;
  top: 50%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(25, 130, 196, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
  pointer-events: none;
  filter: blur(60px);
}

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

section {
  padding: 8rem 0;
  position: relative;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-header);
  font-weight: 700;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 8px;
  font-family: var(--font-header);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(12, 88, 140, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(25, 130, 196, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-brand);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

/* Glassmorphism Classes (Lightened for readability) */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(12, 88, 140, 0.04);
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  border-bottom: 1px solid transparent;
}

header.scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(12, 88, 140, 0.03);
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  transition: all var(--transition-normal);
}

header.scrolled .nav-wrapper {
  padding: 0.8rem 0;
}

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

.logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.logo-text {
  font-family: var(--font-header);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--color-brand);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

nav a:hover, nav a.active {
  color: var(--color-brand);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-brand);
  transition: width var(--transition-fast);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-primary);
  margin: 5px 0;
  transition: all var(--transition-normal);
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 8rem;
  padding-bottom: 4rem;
  background: radial-gradient(120% 120% at 50% -10%, #ffffff 40%, var(--bg-secondary) 100%);
}

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

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tagline-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(12, 88, 140, 0.08);
  border: 1px solid rgba(12, 88, 140, 0.15);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  color: var(--color-brand);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  width: fit-content;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 850;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

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

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

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

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-glow-card {
  width: 100%;
  aspect-ratio: 1;
  max-width: 400px;
  border-radius: 24px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px rgba(12, 88, 140, 0.08);
  overflow: hidden;
}

.hero-glow-card::before {
  content: '';
  position: absolute;
  width: 150%;
  height: 150%;
  background: conic-gradient(
    from 180deg at 50% 50%,
    transparent 0deg,
    var(--color-brand) 180deg,
    transparent 360deg
  );
  animation: rotateGlow 8s linear infinite;
  z-index: 1;
  opacity: 0.3;
}

.hero-glow-card-inner {
  position: absolute;
  top: 1px;
  left: 1px;
  right: 1px;
  bottom: 1px;
  background: #ffffff;
  border-radius: 23px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
}

/* Developer Mockup IDE Card */
.developer-mockup {
  width: 100%;
  height: 100%;
  background: #0f172a; /* Dark slate background for developer view */
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(12, 88, 140, 0.15);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-header {
  height: 40px;
  background: #1e293b;
  display: flex;
  align-items: center;
  padding: 0 1.2rem;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  flex-shrink: 0;
}

.mockup-dots {
  display: flex;
  gap: 6px;
}

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

.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #10b981; }

.mockup-tab {
  font-family: var(--font-header);
  font-size: 0.75rem;
  font-weight: 600;
  color: #94a3b8;
  background: #0f172a;
  padding: 0.6rem 1.2rem;
  border-radius: 6px 6px 0 0;
  position: absolute;
  bottom: 0;
  left: 70px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-left: 1px solid rgba(255, 255, 255, 0.05);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-body {
  flex-grow: 1;
  padding: 1.5rem;
  overflow: auto;
  font-family: 'Consolas', 'Fira Code', 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: left;
  color: #cbd5e1;
}

.mockup-body pre {
  margin: 0;
}

/* Syntax Highlighting */
.code-keyword { color: #f472b6; font-weight: 600; }  /* Pink */
.code-variable { color: #38bdf8; }                   /* Cyan */
.code-property { color: #fb7185; }                   /* Red-pink */
.code-string { color: #facc15; }                     /* Yellow */
.code-comment { color: #64748b; font-style: italic; } /* Grey */
.code-method { color: #4ade80; }                     /* Green */

/* Portfolio Section */
#portfolio {
  background-color: var(--bg-secondary);
}

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

.section-subtitle {
  color: var(--color-brand);
  font-family: var(--font-header);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  display: block;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 2.5rem;
}

.portfolio-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  transition: all var(--transition-normal);
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px rgba(12, 88, 140, 0.03);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  box-shadow: 0 16px 40px rgba(12, 88, 140, 0.1);
}

.portfolio-card.coming-soon-card {
  pointer-events: none;
}

.portfolio-card.coming-soon-card .portfolio-image-wrapper,
.portfolio-card.coming-soon-card .portfolio-info {
  filter: blur(5px);
  opacity: 0.55;
}

.portfolio-card.coming-soon-card:hover {
  transform: none;
  border-color: var(--border-color);
  box-shadow: 0 10px 30px rgba(12, 88, 140, 0.03);
}

.coming-soon-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
}

.coming-soon-text {
  background-color: var(--color-brand);
  color: #ffffff;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(12, 88, 140, 0.2);
}

.portfolio-image-wrapper {
  position: relative;
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--bg-secondary) 0%, rgba(25, 130, 196, 0.08) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-bottom: 1px solid var(--border-color);
}

.portfolio-placeholder-preview {
  position: relative;
  width: 85%;
  height: 75%;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(12, 88, 140, 0.05);
}

.preview-header {
  height: 24px;
  background: rgba(12, 88, 140, 0.03);
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0 10px;
  border-bottom: 1px solid var(--border-color);
}

.preview-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(12, 88, 140, 0.2);
}

.preview-dot:nth-child(1) { background: #ff5f56; }
.preview-dot:nth-child(2) { background: #ffbd2e; }
.preview-dot:nth-child(3) { background: #27c93f; }

.preview-body {
  flex-grow: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

.preview-icon-placeholder {
  font-size: 2rem;
  color: var(--color-brand);
  filter: drop-shadow(0 2px 8px rgba(12, 88, 140, 0.15));
}

.preview-wireframe {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wire-line {
  height: 5px;
  background: rgba(12, 88, 140, 0.08);
  border-radius: 2px;
}

.wire-line.short { width: 60%; }
.wire-line.mid { width: 80%; }

.portfolio-card:hover .portfolio-placeholder-preview {
  transform: scale(1.03);
  transition: transform var(--transition-normal);
}

.portfolio-info {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-meta {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.portfolio-tag {
  background: rgba(12, 88, 140, 0.06);
  color: var(--text-secondary);
  border: 1px solid rgba(12, 88, 140, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
}

.portfolio-card:hover .portfolio-tag {
  color: var(--color-brand);
  border-color: var(--color-accent);
  background: rgba(25, 130, 196, 0.08);
}

.portfolio-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
  transition: color var(--transition-fast);
}

.portfolio-card:hover .portfolio-card-title {
  color: var(--color-brand);
}

.portfolio-card-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.portfolio-link {
  font-family: var(--font-header);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-brand);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: fit-content;
  transition: gap var(--transition-fast);
}

.portfolio-link:hover {
  color: var(--color-accent);
  gap: 0.75rem;
}

/* About Section */
#about {
  background-color: var(--bg-primary);
}

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

.about-text h3 {
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
  color: var(--text-primary);
}

.about-text p {
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

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

.stat-card {
  padding: 1.5rem;
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(12, 88, 140, 0.03);
}

.stat-number {
  font-family: var(--font-header);
  font-size: 2.5rem;
  font-weight: 850;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Contact Section */
#contact {
  background-color: var(--bg-secondary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

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

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(12, 88, 140, 0.08);
  border: 1px solid rgba(12, 88, 140, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-brand);
  flex-shrink: 0;
}

.contact-item-text h4 {
  font-size: 1rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.contact-item-text p {
  font-size: 0.95rem;
}

.contact-form-card {
  padding: 3rem;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 15px 35px rgba(12, 88, 140, 0.05);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.form-row .form-group {
  margin-bottom: 0;
}

label {
  font-family: var(--font-header);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

input, select, textarea {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 0.8rem 1rem;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 10px rgba(12, 88, 140, 0.1);
  background: #ffffff;
}

select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2352667a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
}

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

.form-submit-btn {
  width: 100%;
}

.form-status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
  animation: fadeIn 0.3s ease;
}

.form-status.success {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.2);
  color: #10b981;
  display: block;
}

.form-status.error {
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: #ef4444;
  display: block;
}

/* Footer Section (Modified to light background to blend logo background) */
footer {
  background-color: #ffffff;
  padding: 4rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-brand p {
  max-width: 320px;
}

.footer-links h4 {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
  color: var(--text-primary);
}

.footer-links h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--color-brand);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-brand);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.85rem;
}

.footer-socials {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(12, 88, 140, 0.05);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.social-icon:hover {
  color: #ffffff;
  background: var(--color-brand);
  border-color: var(--color-brand);
  transform: translateY(-2px);
}

/* Animations */
@keyframes rotateGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Media Queries */
@media (max-width: 1024px) {
  section {
    padding: 6rem 0;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-grid {
    gap: 2rem;
  }
  
  .about-wrapper, .contact-grid {
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  /* Header mobile toggle */
  .menu-toggle {
    display: block;
  }
  
  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 0px solid var(--border-color);
    transition: all var(--transition-normal);
    gap: 1.5rem;
    padding: 0;
  }
  
  nav ul.active {
    height: auto;
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  
  .tagline-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-visual {
    order: -1;
  }
  
  .hero-glow-card {
    max-width: 280px;
  }

  .about-wrapper, .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .about-text {
    order: 2;
  }
  
  .about-stats {
    order: 1;
  }
  
  .contact-info-panel {
    gap: 2rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.25rem;
  }
  
  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }
  
  .btn {
    width: 100%;
  }
  
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  
  .form-row .form-group:first-child {
    margin-bottom: 1.5rem;
  }
  
  .contact-form-card {
    padding: 1.5rem;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
}
