/* ==========================================================================
   BRKNARIKAN.COM - CLEAN LIGHT PORTFOLIO DESIGN SYSTEM & STYLESHEET
   Brand: Berkan ARIKAN - BrknArikan Software & Design (BSD Bilişim)
   Aesthetics: Clean Minimalist Light Studio, Soft Shadows, Crisp Typography
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & LIGHT THEMING
   -------------------------------------------------------------------------- */
:root {
  /* Fonts */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-code: 'Fira Code', monospace;

  /* Theme: Light Studio (Default) */
  --bg-primary: #f8fafc;
  --bg-secondary: #ffffff;
  --bg-surface: rgba(255, 255, 255, 0.9);
  --bg-surface-hover: #ffffff;

  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;

  --accent-primary: #4f46e5;
  --accent-secondary: #0284c7;
  --accent-cyan: #0284c7;
  --accent-emerald: #059669;
  --accent-glow: rgba(79, 70, 229, 0.15);

  --gradient-brand: linear-gradient(135deg, #4f46e5 0%, #0284c7 100%);
  --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.08), rgba(2, 132, 199, 0.08));
  --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(248, 250, 252, 0.85));

  --border-color: #e2e8f0;
  --border-glow: #cbd5e1;

  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 25px rgba(79, 70, 229, 0.12);
  --shadow-glass: 0 10px 30px -5px rgba(15, 23, 42, 0.05);

  --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-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Theme Variant 2: Dark Cyberpunk */
[data-theme="dark"] {
  --bg-primary: #07090e;
  --bg-secondary: #0d111a;
  --bg-surface: rgba(18, 24, 38, 0.85);
  --bg-surface-hover: #121826;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --accent-primary: #6366f1;
  --accent-secondary: #a855f7;
  --accent-cyan: #38bdf8;
  --accent-glow: rgba(99, 102, 241, 0.4);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(99, 102, 241, 0.35);
  --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.4);
}

/* Theme Variant 3: Midnight Indigo */
[data-theme="indigo"] {
  --bg-primary: #0a0d1d;
  --bg-secondary: #10162e;
  --bg-surface: rgba(22, 30, 60, 0.85);
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESET & BASE STYLES
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

/* Ambient Canvas Overlay */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  pointer-events: none;
}

/* Cursor Spotlight Glow */
#cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  margin-left: -200px;
  margin-top: -200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 0, 0, 0) 70%);
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  transition: transform 0.1s ease-out;
}

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

.section {
  padding: 5rem 0;
  position: relative;
}

.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Glassmorphism / Clean Card Panel */
.glass-panel {
  background: var(--bg-surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  transition: border-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

.glass-panel:hover {
  border-color: var(--border-glow);
  box-shadow: 0 12px 35px -5px rgba(15, 23, 42, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: none;
  outline: none;
  transition: all var(--transition-fast);
}

.btn-primary {
  background: var(--gradient-brand);
  color: #ffffff;
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px var(--accent-glow);
}

.btn-glow {
  position: relative;
  overflow: hidden;
}

.btn-glass {
  background: var(--bg-secondary);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}
.btn-glass:hover {
  background: #f1f5f9;
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.2rem;
  font-size: 0.85rem;
}

.btn-xs {
  padding: 0.35rem 0.8rem;
  font-size: 0.75rem;
}

.btn-full {
  width: 100%;
}

/* --------------------------------------------------------------------------
   4. NAVIGATION BAR
   -------------------------------------------------------------------------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.1rem 0;
  transition: all var(--transition-normal);
}

.navbar.scrolled {
  padding: 0.75rem 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar.scrolled,
[data-theme="indigo"] .navbar.scrolled {
  background: rgba(7, 9, 14, 0.9);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.site-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: none;
  transition: all var(--transition-fast);
}

[data-theme="dark"] .site-logo,
[data-theme="indigo"] .site-logo {
  filter: brightness(0) invert(1);
}

.site-logo:hover {
  transform: scale(1.03);
}

.footer-logo {
  height: 48px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border-color);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .nav-menu,
[data-theme="indigo"] .nav-menu {
  background: rgba(255, 255, 255, 0.05);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 0.35rem 0.7rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-link i {
  font-size: 0.8rem;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-primary);
  background: rgba(79, 70, 229, 0.08);
}

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

.client-portal-btn {
  text-decoration: none;
  font-size: 0.8rem;
}

/* Theme Dropdown */
.theme-dropdown {
  position: relative;
}
.theme-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.theme-btn:hover {
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.theme-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 190px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  box-shadow: var(--shadow-glass);
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 100;
}
.theme-menu.show {
  display: flex;
  animation: fadeInDown 0.2s ease;
}

.theme-option {
  background: transparent;
  border: none;
  color: var(--text-muted);
  padding: 0.55rem 0.75rem;
  font-family: var(--font-main);
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  transition: all var(--transition-fast);
}
.theme-option:hover, .theme-option.active {
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
.mobile-toggle .bar {
  width: 24px;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s;
}

/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-top: 7rem;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--accent-emerald);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulseDot 2s infinite;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  min-height: 2.2rem;
  display: flex;
  align-items: center;
}

.typewriter-text {
  color: var(--accent-primary);
  font-family: var(--font-code);
  font-weight: 600;
}

.typewriter-cursor {
  color: var(--accent-cyan);
  animation: blink 1s infinite;
}

.hero-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.social-label {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.social-link:hover {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* Hero Avatar & Badges */
.hero-visual {
  position: relative;
}

.avatar-card {
  position: relative;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: visible;
}

.avatar-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 1/1;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transition: transform 0.5s ease;
}
.avatar-card:hover .avatar-img {
  transform: scale(1.02);
}

.avatar-glow {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  background: var(--gradient-glow);
  filter: blur(25px);
  z-index: -1;
  border-radius: 50%;
}

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.1rem;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-glass);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top-right {
  top: -15px;
  right: -15px;
}
.badge-bottom-left {
  bottom: -15px;
  left: -15px;
  animation-delay: -2s;
}

.badge-icon {
  font-size: 1.15rem;
  color: var(--accent-primary);
}
.badge-title {
  display: block;
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--text-main);
}
.badge-sub {
  display: block;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.scroll-down-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: color var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.scroll-down-btn:hover {
  color: var(--accent-primary);
  border-color: var(--accent-primary);
}

/* --------------------------------------------------------------------------
   6. SECTION HEADERS & GENERAL COMPONENTS
   -------------------------------------------------------------------------- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 3rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-primary);
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 0.85rem;
  color: var(--text-main);
}

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

/* --------------------------------------------------------------------------
   7. SERVICES SECTION (HİZMETLERİMİZ)
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 1.75rem;
}

.service-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.08);
}

.service-img-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.service-card:hover .service-img {
  transform: scale(1.05);
}

.service-icon-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-sm);
}

.service-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.service-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   8. ABOUT & COMPANY SECTION
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.25rem;
  align-items: stretch;
}

.about-card {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-heading {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

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

.company-tax-info {
  margin-top: 1.25rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  border: 1px solid var(--border-color);
}

[data-theme="dark"] .company-tax-info,
[data-theme="indigo"] .company-tax-info {
  background: rgba(0, 0, 0, 0.3);
}

.tax-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent-primary);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.company-tax-info p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

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

.stat-card {
  padding: 1.75rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.stat-icon {
  font-size: 1.8rem;
  color: var(--accent-primary);
  margin-bottom: 0.6rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  display: inline-block;
  color: var(--text-main);
  line-height: 1;
}

.stat-plus {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-primary);
}

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

/* --------------------------------------------------------------------------
   9. CLIENTS / REFERENCES SECTION
   -------------------------------------------------------------------------- */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
}

.client-card {
  padding: 1.25rem 0.85rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}
.client-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.client-icon {
  font-size: 2rem;
  color: var(--accent-primary);
  margin-bottom: 0.6rem;
}

.client-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.client-sub {
  font-size: 0.73rem;
  color: var(--text-dim);
}

/* --------------------------------------------------------------------------
   10. PORTFOLIO SECTION
   -------------------------------------------------------------------------- */
.project-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2.25rem;
}

