/* ==========================================================================
   EMBEDGROW - Senior UI/UX Design System & Master Stylesheet
   Brand Positioning: Professional Websites & School/College Project Solutions
   Tagline: CREATE. CONNECT. GROW.
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Design Tokens & CSS Custom Properties
   -------------------------------------------------------------------------- */
:root {
  /* Absolute White Token */
  --white: #FFFFFF;

  /* Brand Palette (Strictly aligned with official EMBEDGROW logo) */
  --navy: #0B2238;           /* Primary Dark Navy (Logo EMBED & E emblem) */
  --navy-dark: #061524;      /* Deepest Navy for background contrast */
  --navy-light: #15324D;     /* Lighter navy for subtle cards */
  --orange: #FF5500;         /* Primary Accent Vibrant Orange (Logo GROW & G emblem) */
  --orange-hover: #E04B00;   /* Darker Orange state */
  --orange-glow: rgba(255, 85, 0, 0.25);
  --teal: #0B7285;           /* Circuit Teal/Cyan Accent (IC Microchip trace) */
  --teal-glow: rgba(11, 114, 133, 0.25);

  /* Surface Neutrals */
  --bg-main: #F8FAFC;        /* Crisp modern background */
  --bg-card: #FFFFFF;        /* Pure White surface */
  --bg-dark-card: #0F2A44;   /* Dark card surface */
  --text-primary: #0F172A;   /* Slate 900 primary text */
  --text-muted: #475569;     /* Slate 600 body text */
  --text-subtle: #64748B;    /* Slate 500 secondary text */
  --border-light: #E2E8F0;   /* Soft border */
  --border-dark: rgba(255, 255, 255, 0.12);

  /* Typography */
  --font-inter: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-jakarta: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Shadows (Multi-layered elevation system) */
  --shadow-xs: 0 1px 2px rgba(11, 34, 56, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(11, 34, 56, 0.06), 0 2px 4px -1px rgba(11, 34, 56, 0.03);
  --shadow-md: 0 10px 15px -3px rgba(11, 34, 56, 0.08), 0 4px 6px -2px rgba(11, 34, 56, 0.04);
  --shadow-lg: 0 20px 25px -5px rgba(11, 34, 56, 0.1), 0 10px 10px -5px rgba(11, 34, 56, 0.04);
  --shadow-xl: 0 25px 50px -12px rgba(11, 34, 56, 0.22);
  --shadow-orange: 0 8px 25px rgba(255, 85, 0, 0.35);
  --shadow-teal: 0 8px 25px rgba(11, 114, 133, 0.3);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  /* Layout */
  --max-width: 1240px;
  --navbar-height: 84px;

  /* Transitions */
  --ease-out-back: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   1. Reset & Global Styles
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-tap-highlight-color: transparent;
  font-family: var(--font-inter);
}

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

h1, h2, h3, h4, h5, h6,
.section-title,
.hero-title,
.logo-name,
.btn,
.nav-link,
.card-title,
.sub-service-title,
.why-title,
.step-title,
.tech-group-title,
.cta-banner h2,
.stat-value,
.hero-pillar-title {
  font-family: var(--font-jakarta);
  letter-spacing: -0.025em;
}

/* Scroll progress bar */
#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--orange) 100%);
  z-index: 10001;
  width: 0%;
  transition: width 0.1s ease-out;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

/* --------------------------------------------------------------------------
   2. Typography & Core Layout Systems
   -------------------------------------------------------------------------- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 64px auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(11, 114, 133, 0.08);
  border: 1px solid rgba(11, 114, 133, 0.18);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 16px;
}

.section-title {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}

.section-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Gradient Text Utilities */
.text-gradient-orange {
  background: linear-gradient(135deg, var(--orange) 0%, #FF8533 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-teal {
  background: linear-gradient(135deg, var(--teal) 0%, #00B4D8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-navy {
  background: linear-gradient(135deg, var(--navy) 0%, #1E4976 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   2B. High-Contrast Button System (Guaranteed Legibility)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border-radius: var(--radius-sm);
  transition: all 0.25s var(--ease-smooth);
  text-align: center;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.btn .btn-arrow {
  transition: transform 0.25s var(--ease-smooth);
  display: inline-block;
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Primary Orange Button */
.btn-primary {
  background: linear-gradient(135deg, #FF5500 0%, #E04B00 100%) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-orange);
}

.btn-primary,
.btn-primary *,
.btn-primary span,
.btn-primary a {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255, 85, 0, 0.5);
  color: #FFFFFF !important;
}

/* Secondary Navy Button */
.btn-secondary {
  background: linear-gradient(135deg, #0B2238 0%, #061524 100%) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-md);
}

.btn-secondary,
.btn-secondary *,
.btn-secondary span,
.btn-secondary a {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.btn-secondary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 34, 56, 0.4);
  color: #FFFFFF !important;
}

/* Teal Accent Button */
.btn-teal {
  background: linear-gradient(135deg, #0B7285 0%, #07505E 100%) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-teal);
}

.btn-teal,
.btn-teal *,
.btn-teal span,
.btn-teal a {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

.btn-teal:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(11, 114, 133, 0.45);
  color: #FFFFFF !important;
}

/* Outline Button */
.btn-outline {
  background: transparent !important;
  border: 2px solid var(--navy) !important;
  color: var(--navy) !important;
}

.btn-outline,
.btn-outline *,
.btn-outline span {
  color: var(--navy) !important;
  -webkit-text-fill-color: var(--navy) !important;
}

.btn-outline:hover {
  background-color: var(--navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.btn-outline:hover,
.btn-outline:hover *,
.btn-outline:hover span {
  color: #FFFFFF !important;
  -webkit-text-fill-color: #FFFFFF !important;
}

/* --------------------------------------------------------------------------
   3. Sticky Header Navigation & Logo Branding
   -------------------------------------------------------------------------- */
.header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all 0.3s var(--ease-smooth);
}

.header.scrolled {
  height: 72px;
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.navbar-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform 0.25s var(--ease-out-back);
}

.logo-link:hover .navbar-logo-img {
  transform: scale(1.06) rotate(-2deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  font-size: 1.45rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
}

.logo-name .text-navy {
  color: var(--navy);
}

.logo-name .text-orange {
  color: var(--orange);
}

.logo-tagline {
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.16em;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  transition: color 0.2s ease;
  position: relative;
  padding: 8px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 3px;
  background: var(--orange);
  border-radius: 3px;
  transition: width 0.25s var(--ease-smooth);
}

.nav-link:hover {
  color: var(--orange);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--orange);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  cursor: pointer;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 2.5px;
  background-color: var(--navy);
  border-radius: 2px;
  transition: all 0.25s var(--ease-smooth);
}

.hamburger.active span:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   4. Split Hero Section (Seamless Clean Integrated Showcase)
   -------------------------------------------------------------------------- */
.hero-section {
  padding: 90px 0 110px 0;
  background: radial-gradient(circle at 80% 20%, rgba(11, 114, 133, 0.08) 0%, transparent 40%),
              radial-gradient(circle at 10% 80%, rgba(255, 85, 0, 0.06) 0%, transparent 40%),
              linear-gradient(180deg, #FFFFFF 0%, #F8FAFC 100%);
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  max-width: 620px;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 24px;
}

.hero-badge-pill .pulse-dot {
  width: 9px;
  height: 9px;
  background-color: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.4);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0.5); }
  70% { box-shadow: 0 0 0 10px rgba(255, 85, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 85, 0, 0); }
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-bottom: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy);
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-subtle);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* NEW CLEAN HERO SHOWCASE GRAPHIC */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo-banner-wrapper {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-xl);
  width: 100%;
  max-width: 480px;
  text-align: center;
  transition: transform 0.3s var(--ease-smooth);
}

.hero-logo-banner-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -10px rgba(11, 34, 56, 0.14);
}

.hero-brand-logo-img {
  width: 100%;
  height: auto;
  max-height: 230px;
  object-fit: contain;
}

.hero-dual-pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  width: 100%;
  max-width: 480px;
}

.hero-pillar-card {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

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

.hero-pillar-card.pillar-orange:hover {
  border-color: var(--orange);
}

.hero-pillar-badge {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-pillar-card.pillar-orange .hero-pillar-badge {
  color: var(--orange);
}

.hero-pillar-title {
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.hero-pillar-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   5. Core Services Section (Strict Equal Prominence Rule)
   -------------------------------------------------------------------------- */
.services-overview-section {
  background-color: var(--bg-card);
}

.equal-services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.core-service-card {
  background: var(--bg-main);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s var(--ease-smooth);
  position: relative;
  overflow: hidden;
}

.core-service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--teal) 100%);
  transition: background 0.3s ease;
}

.core-service-card.card-projects::after {
  background: linear-gradient(90deg, var(--orange) 0%, #FF8533 100%);
}

.core-service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  background: #FFFFFF;
  border-color: rgba(255, 85, 0, 0.3);
}

.card-service-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.card-num {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--teal);
}

.card-service-header .card-num-orange {
  color: var(--orange);
}

.card-icon-wrapper {
  width: 64px;
  height: 64px;
  background: #FFFFFF;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  color: var(--navy);
  border: 1px solid var(--border-light);
  transition: all 0.3s ease;
}

.core-service-card:hover .card-icon-wrapper {
  background: var(--navy);
  color: var(--orange);
  transform: scale(1.08);
}

.card-icon-wrapper svg {
  width: 32px;
  height: 32px;
}

.card-title {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.card-text {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  line-height: 1.65;
}

.card-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
  list-style: none;
}

.card-tag {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  color: var(--navy);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.core-service-card:hover .card-tag {
  background: rgba(11, 114, 133, 0.06);
  border-color: rgba(11, 114, 133, 0.2);
}

.card-cta {
  margin-top: auto;
}

/* --------------------------------------------------------------------------
   6. Sub-Services Grid & Project Categories
   -------------------------------------------------------------------------- */
.sub-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.sub-service-card {
  background: var(--bg-card);
  padding: 36px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.sub-service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--orange);
}

.sub-service-icon {
  width: 52px;
  height: 52px;
  background: rgba(255, 85, 0, 0.08);
  color: var(--orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.sub-service-icon svg {
  width: 26px;
  height: 26px;
}

.sub-service-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.sub-service-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Project Categories Box */
.categories-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 40px;
}

.category-box {
  background: var(--bg-card);
  padding: 40px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.category-box:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.category-box-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--bg-main);
}

.category-box-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--navy);
}

