/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --accent: #00d4ff;
  --accent-dim: #0097b8;
  --accent-glow: rgba(0, 212, 255, 0.15);
  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b8;
  --text-muted: #6a6a80;
  --border: #2a2a3a;
  --border-light: #3a3a4f;
  --white: #ffffff;
  --black: #000000;
  --danger: #ff4757;
  --success: #2ed573;
  --warning: #ffa502;
  --font-main: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-heading: 'Space Grotesk', 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
  --shadow-accent: 0 4px 24px rgba(0, 212, 255, 0.2);
}

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

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

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

ul, ol {
  list-style: none;
}

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

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

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--border);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-dim);
}

/* ===== UTILITY ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--white);
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

/* Mobile-specific utilities */
.mobile-center {
  text-align: center;
}

.mobile-full-width {
  width: 100%;
}

/* Touch-friendly targets */
button, a, input, select, textarea {
  -webkit-tap-highlight-color: rgba(0, 212, 255, 0.1);
  touch-action: manipulation;
}

/* Improve font rendering on mobile */
@media screen and (max-width: 768px) {
  body {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}

/* ===== NAVIGATION ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.nav-logo .logo-text {
  letter-spacing: -0.5px;
}

.nav-logo .logo-text span {
  color: var(--accent);
}

.nav-logo img {
  height: 40px;
  width: auto;
}



.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 8px 18px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  position: relative;
}

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

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 18px;
  right: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-cta {
  padding: 10px 24px !important;
  background: var(--accent) !important;
  color: var(--bg-primary) !important;
  border-radius: var(--radius-sm) !important;
  font-weight: 600 !important;
}

.nav-cta:hover {
  background: var(--white) !important;
  box-shadow: var(--shadow-accent);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: var(--transition);
  border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
}

.btn-primary:hover {
  background: var(--white);
  box-shadow: var(--shadow-accent);
  transform: translateY(-2px);
}

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

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

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

.btn-outline:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-2px);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  pointer-events: none;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--accent);
  top: -100px;
  right: -100px;
  opacity: 0.08;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: #7c3aed;
  bottom: -50px;
  left: -100px;
  opacity: 0.06;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--white);
}

.hero-title .highlight {
  color: var(--accent);
  position: relative;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 80px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.hero-stat h3 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--white);
}

.hero-stat h3 span {
  color: var(--accent);
}

.hero-stat p {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== FLOATING ELEMENTS (Hero decorative) ===== */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 0;
}

.floating-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.floating-card:nth-child(1) {
  top: 12%;
  right: 8%;
  animation-delay: 0s;
}

.floating-card:nth-child(2) {
  top: 50%;
  left: 5%;
  animation-delay: -2s;
}

.floating-card:nth-child(3) {
  bottom: 12%;
  right: 12%;
  animation-delay: -4s;
}

.floating-card .card-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.1);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.floating-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.floating-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

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

/* ===== SERVICES SECTION ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 40px 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--border-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.15);
  border-radius: var(--radius-md);
  color: var(--accent);
  font-size: 1.5rem;
  margin-bottom: 24px;
}

.service-card h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.service-card .learn-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 500;
}

.service-card .learn-more svg {
  transition: var(--transition);
}

.service-card:hover .learn-more svg {
  transform: translateX(4px);
}

/* ===== ABOUT / WHY CHOOSE US ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 60px;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-feature {
  display: flex;
  gap: 20px;
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
}

.about-feature:hover {
  background: var(--bg-card);
  border-color: var(--border);
}

.about-feature .feat-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
}

.about-feature h4 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 6px;
}

.about-feature p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

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

.about-image-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  position: relative;
  overflow: hidden;
}

.about-image-box .code-block {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 2;
  text-align: left;
  width: 100%;
}

.about-image-box .code-block .keyword {
  color: #c678dd;
}

.about-image-box .code-block .func {
  color: #61afef;
}

.about-image-box .code-block .string {
  color: #98c379;
}

.about-image-box .code-block .comment {
  color: var(--text-muted);
}

.about-image-box .code-block .accent {
  color: var(--accent);
}

/* ===== PROJECTS ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.project-thumb {
  width: 100%;
  height: 220px;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.project-thumb .project-icon {
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.6;
}

.project-thumb .project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-info {
  padding: 32px;
}

.project-tag {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: var(--radius-xl);
  font-size: 0.75rem;
  color: var(--accent);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.project-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.project-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tech span {
  padding: 4px 12px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Project Feature Cards (Full-width showcase) */
.project-feature {
  width: 100%;
  margin-bottom: 32px;
}

.project-feature .project-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

