/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-200: #bae6fd;
  --primary-300: #7dd3fc;
  --primary-400: #38bdf8;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --primary-800: #075985;
  --primary-900: #0c4a6e;
  --primary-950: #082f49;
}

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: #111827;
  background: #fff;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  letter-spacing: -0.03em;
  font-weight: 900;
}

a { text-decoration: none; color: inherit; }
img, video { max-width: 100%; display: block; }

/* ===== UTILITIES ===== */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }

.glass {
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2);
  box-shadow: 0 8px 32px 0 rgba(31,38,135,0.07);
}

.gradient-text {
  background: linear-gradient(to right, var(--primary-600), #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes fade-in-up {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-20px); }
}
@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .5; } }

.animate-fade-in-up { animation: fade-in-up 0.8s cubic-bezier(0.16,1,0.3,1) both; }
.animate-fade-in    { animation: fade-in 0.6s ease-out both; }
.animate-ping       { animation: ping 1s cubic-bezier(0,0,0.2,1) infinite; }
.animate-bounce     { animation: bounce 1s infinite; }
.animate-pulse      { animation: pulse 2s cubic-bezier(0.4,0,0.6,1) infinite; }

/* ===== NAVBAR ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #f3f4f6;
  height: 80px; transition: all 0.3s;
}
#navbar.scrolled { height: 64px; box-shadow: 0 4px 12px rgba(0,0,0,0.08); }
#navbar .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%; position: relative;
}
#navbar .logo img { height: 56px; width: auto; object-fit: contain; transition: transform 0.3s; }
#navbar .logo:hover img { transform: scale(1.05); }

/* Desktop nav */
.nav-links { display: flex; align-items: center; gap: 2.5rem; list-style: none; }
.nav-links a, .nav-links button {
  font-weight: 700; color: #4b5563; font-size: 0.875rem; letter-spacing: 0.05em;
  background: none; border: none; cursor: pointer; transition: color 0.2s;
  display: flex; align-items: center; gap: 4px; padding: 8px 0;
}
.nav-links a:hover, .nav-links button:hover { color: var(--primary-600); }