.category-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.category-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
}

.category-list li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 900;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   7. Portfolio Showcase & Filter Tabs
   -------------------------------------------------------------------------- */
.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 56px;
}

.filter-btn {
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all 0.25s var(--ease-smooth);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--navy);
  color: #FFFFFF !important;
  border-color: var(--navy);
  box-shadow: var(--shadow-md);
}

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

.portfolio-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
  display: flex;
  flex-direction: column;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.portfolio-img-wrapper {
  position: relative;
  height: 220px;
  background: var(--navy-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-placeholder-graphic {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  color: #FFFFFF !important;
  padding: 24px;
  text-align: center;
}

.portfolio-placeholder-graphic * {
  color: #FFFFFF !important;
}

.portfolio-category-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 34, 56, 0.95);
  backdrop-filter: blur(8px);
  color: #FF5500 !important;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  border: 1px solid rgba(255, 85, 0, 0.3);
}

.portfolio-body {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.portfolio-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.portfolio-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.portfolio-tech-tags span {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--bg-main);
  color: var(--navy);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-light);
}

.portfolio-link {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.2s ease;
}

.portfolio-link:hover {
  color: var(--orange);
  gap: 12px;
}

/* --------------------------------------------------------------------------
   8. Why EMBEDGROW & Process Timeline
   -------------------------------------------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.why-card {
  background: var(--bg-card);
  padding: 36px 28px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.why-num {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 14px;
}

.why-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Timeline Process */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.process-step {
  background: var(--bg-card);
  padding: 30px 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
}

