/* ================================================
   KENFILL Techno Solutions — Main Stylesheet
   ================================================ */

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

:root {
  --primary:   #0a3d91;
  --primary-dark: #072d6e;
  --accent:    #f5a623;
  --accent-dark: #d4891a;
  --text:      #333333;
  --text-light:#666666;
  --white:     #ffffff;
  --bg-light:  #f4f7fb;
  --border:    #e0e7f0;
  --shadow:    0 4px 24px rgba(10,61,145,.10);
  --radius:    10px;
  --transition: .3s ease;
  --font:      'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

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

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

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

.section-padding { padding: 90px 0; }
.bg-light { background: var(--bg-light); }
.mt-20 { margin-top: 20px; }
.center { text-align: center; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245,166,35,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* ---- Section Labels ---- */
.section-tag {
  display: inline-block;
  background: rgba(10,61,145,.08);
  color: var(--primary);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-sub {
  color: var(--text-light);
  max-width: 580px;
  margin-bottom: 48px;
}

/* ================================================
   HEADER / NAVBAR
   ================================================ */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
  padding: 18px 0;
}
#header.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
  padding: 10px 0;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-img {
  height: 75px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: none;
}
#header.scrolled .logo-img {
  height: 75px;
}
.logo-ken  { font-size: 1.5rem; font-weight: 800; color: var(--white); }
.logo-fill { font-size: 1.5rem; font-weight: 800; color: var(--accent); display: inline; }
.logo-ken + .logo-fill { display: inline; }
.logo-sub  { font-size: .6rem; font-weight: 500; color: rgba(255,255,255,.7); letter-spacing: 1.5px; text-transform: uppercase; }
#header.scrolled .logo-ken  { color: var(--primary); }
#header.scrolled .logo-sub  { color: var(--text-light); }

/* Nav links */
.nav-menu ul {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-menu > ul > li { position: relative; }
.nav-link {
  padding: 8px 14px;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .5px;
  color: var(--white);
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
#header.scrolled .nav-link { color: var(--text); }
.nav-link:hover,
.nav-link.active {
  color: var(--accent) !important;
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 220px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 100;
}
.nav-menu > ul > li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li a {
  display: block;
  padding: 10px 20px;
  font-size: .85rem;
  color: var(--text);
  transition: var(--transition);
}
.dropdown li a:hover {
  background: var(--bg-light);
  color: var(--primary);
  padding-left: 26px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
#header.scrolled .hamburger span { background: var(--text); }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  background-image: url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255,255,255,.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,.08) 0%, transparent 40%);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,145,.88) 0%, rgba(21,101,192,.80) 50%, rgba(13,71,161,.88) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 24px;
  animation: fadeInUp .9s ease;
}
.hero-tag {
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  display: block;
}
.hero-content h1 {
  font-size: clamp(2.5rem, 7vw, 5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 36px;
  text-transform: uppercase;
}
.hero-content h1 span { color: var(--accent); }
.hero-subtitle {
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,.72);
  font-weight: 300;
  max-width: 580px;
  margin: -10px auto 32px;
  line-height: 1.6;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll a {
  color: rgba(255,255,255,.6);
  font-size: 1.2rem;
  animation: bounce 2s infinite;
  display: block;
}

/* ================================================
   ABOUT
   ================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: center;
}
.about-img-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-img-inner {
  width: 340px;
  height: 380px;
  border-radius: 20px 80px 20px 80px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(10,61,145,.22);
}
.about-img-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.about-image:hover .about-img-inner img { transform: scale(1.05); }
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 14px;
  padding: 18px 22px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245,166,35,.4);
}
.badge-num  { display: block; font-size: 2rem; font-weight: 800; line-height: 1; }
.badge-text { font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

.about-content h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.3;
}
.about-content h2 span { color: var(--primary); }
.about-content p { color: var(--text-light); margin-bottom: 14px; }

.about-stats {
  display: flex;
  gap: 32px;
  margin: 28px 0;
  padding: 24px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-num   { display: block; font-size: 1.8rem; font-weight: 800; color: var(--primary); }
.stat-label { font-size: .75rem; font-weight: 600; text-transform: uppercase; color: var(--text-light); letter-spacing: 1px; }

/* ================================================
   SERVICES
   ================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 16px 40px rgba(10,61,145,.15); }
.service-card:hover::before { transform: scaleX(1); }
.service-num {
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
  background: var(--primary);
  position: absolute;
  top: 130px; right: 18px;
  line-height: 1;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  letter-spacing: .5px;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--primary), #1565c0);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--white);
  margin-bottom: 20px;
}
.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text);
}
.service-card p {
  font-size: .875rem;
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.65;
}
.service-card-img {
  width: calc(100% + 56px);
  margin: -36px -28px 24px;
  height: 160px;
  overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.08); }
.service-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-link:hover { color: var(--accent); gap: 10px; }

/* ================================================
   EXPERTISE
   ================================================ */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 12px;
}
.expertise-group {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.expertise-group:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(10,61,145,.13);
  border-color: var(--primary);
}
.expertise-group h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
}
.expertise-group h4 i { color: var(--accent); font-size: 1.05rem; }
.expertise-group ul { display: flex; flex-direction: column; gap: 10px; }
.expertise-group ul li {
  font-size: .875rem;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}
.expertise-group ul li::before {
  content: '»';
  color: var(--accent);
  font-weight: 700;
  flex-shrink: 0;
}
.expertise-group:hover ul li { color: var(--text); }

/* ================================================
   TECH BANNER
   ================================================ */
.tech-banner {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1518770660439-4636190af475?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 90px 0;
  overflow: hidden;
}
.tech-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10,61,145,.93) 0%, rgba(13,71,161,.89) 60%, rgba(21,101,192,.93) 100%);
}
.tech-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.tech-text h2 {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 28px;
  line-height: 1.3;
}
.tech-text h2 span { color: var(--accent); }
.tech-text ul { display: flex; flex-direction: column; gap: 14px; }
.tech-text li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(255,255,255,.85);
  font-size: .9rem;
}
.tech-text li i { color: var(--accent); margin-top: 4px; flex-shrink: 0; }

