/* ===== CSS Variables ===== */
:root {
  --primary:     #0B1426;
  --secondary:   #1E40AF;
  --accent:      #F97316;
  --blue-light:  #3B82F6;
  --bg-light:    #F8FAFC;
  --white:       #FFFFFF;
  --text-dark:   #1E293B;
  --text-muted:  #64748B;
  --border:      #E2E8F0;
  --gradient:    linear-gradient(135deg, #0B1426 0%, #1E40AF 100%);
  --shadow:      0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg:   0 10px 15px -3px rgba(0,0,0,0.15), 0 4px 6px -2px rgba(0,0,0,0.07);
  --radius:      12px;
  --transition:  0.3s ease;
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: var(--text-dark); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-label { display: inline-block; background: rgba(249,115,22,0.1); color: var(--accent); padding: 5px 14px; border-radius: 50px; font-size: 0.8rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.75rem; }
.section-title { font-size: clamp(1.8rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.section-title.center { text-align: center; }
.section-subtitle { color: var(--text-muted); font-size: 1.05rem; max-width: 600px; line-height: 1.75; }
.section-subtitle.center { text-align: center; margin: 0 auto 3rem; }
.accent { color: var(--accent); }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--primary); }
.text-center { text-align: center; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 13px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: white; }
.btn-primary:hover { background: #ea6b0a; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,0.35); }
.btn-outline { background: transparent; color: white; border: 2px solid rgba(255,255,255,0.5); }
.btn-outline:hover { background: white; color: var(--primary); border-color: white; }
.btn-dark { background: var(--primary); color: white; }
.btn-dark:hover { background: #162035; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-lg { padding: 15px 36px; font-size: 1rem; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(11, 20, 38, 0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav-brand { display: flex; align-items: center; gap: 0.6rem; }
.nav-logo { display: flex; align-items: center; gap: 3px; font-weight: 900; font-size: 1.35rem; line-height: 1; letter-spacing: 0; background: none; width: auto; height: auto; border-radius: 0; padding: 0; }
.logo-l { color: white; }
.logo-n { background: var(--accent); color: white; padding: 2px 3px; border-radius: 3px; line-height: 1; }
.nav-brand-text { font-size: 1.2rem; font-weight: 800; color: white; letter-spacing: -0.3px; }
.nav-brand-text span { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 8px 14px;
  border-radius: 6px;
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: white; background: rgba(255,255,255,0.08); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: white; border-radius: 2px; transition: var(--transition); }
.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--primary);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 0.5rem 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: rgba(255,255,255,0.85);
  padding: 13px 24px;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: var(--transition);
}
.mobile-menu a:hover { color: white; background: rgba(255,255,255,0.05); }
.mobile-menu .btn { margin: 1rem 24px; justify-content: center; }

/* ===== Hero ===== */
.hero {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, #0B1426 0%, #1E40AF 100%);
  display: block;
  position: relative;
  overflow: hidden;
  padding-top: 0;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 50%, rgba(59,130,246,0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(249,115,22,0.1) 0%, transparent 40%);
}
.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; padding: 80px 24px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249,115,22,0.12);
  color: var(--accent);
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(249,115,22,0.25);
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }
.hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 900; color: white; line-height: 1.12; margin-bottom: 1.5rem; }
.hero h1 .highlight { color: var(--accent); }
.hero p { font-size: 1.1rem; color: rgba(255,255,255,0.75); max-width: 480px; margin-bottom: 2.5rem; line-height: 1.8; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.1); flex-wrap: wrap; }
.hero-stat .number { font-size: 1.9rem; font-weight: 900; color: white; line-height: 1; }
.hero-stat .label { font-size: 0.78rem; color: rgba(255,255,255,0.55); margin-top: 3px; text-transform: uppercase; letter-spacing: 0.5px; }

/* Hero visual */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-card-stack { position: relative; width: 100%; max-width: 400px; }
.hero-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  margin-bottom: 1rem;
}
.hero-card-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.hero-card h4 { color: white; font-weight: 700; font-size: 1rem; margin-bottom: 0.4rem; }
.hero-card p { color: rgba(255,255,255,0.55); font-size: 0.82rem; }
.hero-card-accent { border-color: rgba(249,115,22,0.3); }
.hero-card-badge { display: inline-block; background: rgba(249,115,22,0.2); color: var(--accent); font-size: 0.75rem; font-weight: 700; padding: 2px 8px; border-radius: 4px; margin-bottom: 0.75rem; }