.step-num {
  width: 42px;
  height: 42px;
  background: var(--navy);
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1rem;
  margin: 0 auto 20px auto;
  box-shadow: 0 4px 10px rgba(11, 34, 56, 0.25);
}

.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   9. Technologies Grid (NEW FRESH LIGHT & CRISP DESIGN)
   -------------------------------------------------------------------------- */
.tech-grid-section {
  background: var(--bg-main) !important;
  color: var(--text-primary) !important;
  position: relative;
  overflow: hidden;
}

.tech-grid-section .section-title {
  color: var(--navy) !important;
}

.tech-grid-section .section-description {
  color: var(--text-muted) !important;
}

.tech-domain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 28px;
  margin-top: 48px;
}

.tech-domain-card {
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease-smooth);
}

.tech-domain-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}

.tech-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--bg-main);
}

.tech-card-icon {
  width: 44px;
  height: 44px;
  background: rgba(11, 114, 133, 0.1);
  color: var(--teal);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.tech-card-icon.icon-orange {
  background: rgba(255, 85, 0, 0.1);
  color: var(--orange);
}

.tech-card-icon.icon-navy {
  background: rgba(11, 34, 56, 0.1);
  color: var(--navy);
}

.tech-group-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy) !important;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tech-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tech-chip {
  background: #F1F5F9 !important;
  border: 1px solid #E2E8F0 !important;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 800 !important;
  font-size: 0.9rem;
  color: var(--navy) !important;
  transition: all 0.25s ease;
}

