/* =====================================================
   KaiTech PNG — Portfolio Website Styles
   Theme: Dark Navy (#1a1a2e) + Red (#e63946) + White
   ===================================================== */

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

:root {
  --red:       #e63946;
  --red-dark:  #c1121f;
  --navy:      #1a1a2e;
  --navy-mid:  #16213e;
  --navy-light:#0f3460;
  --white:     #ffffff;
  --off-white: #f8f9fa;
  --gray:      #6b7280;
  --gray-light:#e5e7eb;
  --font:      'Inter', sans-serif;
  --radius:    12px;
  --radius-lg: 20px;
  --shadow:    0 4px 24px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.18);
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* =====================================================
   NAVBAR
   ===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: rgba(26,26,46,0.97);
  backdrop-filter: blur(12px);
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(26,26,46,0.99);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
  padding: 10px 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 44px; width: auto; border-radius: 6px; }

.logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  line-height: 1;
}
.logo-kai { color: var(--red); }
.logo-png { color: var(--white); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-links li a {
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
}
.nav-links li a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-links li a.btn-nav {
  background: var(--red);
  color: var(--white);
  padding: 8px 20px;
  border-radius: 8px;
}
.nav-links li a.btn-nav:hover { background: var(--red-dark); }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0d1b2a 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.06;
}
.s1 {
  width: 600px; height: 600px;
  background: var(--red);
  top: -150px; right: -150px;
  animation: float 8s ease-in-out infinite;
}
.s2 {
  width: 400px; height: 400px;
  background: var(--red);
  bottom: -100px; left: -100px;
  animation: float 10s ease-in-out infinite reverse;
}
.s3 {
  width: 200px; height: 200px;
  background: white;
  top: 40%; left: 30%;
  animation: float 6s ease-in-out infinite;
}

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

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

.badge {
  display: inline-block;
  background: rgba(230,57,70,0.15);
  border: 1px solid rgba(230,57,70,0.4);
  color: #ff8a92;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.hero-text h1 .highlight { color: var(--red); }

.hero-text p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid var(--red);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-primary:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(230,57,70,0.4); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}
.btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); transform: translateY(-2px); }

.hero-stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num  { font-size: 2rem; font-weight: 900; color: var(--red); line-height: 1; }
.stat-label{ font-size: 0.8rem; color: rgba(255,255,255,0.6); font-weight: 500; margin-top: 4px; }

/* Hero Visual */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  position: relative;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.hero-logo {
  width: 260px;
  height: auto;
  filter: brightness(0) invert(1);
  animation: pulse 3s ease-in-out infinite;
}
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }

.floating-tag {
  position: absolute;
  background: var(--white);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 100px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: var(--shadow);
  white-space: nowrap;
  animation: floatTag 4s ease-in-out infinite;
}
.floating-tag i { color: var(--red); }
.t1 { top: -14px; left: 20px; animation-delay: 0s; }
.t2 { top: 50%; right: -20px; transform: translateY(-50%); animation-delay: 1.3s; }
.t3 { bottom: -14px; left: 40px; animation-delay: 2.6s; }
@keyframes floatTag { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.t2 { animation-name: floatTag2; }
@keyframes floatTag2 { 0%,100% { transform: translateY(-50%); } 50% { transform: translateY(calc(-50% - 6px)); } }

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(255,255,255,0.4);
  border-bottom: 2px solid rgba(255,255,255,0.4);
  transform: rotate(45deg);
  animation: bounce 1.5s ease-in-out infinite;
}
@keyframes bounce { 0%,100% { transform: rotate(45deg) translateY(0); } 50% { transform: rotate(45deg) translateY(5px); } }

/* =====================================================
   COMMON SECTION STYLES
   ===================================================== */
.section { padding: 96px 0; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}
.section-header.light * { color: var(--white) !important; }
.section-header.light p { opacity: 0.75; }

.section-tag {
  display: inline-block;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--red);
  margin-bottom: 12px;
}
.section-tag.light { color: rgba(255,255,255,0.7); }

.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--gray);
}

/* =====================================================
   ABOUT
   ===================================================== */
.about-section { background: var(--off-white); }

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  border-bottom: 4px solid transparent;
}
.about-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-bottom-color: var(--red); }

.about-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
  color: var(--white);
}

.about-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; color: var(--navy); }
.about-card p  { font-size: 0.95rem; color: var(--gray); line-height: 1.7; }

/* =====================================================
   SERVICES
   ===================================================== */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--red); }
.service-card.featured {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.1), var(--shadow);
}

.service-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}