/* ===== PORTFOLIO PAGE ===== */
.portfolio-filters {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.filter-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-primary);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  opacity: 1;
  transform: scale(1);
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-light);
}

.portfolio-thumb {
  width: 100%;
  height: 280px;
  background: var(--bg-secondary);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.05);
}

.portfolio-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--text-muted);
  opacity: 0.3;
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 10, 15, 0.95) 100%);
  display: flex;
  align-items: flex-end;
  padding: 24px;
  opacity: 0;
  transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay-content h3 {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.portfolio-overlay-content p {
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 500;
}

.portfolio-info {
  padding: 24px;
}

.portfolio-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.portfolio-header h3 {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  flex: 1;
  line-height: 1.3;
}

.portfolio-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--radius-xl);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.portfolio-tag.websites {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  color: var(--accent);
}

.portfolio-tag.ui-designs {
  background: rgba(126, 58, 237, 0.1);
  border: 1px solid rgba(126, 58, 237, 0.2);
  color: #a78bfa;
}

.portfolio-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.portfolio-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.portfolio-tech span {
  padding: 4px 10px;
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* ===== LIGHTBOX MODAL ===== */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.lightbox-container {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-container {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: -60px;
  right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  z-index: 10001;
}

.lightbox-close:hover {
  background: var(--accent);
  color: var(--bg-primary);
  border-color: var(--accent);
}

.lightbox-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.lightbox-info {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-top: 20px;
  text-align: center;
  min-width: 300px;
}

.lightbox-info h3 {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.lightbox-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Portfolio thumb cursor */
.portfolio-thumb {
  cursor: zoom-in;
  position: relative;
}

.portfolio-thumb:hover {
  cursor: zoom-in;
}

.portfolio-thumb:hover::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  background: rgba(0, 212, 255, 0.9);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: zoomPulse 0.6s ease-out forwards;
  pointer-events: none;
}

.portfolio-thumb:hover::before {
  content: '🔍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  z-index: 5;
  opacity: 0;
  animation: zoomIconShow 0.6s ease-out 0.1s forwards;
  pointer-events: none;
}

@keyframes zoomPulse {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes zoomIconShow {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

/* ===== TESTIMONIALS / FEEDBACK ===== */
.testimonials-wrapper {
  margin-top: 60px;
  position: relative;
}

.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 36px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.testimonial-card .quote-icon {
  font-size: 2rem;
  color: var(--accent);
  opacity: 0.3;
  margin-bottom: 16px;
  font-family: Georgia, serif;
}

.testimonial-card .review-text {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 14px;
}

.reviewer-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 212, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
}

.reviewer-info h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--white);
}

.reviewer-info p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.stars svg {
  color: var(--warning);
  width: 16px;
  height: 16px;
}

/* ===== FOUNDER ===== */
.founder-section {
  padding: 120px 0;
}

.founder-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 80px;
  align-items: start;
  margin-top: 60px;
}

.founder-photo {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.founder-photo .founder-initials {
  font-family: var(--font-heading);
  font-size: 5rem;
  font-weight: 800;
  color: var(--accent);
  opacity: 0.2;
}

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

.founder-photo::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
}

.founder-content h2 {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.founder-content .founder-role {
  color: var(--accent);
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 32px;
  font-family: var(--font-mono);
}

.founder-content .founder-bio {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
}

.founder-content .founder-bio p {
  margin-bottom: 20px;
}

.founder-content .founder-passions {
  margin: 24px 0;
  padding-left: 24px;
}

.founder-content .founder-passions li {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.9;
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
}

.founder-content .founder-passions li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.founder-signature {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--white);
  font-style: italic;
}

/* ===== CAREERS / APPLY ===== */
.careers-intro {
  max-width: 700px;
  margin-bottom: 60px;
}

.positions-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  margin-bottom: 80px;
}

.position-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px 32px;
  transition: var(--transition);
}

.position-card:hover {
  border-color: var(--border-light);
  transform: translateX(4px);
}

.position-left {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1;
}

.position-left .pos-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 212, 255, 0.08);
  border-radius: var(--radius-sm);
  color: var(--accent);
  font-size: 1.2rem;
  margin-top: 2px;
}

.position-left h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.position-left .pos-desc {
  color: var(--text-secondary);
  font-size: 0.88rem;
  line-height: 1.6;
  margin-bottom: 8px;
  max-width: 480px;
}

.position-left .pos-tags {
  display: flex;
  gap: 8px;
}

.position-left .pos-tags span {
  font-size: 0.78rem;
  color: var(--text-muted);
  padding: 2px 10px;
  background: var(--bg-secondary);
  border-radius: var(--radius-sm);
}