.tech-chip:hover {
  background: var(--navy) !important;
  border-color: var(--navy) !important;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   10. Call to Action Banner
   -------------------------------------------------------------------------- */
.cta-banner {
  background: linear-gradient(135deg, #0B2238 0%, #061524 100%) !important;
  color: #FFFFFF !important;
  padding: 88px 40px;
  text-align: center;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  margin: 40px auto;
  border: 1px solid rgba(255, 85, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  bottom: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 250px;
  background: radial-gradient(ellipse, rgba(255, 85, 0, 0.22) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner h2 {
  font-size: 2.75rem;
  font-weight: 900;
  color: #FFFFFF !important;
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}

.cta-banner p {
  font-size: 1.2rem;
  color: #E2E8F0 !important;
  max-width: 660px;
  margin: 0 auto 40px auto;
}

/* --------------------------------------------------------------------------
   11. Contact Cards & Form Styling
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

.contact-info-card {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  background: rgba(11, 114, 133, 0.1);
  color: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 22px;
  height: 22px;
}

.contact-info-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.contact-info-text p, .contact-info-text a {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-form-card {
  background: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

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

.form-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: var(--bg-main);
  color: var(--text-primary);
  transition: all 0.2s ease;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(255, 85, 0, 0.15);
}

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

.form-status-msg {
  margin-top: 20px;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 700;
  display: none;
}

.form-status-msg.success {
  display: block;
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-status-msg.error {
  display: block;
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.footer {
  background-color: var(--navy-dark);
  color: #FFFFFF !important;
  padding: 88px 0 36px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.footer-logo-img {
  height: 56px;
  width: auto;
  object-fit: contain;
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--radius-sm);
}

.footer-brand-desc {
  color: #CBD5E1;
  font-size: 0.95rem;
  margin-top: 20px;
  max-width: 320px;
  line-height: 1.65;
}

.footer-heading {
  font-size: 1.05rem;
  font-weight: 800;
  color: #FFFFFF !important;
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: #CBD5E1;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--orange);
}

.social-links {
  display: flex;
  gap: 14px;
}

.social-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: var(--orange);
  transform: translateY(-4px);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: #94A3B8;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   13. Floating WhatsApp Contact Button
   -------------------------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  background-color: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 9999;
  transition: transform 0.25s var(--ease-out-back), box-shadow 0.25s ease;
  text-decoration: none;
  outline: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  background-color: var(--navy);
  color: #FFFFFF !important;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  box-shadow: var(--shadow-md);
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent var(--navy);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* --------------------------------------------------------------------------
   14. Scroll Reveal Animations & Responsive Media Queries
   -------------------------------------------------------------------------- */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s var(--ease-smooth), transform 0.6s var(--ease-smooth);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .hero-content {
    max-width: 100%;
    text-align: center;
  }

  .hero-badge-pill {
    margin: 0 auto 24px auto;
  }

  .hero-stats-row {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .process-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

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

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

  .section-title {
    font-size: 2.15rem;
  }

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

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: var(--navbar-height);
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    padding: 36px 0;
    gap: 22px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xl);
    clip-path: circle(0.5% at 100% 0);
    transition: clip-path 0.4s var(--ease-smooth);
  }

  .nav-menu.active {
    clip-path: circle(140% at 100% 0);
  }

  .nav-cta {
    display: none;
  }

  .equal-services-grid {
    grid-template-columns: 1fr;
  }

  .categories-container {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .navbar-logo-img {
    height: 38px;
  }

  .logo-name {
    font-size: 1.2rem;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

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

  .whatsapp-float {
    bottom: 16px;
    right: 16px;
    width: 52px;
    height: 52px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}

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