/* ==========================================================================
   INTECH DEV CO., LTD. - Official Website Stylesheet (Khmer Edition)
   Brand Colors: Primary #085e9f | Secondary #2a7548 | Heading #3e5055 | Content #3d4348 | Accent #ffb743
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Noto+Sans+Khmer:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #085e9f;
  --primary-dark: #064575;
  --primary-light: #e8f3fb;
  --secondary: #2a7548;
  --secondary-dark: #1d5232;
  --secondary-light: #eaf5ef;
  --heading: #3e5055;
  --content: #3d4348;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --cardHeaderBG: #085e9f0d;
  --accent: #ffb743;
  --accent-dark: #e09b2b;
  --border: #e2e8f0;
  --border-light: #f1f5f9;
  --white: #ffffff;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px rgba(8, 94, 159, 0.08);
  --shadow-lg: 0 10px 25px rgba(8, 94, 159, 0.12);
  --shadow-hover: 0 18px 35px rgba(8, 94, 159, 0.15);
  --shadow-secondary: 0 10px 25px rgba(42, 117, 72, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Kantumruy Pro', 'Noto Sans Khmer', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--content);
  background-color: #ffffff;
  line-height: 1.68;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

ul, ol {
  list-style: none;
}

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

/* Layout Containers */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.container-fluid {
  width: 100%;
  padding-left: 24px;
  padding-right: 24px;
}

/* Top Announcement / Info Bar */
.top-bar {
  background: #f1f5f9;
  border-bottom: 1px solid var(--border);
  font-size: 0.85rem;
  color: #475569;
  padding: 8px 0;
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar-items {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #475569;
  transition: color var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--primary);
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 94, 159, 0.08);
  color: var(--primary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
}

.top-bar-duns {
  background: rgba(42, 117, 72, 0.1);
  color: var(--secondary);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.78rem;
}

/* Navigation Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-normal);
}

.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
  background: rgba(255, 255, 255, 0.98);
}

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

.brand-logo {
  display: flex;
  align-items: center;
}

.brand-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  border-radius: 3px;
  transition: width var(--transition-normal);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(8, 94, 159, 0.08);
  color: var(--primary);
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  transition: var(--transition-fast);
}

.btn-phone:hover {
  background: var(--primary);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 94, 159, 0.25);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 22px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #ffffff !important;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(8, 94, 159, 0.25);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-cta:hover {
  background: linear-gradient(90deg, var(--primary-dark), var(--secondary-dark));
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(8, 94, 159, 0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  cursor: pointer;
  padding: 6px;
  border-radius: 8px;
}

.menu-toggle span {
  display: block;
  height: 2.5px;
  width: 100%;
  background: var(--heading);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 1100;
  box-shadow: -8px 0 30px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  padding: 24px;
  transition: right var(--transition-normal);
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.drawer-close {
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--heading);
  cursor: pointer;
}

.drawer-links {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.drawer-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--heading);
  padding: 10px 12px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.drawer-link:hover,
.drawer-link.active {
  background: var(--primary-light);
  color: var(--primary);
}

.drawer-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, rgba(8, 94, 159, 0.04) 0%, rgba(255, 255, 255, 1) 40%, rgba(42, 117, 72, 0.05) 100%);
  padding: 90px 0 80px 0;
  overflow: hidden;
}

.hero-glow-1 {
  position: absolute;
  top: -100px;
  right: -80px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(8, 94, 159, 0.12) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-glow-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 450px;
  height: 450px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(42, 117, 72, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(8, 94, 159, 0.08);
  border: 1px solid rgba(8, 94, 159, 0.2);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary);
  box-shadow: 0 0 8px var(--secondary);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
  font-size: 2.75rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 20px;
}

.hero-title .gradient-text {
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.12rem;
  color: #4b5563;
  margin-bottom: 32px;
  line-height: 1.8;
  max-width: 620px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 6px 20px rgba(8, 94, 159, 0.3);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(8, 94, 159, 0.4);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 28px;
  background: #ffffff;
  color: var(--heading);
  border: 1.5px solid var(--border);
  font-weight: 600;
  font-size: 1rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-3px);
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item h3 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.stat-item p {
  font-size: 0.86rem;
  color: var(--text-muted);
  font-weight: 500;
}

.hero-visual {
  position: relative;
}

.hero-visual-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-light);
}

.window-dots {
  display: flex;
  gap: 6px;
}

.window-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.floating-badge {
  position: absolute;
  background: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  animation: float 4s ease-in-out infinite;
}

.floating-badge-1 {
  top: -20px;
  left: -20px;
  animation-delay: 0s;
}

.floating-badge-2 {
  bottom: -20px;
  right: -20px;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

/* Section Common Headings */
.section {
  padding: 85px 0;
  position: relative;
}

.section-bg-alt {
  background-color: #f8fafc;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.86rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--secondary);
  background: rgba(42, 117, 72, 0.1);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.4;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Services Grid & Cards */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(8, 94, 159, 0.3);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-box {
  width: 72px;
  height: 72px;
  background: var(--cardHeaderBG);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  padding: 12px;
  transition: var(--transition-fast);
}

.service-card:hover .service-icon-box {
  background: rgba(8, 94, 159, 0.12);
  transform: scale(1.06);
}

.service-card-title {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 12px;
  line-height: 1.45;
}

.service-card-desc {
  font-size: 0.94rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: auto;
}

.service-link:hover {
  color: var(--secondary);
  gap: 10px;
}

/* Achievements & Projects Section */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.project-image {
  position: relative;
  width: 100%;
  height: 240px;
  background: #f1f5f9;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.project-card:hover .project-image img {
  transform: scale(1.05);
}

.project-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

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

.project-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 10px;
}