/* Application Form */
.apply-form-section {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 60px;
}

.apply-form-section h2 {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.apply-form-section > p {
  color: var(--text-secondary);
  margin-bottom: 40px;
}

.apply-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  padding: 14px 18px;
  background: var(--bg-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 140px;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23a0a0b8' 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 16px center;
}

.form-submit {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-start;
  margin-top: 16px;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  text-align: center;
}

.cta-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 80px 60px;
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: var(--accent);
  filter: blur(150px);
  opacity: 0.1;
  pointer-events: none;
}

.cta-box h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto 40px;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-brand .footer-logo img {
  height: 32px;
}

.footer-brand .footer-logo .logo-text {
  letter-spacing: -0.5px;
}

.footer-brand .footer-logo .logo-text span {
  color: var(--accent);
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-col ul li a:hover {
  color: var(--accent);
}

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

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

.footer-socials {
  display: flex;
  gap: 12px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-socials a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
}

.page-header .hero-grid {
  opacity: 0.5;
}

.page-header h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  max-width: 600px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.85rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb .sep {
  color: var(--text-muted);
}

.breadcrumb .current {
  color: var(--accent);
}

/* ===== ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

/* ===== RESPONSIVE ===== */

/* Tablet & Below (1024px) */
@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .founder-photo {
    max-width: 350px;
    margin: 0 auto;
  }

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

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

  /* Project cards with inline grid */
  .project-card[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
  }

  .project-info[style*="padding:48px"] {
    padding: 32px !important;
  }

  .project-thumb[style*="height:100%"] {
    min-height: 280px !important;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

/* Mobile & Tablet (768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }

  .section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header p {
    font-size: 1rem;
  }

  /* Navigation */
  .navbar {
    padding: 16px 0;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--bg-secondary);
    flex-direction: column;
    align-items: flex-start;
    padding: 100px 32px 32px;
    border-left: 1px solid var(--border);
    transition: var(--transition);
    gap: 4px;
    z-index: 999;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.open {
    right: 0;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: var(--bg-card);
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-cta {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero {
    min-height: 90vh;
    padding-top: 60px;
  }

  .hero-badge {
    font-size: 0.8rem;
    padding: 6px 14px;
  }

  .hero-title {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
  }

  .hero-stat {
    flex: 1;
    text-align: center;
  }

  /* Services */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px;
  }

  /* Projects */
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .project-info {
    padding: 24px !important;
  }

  .project-thumb {
    min-height: 240px !important;
  }

  .project-tech {
    gap: 6px;
  }

  .project-tech span {
    font-size: 0.7rem;
    padding: 3px 10px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .portfolio-thumb {
    height: 240px;
  }

  .portfolio-info {
    padding: 20px;
  }

  .filter-btn {
    padding: 8px 20px;
    font-size: 0.85rem;
  }

  /* Position Cards */
  .position-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 24px;
  }

  .position-left {
    flex-direction: column;
    gap: 16px;
  }

  .pos-icon {
    margin-top: 0;
  }

  .position-card .btn {
    align-self: stretch;
    justify-content: center;
  }

  .pos-tags {
    flex-wrap: wrap;
  }

  /* Forms */
  .apply-form {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .apply-form-section {
    padding: 32px 24px;
  }

  .apply-form-section h2 {
    font-size: 1.8rem;
  }

  .form-group label {
    font-size: 0.9rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .form-submit {
    flex-direction: column;
  }

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

  /* Testimonials */
  .testimonials-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .footer-col ul {
    align-items: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-socials {
    justify-content: center;
  }

  /* CTA */
  .cta-box {
    padding: 40px 24px;
    text-align: center;
  }

  .cta-box h2 {
    font-size: 1.8rem;
  }

  .cta-box .btn {
    width: 100%;
    max-width: 300px;
  }

  /* Why Choose Us */
  .why-cards {
    grid-template-columns: 1fr;
  }

  /* Values */
  .values-grid {
    grid-template-columns: 1fr;
  }

  /* Founder Page */
  .page-founder .page-header {
    padding: 120px 0 60px;
  }

  .founder-section {
    padding: 80px 0;
  }

  .founder-grid {
    margin-top: 32px;
    gap: 40px;
  }

  .founder-photo img {
    width: 100%;
    height: 100%;
  }
}

/* Mobile (480px) */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .container {
    padding: 0 16px;
  }

  .section {
    padding: 48px 0;
  }

  .section-header h2 {
    font-size: 1.8rem;
  }

  /* Hero */
  .hero {
    min-height: 85vh;
  }

  .hero-badge {
    font-size: 0.75rem;
    padding: 6px 12px;
    gap: 6px;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-actions {
    max-width: 100%;
  }

  .hero-actions .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .hero-stats {
    gap: 20px;
    margin-top: 40px;
  }

  .hero-stat h3 {
    font-size: 1.8rem;
  }

  .hero-stat p {
    font-size: 0.85rem;
  }

  /* Services */
  .service-card {
    padding: 24px;
  }

  .service-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 16px;
  }

  .service-card h3 {
    font-size: 1.1rem;
  }

  .service-card p {
    font-size: 0.9rem;
  }

  /* Buttons */
  .btn {
    padding: 12px 24px;
    font-size: 0.9rem;
    gap: 8px;
    min-width: 120px;
    max-width: 100%;
    word-wrap: break-word;
    text-overflow: ellipsis;
    overflow: hidden;
    line-height: 1.3;
  }

  /* Form submission messages */
  .btn.form-message {
    white-space: normal;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.85rem;
    line-height: 1.2;
  }

  /* Projects */
  .project-info {
    padding: 20px !important;
  }

  .project-info h3 {
    font-size: 1.3rem;
  }

  .project-info p {
    font-size: 0.9rem;
  }

  .project-thumb {
    min-height: 200px !important;
  }

  .project-thumb img {
    width: 100px !important;
    height: 100px !important;
  }

  .project-thumb svg {
    width: 60px !important;
    height: 60px !important;
  }

  .project-thumb [style*="font-size:2rem"] {
    font-size: 1.5rem !important;
  }

  .project-thumb [style*="font-size:0.8rem"] {
    font-size: 0.7rem !important;
  }

  /* Position Cards */
  .position-card {
    padding: 20px;
  }

  .position-card h3 {
    font-size: 1.1rem;
  }

  .pos-desc {
    font-size: 0.9rem;
  }

  .pos-tags span {
    font-size: 0.7rem;
    padding: 4px 10px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 32px;
  }

  .portfolio-thumb {
    height: 200px;
  }

  .portfolio-info {
    padding: 16px;
  }

  .portfolio-header {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }

  .portfolio-header h3 {
    font-size: 1.1rem;
  }

  .portfolio-info p {
    font-size: 0.85rem;
  }

  .portfolio-tech {
    gap: 4px;
  }

  .portfolio-tech span {
    font-size: 0.7rem;
    padding: 3px 8px;
  }

  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }

  /* Forms */
  .apply-form-section {
    padding: 24px 16px;
  }

  .apply-form-section h2 {
    font-size: 1.5rem;
  }

  .apply-form-section p {
    font-size: 0.9rem;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-group label {
    font-size: 0.85rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  /* Testimonials */
  .testimonial-card {
    padding: 20px;
  }

  .testimonial-text {
    font-size: 0.9rem;
  }

  .testimonial-author h4 {
    font-size: 0.95rem;
  }

  .testimonial-role {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

  .footer-brand h3 {
    font-size: 1.3rem;
  }

  .footer-col h4 {
    font-size: 1rem;
  }

  .footer-col ul li {
    font-size: 0.9rem;
  }

  .footer-bottom {
    padding-top: 24px;
    font-size: 0.85rem;
  }

  /* CTA */
  .cta-box {
    padding: 32px 20px;
  }

  .cta-box h2 {
    font-size: 1.5rem;
  }

  .cta-box p {
    font-size: 0.9rem;
  }

  /* Navbar Logo */
  .logo-img {
    width: 32px;
    height: 32px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  /* Founder Page */
  .page-founder .page-header {
    padding: 110px 0 52px;
  }

  .about-content h2 {
    font-size: 1.8rem;
  }

  .value-card {
    padding: 20px;
  }

  .value-icon {
    width: 50px;
    height: 50px;
  }

  .value-card h3 {
    font-size: 1.1rem;
  }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.75rem;
  }

  .hero-actions .btn {
    padding: 10px 20px;
    font-size: 0.85rem;
  }

  .project-info {
    padding: 16px !important;
  }

  .position-card {
    padding: 16px;
  }

  .apply-form-section {
    padding: 20px 12px;
  }
}

/* Landscape Orientation (Mobile) */
@media (max-height: 600px) and (orientation: landscape) {
  .hero {
    min-height: auto;
    padding: 120px 0 60px;
  }

  .section {
    padding: 60px 0;
  }

  .hero-stats {
    margin-top: 32px;
  }

  .nav-links {
    padding: 80px 24px 24px;
    overflow-y: auto;
  }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .logo-img,
  .project-thumb img {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