/* Dropdown */
.nav-item { position: relative; }
.dropdown {
  position: absolute; left: 0; top: calc(100% + 8px);
  width: 192px; background: #fff; border-radius: 1rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12); border: 1px solid #f3f4f6;
  padding: 8px 0; opacity: 0; visibility: hidden;
  transform: translateY(-8px); transition: all 0.3s;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a {
  display: block; padding: 8px 16px; font-size: 0.875rem; font-weight: 600;
  color: #374151; transition: all 0.2s;
}
.dropdown a:hover { background: var(--primary-50); color: var(--primary-600); }

/* CTA Button */
.nav-cta {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 10px 24px; border-radius: 12px; font-size: 0.875rem; font-weight: 700;
  color: #fff; background: var(--primary-600);
  box-shadow: 0 8px 20px rgba(2,132,199,0.25); transition: all 0.3s;
}
.nav-cta:hover { background: var(--primary-700); box-shadow: 0 8px 24px rgba(2,132,199,0.35); }

/* Mobile menu button */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  align-items: center; width: 40px; height: 40px; gap: 6px;
  background: none; border: none; cursor: pointer;
}
.hamburger span {
  display: block; width: 24px; height: 2px; background: #111827; transition: all 0.3s; border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 6px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }

/* Mobile nav */
.mobile-nav {
  display: none; background: #fff; border-top: 1px solid #f3f4f6;
  position: fixed; top: 80px; left: 0; right: 0; z-index: 49;
  max-height: 0; overflow: hidden; transition: max-height 0.4s ease;
}
.mobile-nav.open { max-height: 600px; }
.mobile-nav ul { list-style: none; padding: 24px 16px; display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a, .mobile-nav .mobile-dropdown-btn {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; font-weight: 700; color: #1f2937; border-radius: 12px;
  background: none; border: none; cursor: pointer; width: 100%; font-size: 1rem;
  transition: background 0.2s;
}
.mobile-nav a:hover, .mobile-nav .mobile-dropdown-btn:hover { background: #f9fafb; color: var(--primary-600); }
.mobile-submenu { padding-left: 16px; max-height: 0; overflow: hidden; transition: max-height 0.3s; }
.mobile-submenu.open { max-height: 200px; }
.mobile-submenu a { color: #4b5563; font-weight: 600; padding: 10px 16px; }
.mobile-nav .mobile-cta {
  display: block; width: 100%; text-align: center;
  padding: 16px 24px; border-radius: 16px; font-size: 1rem; font-weight: 900;
  color: #fff; background: var(--primary-600); margin-top: 8px;
  box-shadow: 0 8px 24px rgba(2,132,199,0.2);
}

/* ===== HERO ===== */
#hero {
  position: relative; min-height: 100vh; display: flex;
  align-items: center; justify-content: center; overflow: hidden; padding-top: 80px;
}
.hero-bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: opacity 1s ease; opacity: 0;
}
.hero-bg-slide.active { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(17,24,39,0.9), rgba(17,24,39,0.7));
  z-index: 1;
}
.hero-grid-pattern {
  position: absolute; inset: 0; z-index: 2; opacity: 0.2;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMC41IiBvcGFjaXR5PSIwLjEiLz48L3BhdHRlcm4+PC9kZWZzPjxyZWN0IHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JpZCkiLz48L3N2Zz4=");
}
.hero-content { position: relative; z-index: 3; }
.hero-content h1 { font-size: 3.5rem; color: #fff; line-height: 1.2; font-weight: 700; }
.hero-content h1 span {
  background: linear-gradient(to right, var(--primary-400), var(--primary-600));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-content p { font-size: 1.125rem; color: #d1d5db; max-width: 640px; margin-top: 1rem; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 2rem; }
.btn-primary {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 40px; border-radius: 16px; font-size: 1.125rem; font-weight: 900;
  color: #fff; background: var(--primary-600);
  box-shadow: 0 20px 40px rgba(2,132,199,0.2); transition: all 0.3s;
}
.btn-primary:hover { background: var(--primary-700); transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 18px 40px; border-radius: 16px; font-size: 1.125rem; font-weight: 900;
  color: #fff; border: 2px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05); backdrop-filter: blur(8px); transition: all 0.3s;
}
.btn-outline:hover { background: rgba(255,255,255,0.15); transform: translateY(-2px); }
.scroll-indicator {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 10;
}
.scroll-indicator .wheel {
  width: 24px; height: 40px; border: 2px solid rgba(255,255,255,0.3);
  border-radius: 12px; display: flex; justify-content: center;
}
.scroll-indicator .dot {
  width: 4px; height: 12px; background: #fff; border-radius: 4px; margin-top: 8px;
  animation: bounce 1s infinite;
}

/* ===== SECTION SHARED ===== */
.section { padding: 6rem 0; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 12px; margin-bottom: 1.5rem;
  font-size: 11px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #2563eb; background: rgba(239,246,255,0.5); border-radius: 99px;
  border: 1px solid rgba(219,234,254,0.5);
}
.ping-dot { position: relative; display: flex; height: 8px; width: 8px; }
.ping-dot::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: #60a5fa; animation: ping 1s cubic-bezier(0,0,0.2,1) infinite;
}
.ping-dot::after {
  content: ''; position: relative; display: inline-flex; border-radius: 50%;
  height: 8px; width: 8px; background: #3b82f6;
}

/* ===== SERVICES OVERVIEW ===== */
#services { background: #fff; position: relative; overflow: hidden; }
.services-ambient {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 600px;
  background: rgba(219,234,254,0.3); border-radius: 50%; filter: blur(120px);
  pointer-events: none;
}
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem; margin-top: 1rem;
}
.service-card {
  background: rgba(248,250,252,0.5); border-radius: 32px; padding: 6px;
  border: 1px solid rgba(226,232,240,0.6); transition: all 0.7s; display: block;
}
.service-card:hover { box-shadow: 0 32px 64px rgba(0,0,0,0.12); }
.service-card-inner {
  background: #fff; border-radius: 26px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04); height: 440px;
  display: flex; flex-direction: column; transition: all 0.7s;
}
.service-card:hover .service-card-inner { box-shadow: 0 32px 64px rgba(0,0,0,0.12); }
.service-media { position: relative; height: 50%; overflow: hidden; background: #f1f5f9; }
.service-media video, .service-media img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.05); transition: transform 1s ease-out;
}
.service-card:hover .service-media video,
.service-card:hover .service-media img { transform: scale(1.1); }
.service-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, #fff, transparent); opacity: 0.6;
}
.service-icon-badge {
  position: absolute; top: 24px; left: 24px;
  width: 48px; height: 48px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.8); backdrop-filter: blur(8px);
  border-radius: 18px; border: 1px solid rgba(255,255,255,0.4);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1); transition: all 0.5s;
}
.service-card:hover .service-icon-badge { transform: scale(1.1) rotate(8deg); }
.service-icon-badge svg { width: 24px; height: 24px; color: #1e293b; stroke: #1e293b; }
.service-text { padding: 2rem; display: flex; flex-direction: column; flex: 1; }
.service-text h3 { font-size: 1.5rem; color: #0f172a; margin-bottom: 0.5rem; transition: color 0.3s; }
.service-card:hover .service-text h3 { color: #2563eb; }
.service-text p { color: #64748b; line-height: 1.6; font-weight: 500; font-size: 0.95rem; }
.service-card-footer { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 1rem; }
.service-dive { font-size: 10px; font-weight: 900; letter-spacing: 0.2em; color: #94a3b8; text-transform: uppercase; display: flex; align-items: center; gap: 8px; }
.service-dive .line { width: 32px; height: 1px; background: #e2e8f0; transition: all 0.5s; }
.service-card:hover .service-dive { color: #2563eb; }
.service-card:hover .service-dive .line { width: 48px; background: #2563eb; }
.service-arrow {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; background: #f8fafc; border: 1px solid #f1f5f9;
  color: #94a3b8; transition: all 0.5s;
}
.service-card:hover .service-arrow { background: #2563eb; border-color: #2563eb; color: #fff; }
.service-bottom-line {
  position: absolute; bottom: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
  transform: scaleX(0); opacity: 0; transition: all 0.7s;
}
.service-card:hover .service-bottom-line { transform: scaleX(0.95); opacity: 1; }

/* ===== PROJECTS ===== */
#projects { background: #f9fafb; border-top: 1px solid #f3f4f6; }
.projects-header { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 2rem; margin-bottom: 4rem; }
.projects-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }
.project-card {
  display: flex; flex-direction: column; background: #fff; border-radius: 24px;
  overflow: hidden; border: 1px solid #f3f4f6;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: all 0.5s;
}
.project-card:hover { box-shadow: 0 20px 48px rgba(0,0,0,0.12); transform: translateY(-2px); }
.project-img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.project-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s; }
.project-card:hover .project-img img { transform: scale(1.1); }
.project-badge {
  position: absolute; top: 16px; right: 16px;
  padding: 4px 12px; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  border-radius: 99px; font-size: 10px; font-weight: 900; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--primary-600); border: 1px solid #f3f4f6;
}
.project-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.project-body h3 { font-size: 1.125rem; color: #111827; margin-bottom: 0.5rem; transition: color 0.3s; }
.project-card:hover .project-body h3 { color: var(--primary-600); }
.project-body p { font-size: 0.875rem; color: #4b5563; line-height: 1.6; font-style: italic; flex: 1; margin-bottom: 1.5rem; }
.project-link {
  display: flex; align-items: center; font-size: 0.875rem; font-weight: 900; color: #111827;
  border-top: 1px solid #f9fafb; padding-top: 1rem; margin-top: auto; transition: color 0.3s;
}
.project-card:hover .project-link { color: var(--primary-600); }
.project-link span { opacity: 0; margin-left: 8px; transition: all 0.3s; color: var(--primary-600); }
.project-card:hover .project-link span { opacity: 1; transform: translateX(4px); }

/* ===== HENCAFE HOME ===== */
#hencafe-home { background: #fff; overflow: hidden; }
.hencafe-box {
  position: relative; background: var(--primary-900); border-radius: 3rem;
  padding: 5rem; overflow: hidden; box-shadow: 0 32px 80px rgba(0,0,0,0.3);
}
.hencafe-pattern {
  position: absolute; inset: 0; opacity: 0.1;
  background-image: url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAiIGhlaWdodD0iNjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PHBhdHRlcm4gaWQ9ImdyaWQiIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSI+PHBhdGggZD0iTSAxMCAwIEwgMCAwIDAgMTAiIGZpbGw9Im5vbmUiIHN0cm9rZT0id2hpdGUiIHN0cm9rZS13aWR0aD0iMC41Ii8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2dyaWQpIi8+PC9zdmc+");
}
.hencafe-content { display: flex; flex-wrap: wrap; align-items: center; gap: 3rem; position: relative; z-index: 1; }
.hencafe-text { flex: 1; min-width: 300px; color: #fff; }
.hencafe-badge {
  display: inline-flex; padding: 8px 16px; border-radius: 99px;
  background: rgba(14,165,233,0.2); border: 1px solid rgba(14,165,233,0.3);
  color: #7dd3fc; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.5rem;
}
.hencafe-text h2 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 1rem; }
.hencafe-text h2 span { color: var(--primary-400); }
.hencafe-text p { font-size: 1.125rem; color: #bae6fd; opacity: 0.9; max-width: 480px; margin-bottom: 2rem; }
.hencafe-features { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-bottom: 2rem; }
.hencafe-feature { display: flex; align-items: flex-start; gap: 1rem; }
.hencafe-feature-icon {
  width: 40px; height: 40px; background: rgba(255,255,255,0.1);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; border: 1px solid rgba(255,255,255,0.2);
}
.hencafe-feature-icon svg { width: 24px; height: 24px; stroke: var(--primary-400); }
.hencafe-feature h4 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.hencafe-feature p { font-size: 0.875rem; color: #bae6fd; }
.hencafe-btns { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-top: 1.5rem; }
.btn-hencafe-primary {
  padding: 16px 32px; background: var(--primary-500); color: #fff;
  border-radius: 16px; font-weight: 900; transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(14,165,233,0.3);
}
.btn-hencafe-primary:hover { background: var(--primary-400); transform: translateY(-2px); }
.btn-hencafe-outline {
  padding: 16px 32px; background: rgba(255,255,255,0.1); color: #fff;
  border: 2px solid rgba(255,255,255,0.2); border-radius: 16px; font-weight: 900;
  backdrop-filter: blur(8px); transition: all 0.3s;
}
.btn-hencafe-outline:hover { background: rgba(255,255,255,0.2); }
.hencafe-mockup { display: flex; justify-content: center; position: relative; }
.hencafe-phone {
  width: 256px; height: 500px; background: #111827; border-radius: 3rem;
  border: 8px solid #1f2937; box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  overflow: hidden; transform: rotate(-6deg); transition: transform 0.7s;
  position: relative;
}
.hencafe-phone:hover { transform: rotate(0deg); }
.hencafe-phone .notch {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 128px; height: 24px; background: #1f2937; border-radius: 0 0 16px 16px; z-index: 10;
}
.hencafe-phone img { width: 100%; height: 100%; object-fit: cover; }
.hencafe-glow {
  position: absolute; width: 320px; height: 320px;
  background: rgba(14,165,233,0.3); filter: blur(64px); border-radius: 50%; z-index: -1;
}

/* ===== ABOUT ===== */
#about { background: #fff; overflow: hidden; }
.about-intro { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; margin-bottom: 6rem; }
.about-intro-text { flex: 1; min-width: 300px; }
.about-intro-stats { flex: 1; min-width: 280px; display: flex; flex-direction: column; gap: 1.5rem; }
.stat-card {
  background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.2); box-shadow: 0 8px 32px rgba(31,38,135,0.07);
  padding: 2rem; border-radius: 2rem; transition: all 0.5s; cursor: default;
}
.stat-card:hover { border-color: var(--primary-200); }
.stat-value { font-size: 3rem; font-weight: 900; color: var(--primary-600); margin-bottom: 0.25rem; display: block; transition: transform 0.3s; transform-origin: left; }
.stat-card:hover .stat-value { transform: scale(1.1); }
.stat-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #6b7280; }
.about-mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 6rem; }
.mission-card {
  background: linear-gradient(135deg, var(--primary-600), #4338ca);
  padding: 2.5rem; border-radius: 2.5rem; color: #fff; position: relative; overflow: hidden;
}
.vision-card { background: #111827; padding: 2.5rem; border-radius: 2.5rem; color: #fff; position: relative; overflow: hidden; }
.mv-glow { position: absolute; width: 128px; height: 128px; border-radius: 50%; filter: blur(48px); }
.mission-card .mv-glow { top: 0; right: 0; background: rgba(255,255,255,0.1); margin: -64px; }
.vision-card .mv-glow { bottom: 0; left: 0; background: rgba(2,132,199,0.2); margin: -64px; }
.mv-icon { font-size: 1.5rem; background: rgba(255,255,255,0.2); width: 44px; height: 44px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; }
.mv-card h3 { font-size: 1.75rem; margin-bottom: 1rem; display: flex; align-items: center; }
.mission-card p { color: rgba(240,249,255,0.9); font-size: 1.125rem; line-height: 1.7; }
.vision-card p { color: #d1d5db; font-size: 1.125rem; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-bottom: 6rem; }
.value-card {
  padding: 2.5rem; border-radius: 2.5rem; background: #f9fafb;
  border: 1px solid transparent; transition: all 0.5s; text-align: left;
}
.value-card:hover { background: #fff; border-color: var(--primary-100); box-shadow: 0 20px 60px rgba(2,132,199,0.1); }
.value-icon {
  width: 56px; height: 56px; background: var(--primary-100); color: var(--primary-600);
  border-radius: 16px; display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.5rem; transition: transform 0.3s;
}
.value-card:hover .value-icon { transform: rotate(6deg); }
.value-icon svg { width: 24px; height: 24px; stroke: currentColor; }
.value-card h4 { font-size: 1.5rem; color: #111827; margin-bottom: 1rem; }
.value-card p { color: #4b5563; line-height: 1.7; }
.service-excellence { background: #f9fafb; border-radius: 3rem; padding: 5rem; margin-bottom: 6rem; }
.se-inner { display: flex; flex-wrap: wrap; gap: 4rem; }
.se-left { flex: 1; min-width: 300px; }
.se-right { flex: 1; min-width: 280px; position: relative; }
.se-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2rem; }
.se-item { display: flex; align-items: flex-start; gap: 1rem; }
.se-check { width: 24px; height: 24px; background: var(--primary-600); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.se-check svg { width: 12px; height: 12px; stroke: #fff; stroke-width: 3; }
.se-card { background: #fff; padding: 2rem; border-radius: 2rem; box-shadow: 0 20px 40px rgba(0,0,0,0.08); }
.se-card-shadow { position: absolute; bottom: -24px; right: -24px; width: 100%; height: 100%; background: rgba(2,132,199,0.05); border-radius: 2rem; z-index: -1; }
.se-card ul { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 1.5rem; }
.se-card li { display: flex; gap: 1rem; }
.se-card li span.emoji { font-size: 1.75rem; }
.about-cta { text-align: center; max-width: 768px; margin: 0 auto; padding: 3rem 0; }
.about-cta h3 { font-size: 2.5rem; color: #111827; margin-bottom: 1.5rem; }
.about-cta p { font-size: 1.125rem; color: #4b5563; line-height: 1.7; margin-bottom: 2.5rem; }
.btn-about-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px; background: var(--primary-600); color: #fff;
  border-radius: 16px; font-weight: 700; transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(2,132,199,0.2);
}
.btn-about-cta:hover { background: var(--primary-700); box-shadow: 0 8px 32px rgba(2,132,199,0.3); transform: translateY(-2px); }

/* ===== HOW WE WORK ===== */
#how-we-work { background: #fff; overflow: hidden; }
.hww-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3rem; position: relative; z-index: 1; }
.hww-timeline-line {
  position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  background: #f3f4f6; transform: translateY(-50%);
}
.hww-card {
  background: #fff; padding: 2rem; border-radius: 24px;
  border: 1px solid #f3f4f6; box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all 0.5s;
}
.hww-card:hover { box-shadow: 0 20px 60px rgba(0,0,0,0.12); }
.hww-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 1.5rem; }
.hww-icon { width: 56px; height: 56px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.75rem; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.hww-num { font-size: 2.5rem; font-weight: 900; color: #f3f4f6; transition: color 0.3s; }
.hww-card:hover .hww-num { color: var(--primary-50); }
.hww-card h3 { font-size: 1.375rem; color: #111827; margin-bottom: 1rem; transition: color 0.3s; }
.hww-card:hover h3 { color: var(--primary-600); }
.hww-card p { color: #4b5563; line-height: 1.7; font-style: italic; }
.hww-bar { display: flex; align-items: center; gap: 8px; margin-top: 2rem; }
.hww-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-500); flex-shrink: 0; }
.hww-bar .line { height: 2px; flex: 1; background: #f3f4f6; transition: background 0.5s; }
.hww-card:hover .hww-bar .line { background: var(--primary-500); }

/* ===== WHY CHOOSE US ===== */
#why-us { background: var(--primary-600); position: relative; overflow: hidden; }
.why-deco1 { position: absolute; top: 0; right: 0; width: 256px; height: 256px; background: rgba(255,255,255,0.05); border-radius: 50%; margin: -128px; }
.why-deco2 { position: absolute; bottom: 0; left: 0; width: 384px; height: 384px; background: rgba(0,0,0,0.05); border-radius: 50%; margin: -192px; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; position: relative; z-index: 1; }
.why-card {
  background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
  padding: 2rem; border-radius: 24px; border: 1px solid rgba(255,255,255,0.2);
  transition: all 0.5s;
}
.why-card:hover { background: rgba(255,255,255,0.2); }
.why-icon {
  width: 64px; height: 64px; background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  margin-bottom: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,0.15); transition: all 0.3s;
}
.why-card:hover .why-icon { transform: scale(1.1) rotate(3deg); }
.why-card h3 { font-size: 1.125rem; font-weight: 900; color: #fff; margin-bottom: 1rem; }
.why-card p { color: #e0f2fe; line-height: 1.7; font-weight: 500; }

/* ===== CONTACT ===== */
#contact { background: #fff; position: relative; overflow: hidden; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-heading { font-size: 2.75rem; font-weight: 900; color: #111827; line-height: 1.2; margin-bottom: 1rem; }
.contact-heading span { color: var(--primary-600); font-style: italic; }
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.contact-info-item {
  display: flex; align-items: center; gap: 1.5rem; padding: 1.5rem;
  border-radius: 2rem; background: rgba(249,250,251,0.5); border: 1px solid #f3f4f6;
  transition: all 0.5s;
}
.contact-info-item:hover { border-color: var(--primary-100); background: #fff; box-shadow: 0 16px 48px rgba(2,132,199,0.1); }
.contact-info-icon {
  width: 64px; height: 64px; background: #fff; border-radius: 16px;
  display: flex; align-items: center; justify-content: center; font-size: 1.75rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06); flex-shrink: 0; ring: 1px solid #f3f4f6;
  transition: transform 0.5s;
}
.contact-info-item:hover .contact-info-icon { transform: scale(1.1); }
.contact-info-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: 0.2em; color: rgba(2,132,199,0.6); margin-bottom: 4px; }
.contact-info-value { font-size: 0.875rem; font-weight: 700; color: #374151; }
.contact-form-wrap {
  background: #fff; padding: 3rem; border-radius: 2.5rem;
  box-shadow: 0 32px 64px rgba(0,0,0,0.1); border: 1px solid #f3f4f6; position: relative;
}
.contact-form-wrap form { display: flex; flex-direction: column; gap: 1.5rem; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.875rem; font-weight: 700; color: #374151; }
.form-group input, .form-group textarea {
  width: 100%; padding: 16px 24px; background: #f9fafb;
  border: 1px solid #f3f4f6; border-radius: 16px; font-family: 'Inter', sans-serif;
  font-size: 0.95rem; font-weight: 500; outline: none; transition: all 0.3s;
  resize: none; color: #111827;
}
.form-group input:focus, .form-group textarea:focus {
  background: #fff; border-color: transparent;
  box-shadow: 0 0 0 4px rgba(2,132,199,0.1);
}
.submit-btn {
  width: 100%; padding: 20px; background: var(--primary-600); color: #fff;
  font-weight: 900; font-size: 1rem; border: none; border-radius: 16px; cursor: pointer;
  box-shadow: 0 8px 24px rgba(2,132,199,0.3); transition: all 0.3s; margin-top: 1rem;
}
.submit-btn:hover { background: var(--primary-700); box-shadow: none; transform: translateY(2px); }
.form-note { font-size: 0.75rem; text-align: center; color: #9ca3af; font-weight: 500; }
.success-overlay {
  position: absolute; inset: 0; background: rgba(255,255,255,0.9); backdrop-filter: blur(8px);
  z-index: 20; display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 2rem; border-radius: 2.5rem;
}
.success-overlay.show { display: flex; }
.success-icon { width: 80px; height: 80px; background: #d1fae5; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: #059669; margin-bottom: 1.5rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }

/* ===== FOOTER ===== */
footer { background: #030712; color: #fff; padding: 6rem 0; position: relative; overflow: hidden; }
.footer-top-line {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(to right, transparent, rgba(14,165,233,0.5), transparent);
}
.footer-glow {
  position: absolute; top: -96px; left: -96px; width: 384px; height: 384px;
  background: rgba(2,132,199,0.1); border-radius: 50%; filter: blur(120px);
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 4rem; margin-bottom: 5rem; }
.footer-brand p { color: #6b7280; line-height: 1.7; font-size: 1.125rem; margin-top: 1.5rem; margin-bottom: 2rem; }
.footer-brand img { height: 48px; width: auto; object-fit: contain; transition: transform 0.3s; }
.footer-brand a:hover img { transform: scale(1.05); }
.social-icons { display: flex; gap: 1rem; }
.social-icon {
  width: 48px; height: 48px; border-radius: 16px; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1); display: flex; align-items: center; justify-content: center;
  color: #6b7280; transition: all 0.3s; position: relative;
}
.social-icon:hover { background: var(--primary-600); border-color: var(--primary-600); color: #fff; }
.social-icon svg { width: 20px; height: 20px; stroke: currentColor; }
.footer-col h4 { font-size: 1.125rem; font-weight: 700; color: #fff; margin-bottom: 2.5rem; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 1.25rem; }
.footer-col ul a {
  color: #6b7280; transition: all 0.3s; display: flex; align-items: center; gap: 12px; font-size: 1rem;
}
.footer-col ul a:hover { color: #fff; }
.footer-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--primary-500); transform: scale(0); transition: transform 0.3s; flex-shrink: 0; }
.footer-col ul a:hover .footer-dot { transform: scale(1); }
.footer-reach li { display: flex; gap: 1rem; color: #6b7280; align-items: flex-start; font-size: 1rem; }
.footer-reach .reach-icon { color: var(--primary-500); font-size: 1.25rem; flex-shrink: 0; }
.footer-app-link {
  display: inline-flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
  padding: 1rem; border-radius: 16px; transition: all 0.3s; margin-top: 1.5rem;
}
.footer-app-link:hover { background: rgba(255,255,255,0.1); }
.footer-app-icon {
  width: 40px; height: 40px; background: var(--primary-600); border-radius: 12px;
  display: flex; align-items: center; justify-content: center; font-size: 1.25rem; transition: transform 0.3s;
}
.footer-app-link:hover .footer-app-icon { transform: scale(1.1); }
.footer-app-text-label { font-size: 10px; text-transform: uppercase; font-weight: 700; color: #6b7280; }
.footer-app-text-store { font-size: 1.125rem; font-weight: 900; color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.05); padding-top: 3rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 2rem; }
.footer-bottom p { color: #4b5563; font-weight: 500; }
.footer-bottom-links { display: flex; gap: 2.5rem; }
.footer-bottom-links a { font-size: 0.875rem; font-weight: 700; color: #4b5563; transition: color 0.3s; }
.footer-bottom-links a:hover { color: var(--primary-400); }

/* ===== SECTION HEADINGS ===== */
.section-heading { font-size: 3rem; font-weight: 700; color: #0f172a; margin-bottom: 1.5rem; line-height: 1.15; }
.section-sub { font-size: 1.125rem; color: #64748b; max-width: 640px; line-height: 1.7; font-weight: 500; }
.section-divider { width: 96px; height: 6px; background: var(--primary-600); border-radius: 99px; margin: 1rem auto 0; }
.view-all { display: inline-flex; align-items: center; gap: 8px; color: var(--primary-600); font-weight: 700; transition: color 0.2s; }
.view-all:hover { color: var(--primary-700); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .about-mv-grid { grid-template-columns: 1fr; }
  .hww-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .hencafe-phone { width: 200px; height: 400px; }
}
@media (max-width: 768px) {
  .hero-content h1 { font-size: 2.25rem; }
  .services-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .hww-grid { grid-template-columns: 1fr; }
  .about-mv-grid { grid-template-columns: 1fr; }
  .hencafe-box { padding: 2.5rem; }
  .hencafe-text h2 { font-size: 2.5rem; }
  .hencafe-features { grid-template-columns: 1fr; }
  .service-excellence { padding: 2.5rem; }
  .section-heading { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .se-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .projects-grid { grid-template-columns: 1fr; }
  .section { padding: 4rem 0; }
  .hencafe-mockup { display: none; }
}