/* ===== Services Grid ===== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 54px; height: 54px;
  background: linear-gradient(135deg, var(--secondary), var(--blue-light));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
}
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; }
.service-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.75; }
.service-card .learn-more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--secondary); font-size: 0.85rem; font-weight: 600; margin-top: 1rem; transition: var(--transition); }
.service-card:hover .learn-more { color: var(--accent); gap: 0.7rem; }

/* ===== Why FTN ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.why-features { display: flex; flex-direction: column; gap: 1.25rem; margin-top: 2rem; }
.why-feature { display: flex; align-items: flex-start; gap: 1rem; }
.why-feature-icon {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--accent), #fb923c);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: white; font-size: 1.1rem;
}
.why-feature-text h4 { font-weight: 700; color: var(--primary); margin-bottom: 0.2rem; font-size: 0.97rem; }
.why-feature-text p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.why-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.stat-box {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.stat-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-box .number { font-size: 2.4rem; font-weight: 900; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.stat-box .label { font-size: 0.82rem; color: var(--text-muted); margin-top: 0.4rem; font-weight: 500; }

/* ===== Technologies ===== */
.tech-grid { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; max-width: 900px; margin: 0 auto; }
.tech-tag {
  background: white;
  border: 1px solid var(--border);
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition);
  cursor: default;
}
.tech-tag:hover { background: var(--primary); color: white; border-color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }

/* ===== Industries ===== */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; }
.industry-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.industry-card:hover { background: var(--gradient); color: white; transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: transparent; }
.industry-card:hover h4 { color: white; }
.industry-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.industry-card h4 { font-size: 0.88rem; font-weight: 700; color: var(--primary); line-height: 1.3; }