.filter-btn {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: var(--shadow-glow);
}

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

.project-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.project-img-box {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

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

.project-tags {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.p-tag {
  font-size: 0.73rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  background: rgba(79, 70, 229, 0.08);
  color: var(--accent-primary);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   11. CONTACT SECTION
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 2.25rem;
}

.contact-info {
  padding: 2.25rem;
}

.contact-subheading {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.contact-text {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-bottom: 1.75rem;
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: rgba(79, 70, 229, 0.08);
  border: 1px solid var(--border-color);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.info-title {
  display: block;
  font-size: 0.75rem;
  color: var(--text-dim);
}

.info-value {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--text-main);
  text-decoration: none;
}

.contact-form {
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

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

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input, .form-group textarea, .form-select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border-radius: var(--radius-sm);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-main);
}

.form-group input:focus, .form-group textarea:focus, .form-select:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(79, 70, 229, 0.15);
}

/* --------------------------------------------------------------------------
   12. MODALS & TOASTS
   -------------------------------------------------------------------------- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-content {
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  background: var(--bg-secondary);
}

.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
}
.modal-close:hover {
  color: var(--text-main);
}

.modal-badge {
  font-size: 0.78rem;
  color: var(--accent-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.modal-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-img-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 1.25rem;
  aspect-ratio: 16/9;
}

.modal-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-desc {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.modal-subheading {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.modal-features {
  list-style: none;
  margin-bottom: 1.5rem;
}
.modal-features li {
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  padding-left: 1.4rem;
  position: relative;
}
.modal-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent-emerald);
}

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

/* Toast Notification */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  padding: 0.9rem 1.35rem;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  box-shadow: var(--shadow-glass);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s ease;
}

/* --------------------------------------------------------------------------
   13. FOOTER
   -------------------------------------------------------------------------- */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 3rem 0;
  background: var(--bg-secondary);
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.footer-desc {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem;
}
.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color var(--transition-fast);
}
.footer-links a:hover {
  color: var(--accent-primary);
}

.footer-tax-note {
  font-size: 0.8rem;
  color: var(--text-dim);
  background: var(--bg-primary);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  line-height: 1.6;
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.82rem;
}

/* --------------------------------------------------------------------------
   14. ANIMATIONS & REVEAL EFFECTS
   -------------------------------------------------------------------------- */
@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0.5); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(5, 150, 105, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translate(-50%, 0); }
  40% { transform: translate(-50%, -8px); }
  60% { transform: translate(-50%, -4px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(40px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Reveal on Scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   15. RESPONSIVE DESIGN
   -------------------------------------------------------------------------- */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-subtitle, .hero-actions, .hero-socials {
    justify-content: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-visual {
    max-width: 420px;
    margin: 0 auto;
  }
  .about-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  .nav-menu {
    position: fixed;
    top: 65px;
    left: -100%;
    width: 85%;
    max-width: 300px;
    height: calc(100vh - 75px);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    background: var(--bg-secondary);
    box-shadow: var(--shadow-glass);
    transition: left 0.3s ease;
  }
  .nav-menu.active {
    left: 1.25rem;
  }
  .mobile-toggle {
    display: flex;
  }
  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid, .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
  }
}