/* Animated Circle */
.tech-circle {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
}
.circle-ring {
  position: absolute;
  border: 2px solid rgba(255,255,255,.15);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}
.ring1 { width: 100%; height: 100%; animation: spin 12s linear infinite; border-top-color: var(--accent); }
.ring2 { width: 72%; height: 72%; animation: spin 8s linear infinite reverse; border-right-color: rgba(245,166,35,.5); }
.ring3 { width: 44%; height: 44%; animation: spin 5s linear infinite; border-bottom-color: rgba(255,255,255,.4); }
.circle-core {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 90px; height: 90px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem; color: var(--white);
  backdrop-filter: blur(6px);
}

/* ================================================
   WORKING PROCESS
   ================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-bottom: 48px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
}
.step-number {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--primary), #1565c0);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0 auto 24px;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(10,61,145,.3);
}
.step-line {
  position: absolute;
  top: 32px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(10,61,145,.2));
  z-index: 0;
}
.step-line.last { display: none; }
.step-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--primary);
}
.step-content p { font-size: .875rem; color: var(--text-light); line-height: 1.65; }
.process-cta { text-align: center; }

/* ================================================
   CAREERS BANNER
   ================================================ */
.careers-banner {
  position: relative;
  background-image: url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  padding: 80px 0;
  overflow: hidden;
  text-align: center;
}
.careers-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(245,166,35,.88) 0%, rgba(232,144,30,.88) 100%);
  z-index: 0;
}
.careers-content {
  position: relative;
  z-index: 1;
}
.careers-content h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.careers-content h2 span { color: var(--primary-dark); }
.careers-content p {
  color: rgba(255,255,255,.85);
  max-width: 520px;
  margin: 0 auto 32px;
}

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials-slider { position: relative; min-height: 240px; }
.testimonial-card {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  max-width: 760px;
  margin: 0 auto;
  display: none;
  animation: fadeIn .5s ease;
}
.testimonial-card.active { display: block; }
.quote-icon { font-size: 2rem; color: var(--accent); margin-bottom: 18px; }
.testimonial-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 28px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.author-avatar { font-size: 2.8rem; color: var(--primary); }
.author-info h4 { font-weight: 700; font-size: .95rem; }
.author-info span { font-size: .8rem; color: var(--text-light); }

.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--primary); width: 28px; border-radius: 5px; }

/* ================================================
   PARTNERS
   ================================================ */