/* ===== Process Section ===== */
.process-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; position: relative; }
.process-steps::before {
  content: '';
  position: absolute;
  top: 30px; left: 12%;
  width: 76%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.process-step { text-align: center; position: relative; z-index: 1; }
.step-number {
  width: 60px; height: 60px;
  background: var(--gradient);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 900; color: white;
  margin: 0 auto 1rem;
  box-shadow: 0 4px 15px rgba(30,64,175,0.3);
}
.process-step h4 { font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; }
.process-step p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* ===== CTA Section ===== */
.cta-section {
  background: var(--gradient);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 30% 50%, rgba(249,115,22,0.15) 0%, transparent 60%),
    radial-gradient(circle at 70% 50%, rgba(59,130,246,0.1) 0%, transparent 60%);
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: white; margin-bottom: 1rem; }
.cta-section p { color: rgba(255,255,255,0.75); font-size: 1.1rem; margin-bottom: 2.5rem; max-width: 550px; margin-left: auto; margin-right: auto; }
.cta-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== Footer ===== */
.footer { background: #060d1a; color: rgba(255,255,255,0.65); }
.footer-main { padding: 64px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2.2fr 1fr 1fr 1.2fr; gap: 3rem; }
.footer-brand .nav-brand { margin-bottom: 1.1rem; }
.footer-brand p { font-size: 0.88rem; line-height: 1.8; max-width: 280px; }
.footer-tagline { font-size: 0.8rem; color: var(--accent); font-style: italic; margin-top: 0.75rem; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 1.1rem; font-size: 0.9rem; letter-spacing: 0.3px; }
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col ul li a { font-size: 0.86rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: center; gap: 0.6rem; font-size: 0.86rem; margin-bottom: 0.65rem; }
.footer-contact-item span:first-child { font-size: 1rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: 0.83rem; }
.social-links { display: flex; gap: 0.6rem; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
}
.social-link:hover { background: var(--accent); color: white; transform: translateY(-2px); }

/* ===== Page Hero ===== */
.page-hero {
  background: var(--gradient);
  padding: 130px 0 70px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; align-items: center; gap: 0.5rem; color: rgba(255,255,255,0.5); font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumb a { color: rgba(255,255,255,0.7); transition: var(--transition); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb span { color: var(--accent); }
.page-hero h1 { font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 900; color: white; margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.7); font-size: 1.1rem; max-width: 600px; line-height: 1.75; }

/* ===== Services Detail Page ===== */
.service-detail-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.service-detail-block:last-child { border-bottom: none; }
.service-detail-block.reverse .service-detail-visual { order: -1; }
.service-detail-content .section-label { margin-bottom: 0.5rem; }
.service-detail-content h2 { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.service-detail-content p { color: var(--text-muted); line-height: 1.8; margin-bottom: 1.5rem; }
.check-list { display: flex; flex-direction: column; gap: 0.65rem; }
.check-list li { display: flex; align-items: flex-start; gap: 0.75rem; color: var(--text-dark); font-size: 0.93rem; }
.check-list li::before { content: '✓'; color: white; background: var(--accent); width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.7rem; font-weight: 900; flex-shrink: 0; margin-top: 2px; }
.service-detail-visual {
  background: var(--gradient);
  border-radius: 20px;
  height: 320px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.service-detail-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(249,115,22,0.2) 0%, transparent 70%);
}
.service-visual-icon { font-size: 7rem; position: relative; z-index: 1; filter: drop-shadow(0 0 30px rgba(255,255,255,0.2)); }
.service-mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2rem; }
.service-mini-card { background: var(--bg-light); border-radius: 10px; padding: 1.25rem; border: 1px solid var(--border); }
.service-mini-card h5 { font-weight: 700; color: var(--primary); font-size: 0.88rem; margin-bottom: 0.3rem; }
.service-mini-card p { font-size: 0.8rem; color: var(--text-muted); }

/* ===== About Page ===== */
.about-intro { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.about-visual {
  background: var(--gradient);
  border-radius: 20px;
  height: 400px;
  display: flex; align-items: center; justify-content: center;
  font-size: 8rem;
  position: relative;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(249,115,22,0.25) 0%, transparent 60%);
}
.about-visual-icon { position: relative; z-index: 1; }
.about-text .section-label { margin-bottom: 0.75rem; }
.about-text h2 { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 1rem; }
.about-text p { color: var(--text-muted); line-height: 1.85; margin-bottom: 1.25rem; }
.about-highlights { display: flex; gap: 2rem; margin-top: 1.5rem; flex-wrap: wrap; }
.about-highlight .number { font-size: 2rem; font-weight: 900; color: var(--accent); }
.about-highlight .label { font-size: 0.82rem; color: var(--text-muted); }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.value-card {
  background: white;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.value-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.value-card h3 { font-weight: 700; color: var(--primary); margin-bottom: 0.6rem; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.mission-vision { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.mv-card { border-radius: var(--radius); padding: 2.5rem; }
.mv-card.mission { background: var(--gradient); color: white; }
.mv-card.vision { background: white; border: 1px solid var(--border); }
.mv-label { font-size: 0.78rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.75rem; opacity: 0.7; }
.mv-card.mission .mv-label { color: rgba(255,255,255,0.7); }
.mv-card.vision .mv-label { color: var(--accent); opacity: 1; }
.mv-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 0.75rem; }
.mv-card.mission h3 { color: white; }
.mv-card.vision h3 { color: var(--primary); }
.mv-card p { font-size: 0.93rem; line-height: 1.8; }
.mv-card.mission p { color: rgba(255,255,255,0.75); }
.mv-card.vision p { color: var(--text-muted); }

/* ===== Portfolio Page ===== */
.portfolio-filters { display: flex; gap: 0.75rem; flex-wrap: wrap; justify-content: center; margin-bottom: 2.5rem; }
.filter-btn {
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid var(--border);
  background: white;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.portfolio-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: transparent; }
.portfolio-thumb {
  height: 190px;
  background: var(--gradient);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb-2 { background: linear-gradient(135deg, #0f2027, #203a43, #2c5364); }
.portfolio-thumb-3 { background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460); }
.portfolio-thumb-4 { background: linear-gradient(135deg, #2d1b69, #11998e, #38ef7d); opacity: 0.9; }
.portfolio-thumb-5 { background: linear-gradient(135deg, #fc4a1a, #f7b733); }
.portfolio-thumb-6 { background: linear-gradient(135deg, #0b486b, #f56217); }
.portfolio-overlay {
  position: absolute; inset: 0;
  background: rgba(249,115,22,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0;
  transition: var(--transition);
  gap: 0.5rem;
}
.portfolio-card:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay .btn { padding: 10px 22px; font-size: 0.85rem; }
.portfolio-info { padding: 1.5rem; }
.portfolio-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.75rem; }
.portfolio-tag { background: var(--bg-light); color: var(--secondary); padding: 3px 10px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.portfolio-info h3 { font-weight: 700; color: var(--primary); margin-bottom: 0.4rem; font-size: 1rem; }
.portfolio-info p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.6; }

/* ===== Contact Page ===== */
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; align-items: start; }
.contact-info-box h2 { font-size: 1.9rem; font-weight: 800; color: var(--primary); margin-bottom: 0.75rem; }
.contact-info-box > p { color: var(--text-muted); line-height: 1.8; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2.5rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; }
.contact-item-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--secondary), var(--blue-light));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: white; font-size: 1.1rem;
}
.contact-item-text h4 { font-weight: 700; color: var(--primary); font-size: 0.9rem; margin-bottom: 0.2rem; }
.contact-item-text p { font-size: 0.88rem; color: var(--text-muted); }
.contact-form-box {
  background: white;
  border-radius: 16px;
  padding: 2.75rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.contact-form-box h3 { font-size: 1.4rem; font-weight: 800; color: var(--primary); margin-bottom: 0.5rem; }
.contact-form-box > p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-weight: 600; color: var(--text-dark); margin-bottom: 0.5rem; font-size: 0.88rem; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text-dark);
  transition: var(--transition);
  background: var(--bg-light);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-light);
  background: white;
  box-shadow: 0 0 0 3px rgba(59,130,246,0.1);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group select { cursor: pointer; }
.form-submit { width: 100%; padding: 14px; font-size: 1rem; justify-content: center; }
.form-submit:disabled { opacity: 0.65; cursor: not-allowed; transform: none !important; }
.captcha-group label { display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap; }
.captcha-group input { max-width: 140px; }
#formAlert { margin-bottom: 1rem; }

/* ===== Alert / Notification ===== */
.alert { padding: 14px 18px; border-radius: 8px; margin-bottom: 1.5rem; font-size: 0.92rem; display: flex; align-items: center; gap: 0.75rem; }
.alert-success { background: #d1fae5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-info { background: #dbeafe; color: #1e40af; border: 1px solid #bfdbfe; }

/* ===== Scroll to Top ===== */
.scroll-top {
  position: fixed;
  bottom: 30px; right: 30px;
  width: 44px; height: 44px;
  background: var(--accent);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  border: none;
  box-shadow: 0 4px 15px rgba(249,115,22,0.4);
  z-index: 999;
}
.scroll-top.visible { opacity: 1; visibility: visible; }
.scroll-top:hover { transform: translateY(-3px); }

/* ===== Animations ===== */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; padding: 80px 24px 60px; }
  .hero-visual { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .about-intro { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { height: 280px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-detail-block.reverse .service-detail-visual { order: 0; }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .process-steps::before { display: none; }
  .mission-vision { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-links, .navbar > .container > .btn { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .industries-grid { grid-template-columns: repeat(3, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 0; }
  .hero-stats { gap: 1.5rem; }
  .why-stats { grid-template-columns: 1fr 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-stats { flex-wrap: wrap; gap: 1rem; }
  .about-highlights { gap: 1.5rem; }
  .contact-form-box { padding: 1.75rem; }
}

/* ============================================================
   HERO SLIDER
   ============================================================ */

/* Hero slider base is defined above in the Hero section */

/* Floating glowing orbs */
.hero-shapes { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.hs { position: absolute; border-radius: 50%; filter: blur(70px); animation: floatOrb 18s ease-in-out infinite; }
.hs1 { width: 550px; height: 550px; background: rgba(249,115,22,0.13); top: -180px; right: -120px; }
.hs2 { width: 380px; height: 380px; background: rgba(59,130,246,0.11); bottom: -80px; right: 10%; animation-delay: -6s; animation-duration: 14s; }
.hs3 { width: 260px; height: 260px; background: rgba(255,255,255,0.04); top: 45%; left: -80px; animation-delay: -10s; animation-duration: 20s; }
.hs4 { width: 180px; height: 180px; background: rgba(249,115,22,0.07); top: 15%; left: 28%; animation-delay: -4s; animation-duration: 11s; }

@keyframes floatOrb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25%       { transform: translate(25px, -35px) scale(1.06); }
  50%       { transform: translate(-15px, 25px) scale(0.96); }
  75%       { transform: translate(18px, 12px) scale(1.03); }
}

/* Slides */
.hslide {
  position: absolute;
  top: 68px; left: 0; right: 0;
  height: calc(100vh - 68px);
  min-height: 520px;
  display: flex;
  align-items: center;
  padding: 1rem 0 4rem;
  opacity: 0;
  transform: translateX(60px) scale(0.98);
  transition: opacity 0.85s cubic-bezier(0.4,0,0.2,1), transform 0.85s cubic-bezier(0.4,0,0.2,1);
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}
.hslide.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  pointer-events: all;
}
.hslide.leaving {
  opacity: 0;
  transform: translateX(-60px) scale(0.98);
  pointer-events: none;
}
.hslide .container { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }

/* Compact hero content inside slider */
.hslide h1 { font-size: clamp(1.9rem, 3.5vw, 3.2rem); margin-bottom: 1rem; }
.hslide .hero-badge { margin-bottom: 1rem; }
.hslide p { margin-bottom: 1.5rem; font-size: 1rem; }
.hslide .hero-cta { gap: 0.75rem; }
.hslide .hero-stats { margin-top: 1.5rem; padding-top: 1.25rem; gap: 1.5rem; }
.hslide .hero-stat .number { font-size: 1.6rem; }
.hslide .btn-lg { padding: 12px 24px; font-size: 0.92rem; }

/* Slider nav */
.slider-controls {
  position: absolute;
  bottom: 1.25rem; left: 50%;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 1rem;
  z-index: 10;
}
.slider-arrow {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: white; font-size: 1rem;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: var(--transition); font-family: inherit;
}
.slider-arrow:hover { background: var(--accent); border-color: var(--accent); transform: scale(1.1); }
.slider-dots { display: flex; gap: 6px; align-items: center; }
.sdot {
  width: 8px; height: 8px; background: rgba(255,255,255,0.3);
  border-radius: 50%; cursor: pointer; transition: var(--transition); border: none;
}
.sdot.active { background: var(--accent); width: 26px; border-radius: 4px; }
.sdot:hover { background: rgba(255,255,255,0.7); }

/* Progress bar */
.slider-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.08); z-index: 10; }
.slider-progress-fill { height: 100%; background: var(--accent); width: 0; }

/* ============================================================
   TECH TICKER
   ============================================================ */
.ticker-wrap {
  background: #060d1a;
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.ticker-track {
  display: flex; gap: 1.75rem; align-items: center;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}
.ticker-wrap:hover .ticker-track { animation-play-state: paused; }
.ticker-item { color: rgba(255,255,255,0.55); font-size: 0.82rem; font-weight: 700; white-space: nowrap; letter-spacing: 0.5px; text-transform: uppercase; transition: var(--transition); }
.ticker-item:hover { color: var(--accent); }
.ticker-sep { color: var(--accent); font-size: 0.5rem; opacity: 0.6; }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============================================================
   CSS MOCKUPS (Hero Visual — Slides 2 & 3)
   ============================================================ */

/* Browser Mockup */
.mockup-browser {
  background: #1a1a2e;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  max-width: 420px; width: 100%;
  animation: floatMockup 6s ease-in-out infinite;
}
@keyframes floatMockup {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}
.mb-bar {
  background: #0f0f1a; padding: 0.75rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.mb-dots { display: flex; gap: 5px; }
.mb-dots span { width: 11px; height: 11px; border-radius: 50%; }
.mb-dots span:nth-child(1) { background: #ff5f57; }
.mb-dots span:nth-child(2) { background: #ffbd2e; }
.mb-dots span:nth-child(3) { background: #28c940; }
.mb-url { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.4); font-size: 0.73rem; padding: 4px 12px; border-radius: 4px; flex: 1; font-family: monospace; }
.mb-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.code-editor { font-family: 'Courier New', monospace; font-size: 0.8rem; line-height: 1.7; }
.ce-line { padding: 1px 0; }
.ce-indent { padding-left: 1.5rem; }
.ce-kw  { color: #c792ea; }
.ce-fn  { color: #82aaff; }
.ce-param { color: #f78c6c; }
.ce-str { color: #c3e88d; }
.ce-comment { color: #546e7a; font-style: italic; }
.mb-status { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.85rem; display: flex; flex-direction: column; gap: 0.45rem; }
.status-row { display: flex; align-items: center; gap: 0.5rem; font-size: 0.77rem; color: rgba(255,255,255,0.55); font-family: monospace; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.status-dot.green { background: #28c940; }
.status-dot.blue  { background: #3b82f6; }
.status-dot.anim  { animation: dotBlink 1.2s ease-in-out infinite; }
@keyframes dotBlink { 0%,100%{opacity:1} 50%{opacity:0.25} }

/* Dashboard Mockup */
.mockup-dashboard {
  background: #0f172a;
  border-radius: 14px;
  padding: 1.4rem;
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.08);
  max-width: 380px; width: 100%;
  animation: floatMockup 7s ease-in-out infinite;
  animation-delay: -2s;
}
.md-header { display: flex; justify-content: space-between; align-items: center; color: white; font-size: 0.88rem; font-weight: 700; margin-bottom: 1.25rem; }
.md-live { color: #28c940; font-size: 0.73rem; font-weight: 700; animation: dotBlink 2s infinite; }
.md-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.75rem; margin-bottom: 1.25rem; }
.md-stat { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 0.85rem 0.5rem; text-align: center; border: 1px solid rgba(255,255,255,0.06); }
.md-value { font-size: 1.15rem; font-weight: 900; margin-bottom: 0.2rem; }
.md-label { font-size: 0.68rem; color: rgba(255,255,255,0.45); font-weight: 500; }
.md-chart { display: flex; gap: 6px; align-items: flex-end; height: 80px; margin-bottom: 1rem; background: rgba(255,255,255,0.02); border-radius: 8px; padding: 0.5rem; }
.md-bar { flex: 1; background: rgba(255,255,255,0.06); border-radius: 4px 4px 0 0; position: relative; overflow: hidden; height: 100%; display: flex; align-items: flex-end; }
.md-bar-fill { width: 100%; background: #3b82f6; border-radius: 4px 4px 0 0; height: var(--bh, 50%); animation: barRise 1.5s cubic-bezier(0.4,0,0.2,1) forwards; }
@keyframes barRise { from { height: 0; } to { height: var(--bh, 50%); } }
.md-footer { display: flex; justify-content: space-between; font-size: 0.7rem; color: rgba(255,255,255,0.35); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 0.85rem; }

/* ============================================================
   ENHANCED CARD EFFECTS
   ============================================================ */

/* Glow on hover for service cards */
.service-card:hover {
  box-shadow: 0 20px 40px rgba(30,64,175,0.15), 0 0 0 1px rgba(30,64,175,0.1);
}
/* Icon pop on hover */
.service-card:hover .service-icon {
  transform: scale(1.15) rotate(-5deg);
  transition: transform 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
.service-icon { transition: transform 0.35s ease; }

/* Stat box glow */
.stat-box:hover {
  box-shadow: 0 12px 30px rgba(30,64,175,0.15);
}

/* Industry card enhanced hover */
.industry-card:hover {
  box-shadow: 0 15px 35px rgba(11,20,38,0.25);
}
.industry-card .industry-icon { transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1); }
.industry-card:hover .industry-icon { transform: scale(1.25); }

/* Process step number pulse */
.process-step:hover .step-number {
  transform: scale(1.12);
  box-shadow: 0 0 0 6px rgba(30,64,175,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.step-number { transition: transform 0.3s ease, box-shadow 0.3s ease; }

/* CTA button shimmer effect */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}
.btn-primary:hover::before { left: 150%; }

/* Why feature icon spin on hover */
.why-feature:hover .why-feature-icon {
  transform: rotate(10deg) scale(1.1);
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
.why-feature-icon { transition: transform 0.3s ease; }

/* Nav link active indicator */
.nav-links a.active { color: white !important; }

/* Smooth page load — body fade in */
body { animation: pageFadeIn 0.4s ease forwards; }
@keyframes pageFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* Hero stats pulse on load */
.hero-stat .number {
  display: inline-block;
  animation: statPop 0.6s cubic-bezier(0.34,1.56,0.64,1) both;
}
@keyframes statPop { from { transform: scale(0.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.hero-stat:nth-child(1) .number { animation-delay: 0.6s; }
.hero-stat:nth-child(2) .number { animation-delay: 0.75s; }
.hero-stat:nth-child(3) .number { animation-delay: 0.9s; }
.hero-stat:nth-child(4) .number { animation-delay: 1.05s; }

/* Slider responsive */
@media (max-width: 1024px) {
  .hslide .container { grid-template-columns: 1fr; }
  .mockup-browser, .mockup-dashboard { display: none; }
  .hslide { align-items: flex-start; padding-top: 2rem; }
}
@media (max-width: 768px) {
  .hslide h1 { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  .hslide .hero-stats { flex-wrap: wrap; }
}