.project-desc {
  font-size: 0.95rem;
  color: #4b5563;
  line-height: 1.7;
  margin-bottom: 20px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.project-tag {
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.project-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  flex-wrap: wrap;
}

.btn-app {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  transition: var(--transition-fast);
}

.btn-app:hover {
  background: var(--primary);
  color: #ffffff;
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  transition: all var(--transition-normal);
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(42, 117, 72, 0.3);
}

.team-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-light), var(--secondary-light));
  margin: 0 auto 16px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  border: 3px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.team-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 6px;
}

.team-role {
  font-size: 0.88rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 12px;
}

.team-badge {
  display: inline-block;
  background: var(--bg-light);
  border: 1px solid var(--border);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Logos Slider & Grid */
.logos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
}

.logo-item {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.logo-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.logo-item img {
  max-height: 46px;
  width: auto;
}

/* Contact Quick Section */
.contact-section {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  padding: 85px 0;
  position: relative;
  overflow: hidden;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.contact-info-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
  margin-bottom: 18px;
}

.contact-info-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  margin-bottom: 36px;
  line-height: 1.8;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 22px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.contact-item-box:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.2);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-item-content h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.contact-item-content p, 
.contact-item-content a {
  font-size: 0.95rem;
  color: #cbd5e1;
}

.contact-item-content a:hover {
  color: var(--accent);
}

.contact-form-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  color: var(--content);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.form-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 8px;
}

.form-subtitle {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--heading);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--content);
  transition: all var(--transition-fast);
}

.form-control:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(8, 94, 159, 0.12);
}

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

/* Footer */
.site-footer {
  background: #0b1320;
  color: #94a3b8;
  padding: 70px 0 25px 0;
  font-size: 0.92rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand img {
  height: 45px;
  margin-bottom: 18px;
}

.footer-brand p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: #94a3b8;
}

.footer-heading {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--accent);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  color: #94a3b8;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.footer-duns-badge {
  display: inline-block;
  background: rgba(255, 183, 67, 0.15);
  border: 1px solid rgba(255, 183, 67, 0.4);
  color: var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.84rem;
  margin-top: 6px;
}

.footer-bottom {
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #94a3b8;
}

.footer-legal-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Legal Pages Content Formatting (Privacy, Terms, Cookies) */
.legal-page-header {
  background: linear-gradient(135deg, rgba(8, 94, 159, 0.08) 0%, rgba(42, 117, 72, 0.06) 100%);
  padding: 60px 0 50px 0;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.legal-content-body {
  padding: 60px 0;
  max-width: 920px;
  margin: 0 auto;
}

.legal-content-body h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--heading);
  margin-top: 36px;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 1.5px solid var(--border-light);
}

.legal-content-body h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 24px;
  margin-bottom: 10px;
}

.legal-content-body p {
  margin-bottom: 16px;
  line-height: 1.85;
  color: #374151;
}

.legal-content-body ul, .legal-content-body ol {
  margin-bottom: 20px;
  padding-left: 24px;
}

.legal-content-body ul li {
  list-style-type: disc;
  margin-bottom: 8px;
  line-height: 1.75;
  color: #374151;
}

.legal-content-body ol li {
  list-style-type: decimal;
  margin-bottom: 8px;
  line-height: 1.75;
  color: #374151;
}

.legal-meta-box {
  background: #f8fafc;
  border-left: 4px solid var(--primary);
  padding: 16px 20px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin-bottom: 30px;
  font-size: 0.92rem;
  color: #475569;
}

/* Cookie Banner Component */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 680px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.18);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  transform: translateY(150%);
  transition: transform var(--transition-normal);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  margin-bottom: 4px;
}

.cookie-text p {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.6;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-cookie-accept {
  padding: 9px 18px;
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-cookie-accept:hover {
  background: var(--primary-dark);
}

.btn-cookie-decline {
  padding: 8px 16px;
  background: #f1f5f9;
  color: #475569;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-cookie-decline:hover {
  background: #e2e8f0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(8, 94, 159, 0.35);
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(8, 94, 159, 0.45);
}

/* Modal Popup */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 580px;
  width: 100%;
  padding: 32px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform var(--transition-normal);
}

.modal-overlay.open .modal-card {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #f1f5f9;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #475569;
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Notification Toast */
.toast-msg {
  position: fixed;
  top: 30px;
  right: 30px;
  background: #ffffff;
  border-left: 4px solid var(--secondary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 16px 22px;
  z-index: 3000;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform var(--transition-normal);
}

.toast-msg.show {
  transform: translateX(0);
}

/* Responsive Media Queries */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 868px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .nav-menu, .btn-phone, .btn-cta {
    display: none;
  }
  .menu-toggle {
    display: flex;
  }
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .top-bar {
    display: none;
  }
  .hero-title {
    font-size: 1.85rem;
  }
  .section-title {
    font-size: 1.7rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