.service-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}
.service-icon.red  { background: rgba(230,57,70,0.12); color: var(--red); }
.service-icon.dark { background: rgba(26,26,46,0.1); color: var(--navy); }

.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: var(--navy); }
.service-card  p { font-size: 0.9rem; color: var(--gray); margin-bottom: 18px; line-height: 1.6; }

.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  color: var(--navy);
}
.service-list li .fa-check { color: var(--red); font-size: 0.75rem; }

/* =====================================================
   PORTFOLIO
   ===================================================== */
.portfolio-section { background: var(--off-white); }

.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.filter-btn {
  background: var(--white);
  border: 2px solid var(--gray-light);
  color: var(--gray);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}
.filter-btn:hover, .filter-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  align-items: stretch;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}
.portfolio-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.portfolio-card.hidden { display: none; }

/* ── Browser Frame ── */
.browser-frame {
  background: #f1f3f5;
  border-bottom: 1px solid var(--gray-light);
  flex-shrink: 0;
}
.browser-bar {
  background: #e9ecef;
  padding: 9px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #dee2e6;
}
.browser-dots {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot.red    { background: #e63946; }
.dot.yellow { background: #f59e0b; }
.dot.green  { background: #10b981; }
.browser-url {
  flex: 1;
  background: var(--white);
  border: 1px solid #dee2e6;
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 0.72rem;
  color: var(--gray);
  font-family: var(--font);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.browser-screen {
  width: 100%;
  height: 210px;
  overflow: hidden;
  display: block;
  background: var(--navy);
}
.browser-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
  transition: transform 0.6s ease;
}
.portfolio-card:hover .browser-screen img {
  transform: scale(1.03);
}

.port-img {
  position: relative;
  height: 200px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.port-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
  font-size: 1.5rem;
  color: var(--white);
  cursor: pointer;
}
.portfolio-card:hover .port-overlay { opacity: 1; }

/* Browser Mockup */
.port-mock {
  width: 85%;
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.2);
}
.mock-bar {
  background: rgba(0,0,0,0.3);
  padding: 8px 12px;
  display: flex;
  gap: 5px;
  align-items: center;
}
.mock-bar span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
}
.mock-bar span:first-child { background: #e63946; }
.mock-bar span:nth-child(2) { background: #f59e0b; }
.mock-bar span:last-child  { background: #10b981; }
.mock-content { padding: 16px; display: flex; flex-direction: column; gap: 8px; }
.mock-line {
  height: 8px;
  background: rgba(255,255,255,0.25);
  border-radius: 4px;
}
.mock-line.short { width: 60%; }
.mock-block {
  height: 60px;
  background: rgba(255,255,255,0.1);
  border-radius: 4px;
  margin-top: 4px;
}

.port-info {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.port-tag {
  display: inline-block;
  background: rgba(230,57,70,0.1);
  color: var(--red);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  align-self: flex-start;
}
.port-tag.ecom   { background: rgba(16,185,129,0.1);  color: #059669; }
.port-tag.custom { background: rgba(26,26,46,0.08);   color: var(--navy); }
.port-tag.iot    { background: rgba(14,165,233,0.12); color: #0369a1; }
.port-tag.saas   { background: rgba(124,58,237,0.1);  color: #6d28d9; }
.port-tag.erp    { background: rgba(234,88,12,0.1);   color: #c2410c; }

.port-info h4 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; color: var(--navy); line-height: 1.35; }
.port-info p  { font-size: 0.875rem; color: var(--gray); line-height: 1.65; margin-bottom: 14px; flex: 1; }

.port-tech { display: flex; gap: 6px; flex-wrap: wrap; }
.port-tech span {
  background: var(--off-white);
  border: 1px solid var(--gray-light);
  color: var(--gray);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 6px;
}

/* =====================================================
   WHY US
   ===================================================== */
.whyus-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.whyus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 72px;
}

.why-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  color: var(--white);
  transition: transform var(--transition), background var(--transition);
}
.why-card:hover { transform: translateY(-6px); background: rgba(255,255,255,0.08); }
.why-card.center-card { border-color: var(--red); background: rgba(230,57,70,0.1); }

.why-icon {
  width: 64px; height: 64px;
  background: rgba(255,255,255,0.08);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: rgba(255,255,255,0.7);
  margin: 0 auto 20px;
}
.why-icon.star { background: rgba(230,57,70,0.2); color: var(--red); }

.why-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.why-card p  { font-size: 0.92rem; color: rgba(255,255,255,0.65); line-height: 1.6; margin-bottom: 18px; }

.why-highlight {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
}

/* Process */
.process-section { text-align: center; }
.process-title { font-size: 1.6rem; font-weight: 800; color: var(--white); margin-bottom: 40px; }

.process-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}
.step {
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  width: 180px;
  text-align: center;
  color: var(--white);
  position: relative;
}
.step-num {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step-icon { font-size: 1.8rem; margin-bottom: 12px; color: var(--red); }
.step h4   { font-size: 0.95rem; font-weight: 700; margin-bottom: 8px; }
.step p    { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.5; }

.step-arrow {
  padding: 0 12px;
  color: rgba(255,255,255,0.3);
  font-size: 1.2rem;
}

/* =====================================================
   TESTIMONIALS
   ===================================================== */
.testimonials-section { background: var(--white); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--gray-light);
  transition: transform var(--transition), box-shadow var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-card.featured-testimonial {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.testimonial-card.featured-testimonial p { color: rgba(255,255,255,0.8); }

.stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; display: flex; gap: 3px; }
.testimonial-card p { font-size: 0.95rem; line-height: 1.7; color: var(--gray); margin-bottom: 24px; font-style: italic; }

.client-info { display: flex; align-items: center; gap: 12px; }
.client-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.client-info strong { display: block; font-size: 0.95rem; font-weight: 700; }
.client-info span   { font-size: 0.8rem; color: var(--gray); }
.featured-testimonial .client-info span { color: rgba(255,255,255,0.5); }
.featured-testimonial strong { color: var(--white); }

/* =====================================================
   CONTACT
   ===================================================== */
.contact-section { background: var(--off-white); }

.contact-grid {
  display: flex;
  justify-content: center;
}

.contact-info { max-width: 600px; width: 100%; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 28px; color: var(--navy); }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 22px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(230,57,70,0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
.contact-item span   { font-size: 0.9rem; color: var(--gray); }

.social-links { display: flex; gap: 10px; margin-top: 28px; }
.social-btn {
  width: 42px; height: 42px;
  background: var(--navy);
  color: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: background var(--transition), transform var(--transition);
}
.social-btn:hover { background: var(--red); transform: translateY(-2px); }
.social-btn.small { width: 36px; height: 36px; font-size: 0.85rem; }

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full, .form-group:only-child { grid-column: 1 / -1; }

.form-group label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-family: var(--font);
  color: var(--navy);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #adb5bd; }

.form-group.full { margin-top: 0; }

.full-btn { width: 100%; justify-content: center; margin-top: 8px; }

.form-success {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: #065f46;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 14px;
}
.form-success.hidden { display: none; }
.form-success .fa-check-circle { color: #10b981; font-size: 1.1rem; }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  padding: 72px 0 40px;
}

.footer-logo { height: 44px; width: auto; border-radius: 6px; margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.6; margin-bottom: 20px; }

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.footer-links ul li { margin-bottom: 10px; }
.footer-links ul li a {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links ul li a:hover { color: var(--red); }

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  color: rgba(255,255,255,0.6);
}
.footer-contact i { color: var(--red); width: 16px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.4);
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px; height: 44px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(230,57,70,0.4);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 900;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover   { background: var(--red-dark); }

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1024px) {
  .services-grid    { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid   { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-inner     { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: 72%;
    max-width: 300px;
    height: 100vh;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 80px 24px 40px;
    gap: 4px;
    transition: right var(--transition);
    box-shadow: -4px 0 24px rgba(0,0,0,0.3);
    z-index: 999;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; }
  .nav-links li a { display: block; width: 100%; padding: 12px 16px; font-size: 1rem; }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
    padding-top: 120px;
  }
  .hero-actions { justify-content: center; }
  .hero-stats   { justify-content: center; }
  .hero-text p  { margin-left: auto; margin-right: auto; }

  .hero-visual { display: none; }

  .about-grid        { grid-template-columns: 1fr; }
  .services-grid     { grid-template-columns: 1fr; }
  .portfolio-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .whyus-grid        { grid-template-columns: 1fr; }
  .contact-grid      { grid-template-columns: 1fr; }
  .footer-inner      { grid-template-columns: 1fr; gap: 28px; }

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

  .process-steps { flex-direction: column; align-items: center; gap: 24px; }
  .step-arrow { transform: rotate(90deg); }
  .step { width: 100%; max-width: 300px; }

  .section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .hero-text h1 { font-size: 2rem; }
  .hero-stats   { gap: 20px; }
  .contact-form { padding: 24px; }
  .section-header h2 { font-size: 1.6rem; }
}