.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 48px;
}
.partner-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 24px 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  transition: var(--transition);
  min-width: 120px;
}
.partner-logo i { font-size: 2.2rem; color: var(--text-light); transition: var(--transition); }
.partner-logo span { font-size: .75rem; font-weight: 600; color: var(--text-light); transition: var(--transition); }
.partner-logo:hover { box-shadow: var(--shadow); transform: translateY(-4px); border-color: var(--primary); }
.partner-logo:hover i,
.partner-logo:hover span { color: var(--primary); }

/* ================================================
   CONTACT
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  margin-bottom: 7px;
  color: var(--text);
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font);
  font-size: .9rem;
  color: var(--text);
  transition: var(--transition);
  outline: none;
  background: var(--bg-light);
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(10,61,145,.08);
}
.form-group textarea { resize: vertical; }

.contact-info-wrap h3 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary);
}
.office-card {
  display: flex;
  gap: 16px;
  padding: 18px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  margin-bottom: 16px;
  transition: var(--transition);
}
.office-card:hover { box-shadow: var(--shadow); border-color: var(--primary); }
.office-flag { font-size: 1.8rem; flex-shrink: 0; }
.office-details h4 { font-size: .9rem; font-weight: 700; margin-bottom: 6px; color: var(--primary); }
.office-details p {
  font-size: .78rem;
  color: var(--text-light);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 7px;
}
.office-details p i { color: var(--accent); width: 14px; flex-shrink: 0; }

/* Form success message */
.form-success {
  display: none;
  background: #e8f5e9;
  border: 1px solid #a5d6a7;
  color: #2e7d32;
  padding: 16px 20px;
  border-radius: 8px;
  margin-top: 16px;
  font-weight: 600;
  font-size: .9rem;
}

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: #0a2447;
  color: rgba(255,255,255,.75);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-logo .logo-ken,
.footer-logo .logo-fill { color: var(--white); }
.footer-logo .logo-fill { color: var(--accent); }
.footer-logo .logo-sub  { color: rgba(255,255,255,.5); }
.footer-brand p {
  font-size: .85rem;
  margin: 16px 0 20px;
  line-height: 1.7;
}
.social-links { display: flex; gap: 12px; }
.social-links a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}
.social-links a:hover { background: var(--accent); color: var(--white); transform: translateY(-3px); }

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
  font-size: .9rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-links ul li,
.footer-services ul li { margin-bottom: 10px; }
.footer-links a,
.footer-services a {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a:hover,
.footer-services a:hover { color: var(--accent); padding-left: 4px; }

.footer-contact p {
  font-size: .85rem;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}
.footer-contact p i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }

.footer-bottom {
  text-align: center;
  padding: 20px 0;
  font-size: .82rem;
  color: rgba(255,255,255,.4);
}
.footer-bottom strong { color: var(--accent); }

/* ================================================
   BACK TO TOP
   ================================================ */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 46px; height: 46px;
  background: var(--primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(10,61,145,.4);
  transition: var(--transition);
}
.back-to-top.visible { display: flex; animation: fadeIn .3s ease; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}
@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .services-grid       { grid-template-columns: repeat(2, 1fr); }
  .expertise-grid      { grid-template-columns: repeat(2, 1fr); }
  .process-grid        { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .step-line           { display: none; }
  .tech-content        { grid-template-columns: 1fr; text-align: center; }
  .tech-circle         { margin: 40px auto 0; }
  .footer-grid         { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .section-padding { padding: 60px 0; }

  /* Nav */
  .hamburger { display: flex; }
  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 280px; height: 100vh;
    background: var(--white);
    padding: 80px 24px 24px;
    transition: right var(--transition);
    z-index: 999;
    box-shadow: -4px 0 30px rgba(0,0,0,.12);
    overflow-y: auto;
  }
  .nav-menu.open { right: 0; }
  .nav-menu ul { flex-direction: column; gap: 4px; }
  .nav-link { color: var(--text); }
  .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: 4px 0 4px 16px;
    display: none;
  }
  .nav-menu > ul > li:hover .dropdown { display: block; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-img-inner { width: 100%; max-width: 300px; height: 260px; margin: 0 auto; }
  .about-stats { gap: 20px; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }

  /* Process */
  .process-grid { grid-template-columns: 1fr; }

  .back-to-top { bottom: 20px; right: 20px; }
}

@media (max-width: 480px) {
  .hero-content h1 { font-size: 2.2rem; }
  .hero-btns { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 24px; }
}
