/* ================================================
   ADVN Global - Design System
   Pure HTML/CSS (No React)
   ================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* --- CSS Variables --- */
:root {
  --red: #e53e3e;
  --red-dark: #c53030;
  --red-light: #fff5f5;
  --red-100: #fed7d7;
  --dark: #1a1a2e;
  --dark-2: #2d3748;
  --gray-900: #1a202c;
  --gray-800: #2d3748;
  --gray-700: #4a5568;
  --gray-600: #718096;
  --gray-500: #a0aec0;
  --gray-400: #cbd5e0;
  --gray-300: #e2e8f0;
  --gray-200: #edf2f7;
  --gray-100: #f7fafc;
  --white: #ffffff;
  --gradient-bg: linear-gradient(135deg, #fff5f5 0%, #fff 50%, #fef2f2 100%);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --shadow-xl: 0 20px 60px rgba(0, 0, 0, 0.18);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;
  --radius-full: 9999px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
  --header-h: 65px;
  --black: #0c0c0c;
  --dark-blue: #1a1a2e;
  --glass: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.3);
  --shadow-premium: 0 20px 40px -12px rgba(0, 0, 0, 0.1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font);
}

input,
textarea,
select {
  font-family: var(--font);
  outline: none;
}

svg {
  display: inline-block;
  vertical-align: middle;
}

/* --- Container --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Utility --- */
.text-red {
  color: var(--red);
}

.text-dark {
  color: var(--dark);
}

.text-gray {
  color: var(--gray-600);
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.mb-2 {
  margin-bottom: 8px;
}

.mb-4 {
  margin-bottom: 16px;
}

.mb-6 {
  margin-bottom: 24px;
}

.mt-4 {
  margin-top: 16px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
  white-space: nowrap;
  line-height: 1;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(229, 62, 62, 0.35);
}

.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 62, 62, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--gray-400);
}

.btn-outline:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--red);
  padding: 10px 20px;
}

.btn-ghost:hover {
  background: var(--red-light);
}

.btn-lg {
  padding: 14px 36px;
  font-size: 1rem;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 0.8rem;
}

.btn-gradient {
  background: linear-gradient(135deg, #1a1a2e 0%, #0c0c0c 100%);
  color: var(--white);
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-gradient:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  filter: brightness(1.2);
}

.btn-white {
  background: white;
  color: var(--black);
  border: none;
}

.btn-white:hover {
  background: var(--red);
  color: white;
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid white;
}

.btn-outline-white:hover {
  background: white;
  color: var(--black);
}

/* --- Glassmorphism & Modern Utils --- */
.glass-panel {
  background: var(--glass);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
}

.shadow-premium {
  box-shadow: var(--shadow-premium);
}

.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.heading-accent {
  display: inline-block;
  position: relative;
  margin-bottom: 24px;
  padding-left: 20px;
  border-left: 4px solid var(--red);
  line-height: 1.1;
}

.accent-line {
  width: 60px;
  height: 4px;
  background: var(--red);
  margin-bottom: 24px;
  border-radius: 2px;
}

/* --- Badge --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
}

.badge-red {
  background: rgba(229, 62, 62, 0.1);
  color: var(--red);
}

.badge-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

/* ================================================
   HEADER / NAVIGATION
   ================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: var(--transition);
}

.header.scrolled {
  height: 60px;
  box-shadow: var(--shadow-md);
}

.header.scrolled .header-inner {
  height: 60px;
}

.header-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: 32px;
}

.logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 40px;
  width: auto;
  margin-top: 5px;
  margin-right: 30px;
}

.logo-box {
  background: var(--red);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 8px;
  line-height: 0.95;
  transition: var(--transition);
}

.logo-box strong {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: normal;
  display: block;
}

.logo-box span {
  font-size: 0.38rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  opacity: 0.95;
  text-transform: lowercase;
  display: block;
  margin-top: -2px;
}



/* Nav */
.nav-desktop {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-desktop>li {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--red);
  background: var(--red-light);
}

.nav-link.active {
  font-weight: 600;
}

.nav-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.nav-desktop>li:hover .nav-link svg {
  transform: rotate(180deg);
}

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 200px;
  border: 1px solid var(--gray-200);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: 100;
}

.nav-desktop>li:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--gray-700);
  transition: var(--transition);
}

.dropdown a:hover {
  background: var(--red-light);
  color: var(--red);
}

/* Header Right */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
  margin-left: auto;
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dark);
  white-space: nowrap;
}

.header-phone a {
  color: var(--red);
  font-weight: 700;
}

.header-phone a:hover {
  text-decoration: underline;
}

.header-phone svg {
  color: var(--red);
  width: 14px;
  height: 14px;
}

/* Mobile Menu Button */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-toggle:hover {
  background: var(--gray-100);
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--gray-700);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 24px 24px;
  overflow-y: auto;
  max-height: calc(100vh - var(--header-h));
  z-index: 999;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.25s ease;
}

.nav-mobile.open {
  display: block;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.nav-mobile a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--gray-700);
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s;
}

.nav-mobile a:hover {
  color: var(--red);
}

.nav-mobile a:last-child {
  border-bottom: none;
}

.nav-mobile .mobile-sub {
  padding-left: 16px;
  font-size: 0.9rem;
  color: var(--gray-600);
}

.nav-mobile .mobile-sub:hover {
  color: var(--red);
}

/* ================================================
   PAGE LAYOUT
   ================================================ */
main {
  padding-top: var(--header-h);
}

main.contact-page {
  padding-top: 0;
}

section {
  padding: 80px 0;
}


/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
}

.section-label::before,
.section-label::after {
  content: '';
  flex: 1;
  min-width: 24px;
  height: 1px;
  background: var(--red);
  opacity: 0.4;
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 16px;
}

.section-title span {
  color: var(--red);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================
   HERO SECTION
   ================================================ */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: flex-start;
  background: var(--gradient-bg);
  overflow: hidden;
  padding: 64px 0 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(229, 62, 62, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(229, 62, 62, 0.05) 0%, transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 560px;
}

.hero-badge {
  margin-bottom: 20px;
}

/* Slider */
.hero-slides {
  position: relative;
}

.slide {
  display: none;
  animation: fadeIn 0.6s ease;
}

.slide.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 24px;
}

.hero-title .highlight {
  color: var(--red);
  display: block;
  font-size: x-large;
}

.hero-desc {
  font-size: 1.05rem;
  color: var(--gray-600);
  margin-bottom: 36px;
  line-height: 1.75;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.hero-stat-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-top: 4px;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
}

.slider-dots {
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 28px;
  height: 4px;
  border-radius: 2px;
  background: var(--gray-300);
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.slider-dot.active {
  background: var(--red);
  width: 40px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--gray-600);
  background: var(--white);
}

.slider-btn:hover {
  border-color: var(--red);
  color: var(--red);
  background: var(--red-light);
}

.slider-btn svg {
  width: 16px;
  height: 16px;
}

/* Hero Image (right side) */
.hero-visual {
  position: relative;
}

.hero-image-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-200);
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-float-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 160px;
  animation: float 4s ease-in-out infinite;
}

.hero-float-card:nth-child(2) {
  animation-delay: 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

.hero-float-card.top-right {
  top: -20px;
  right: -20px;
}

.hero-float-card.mid-right {
  top: 50%;
  right: -30px;
  transform: translateY(-50%);
}

.hero-float-card.bottom-left {
  bottom: -20px;
  left: -20px;
}

.float-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.2rem;
}

.float-icon.red {
  background: var(--red);
}

.float-icon.yellow {
  background: #f6c90e;
}

.float-icon.dark {
  background: var(--dark);
}

.float-text strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
}

.float-text span {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.float-avatars {
  display: flex;
}

.float-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid var(--white);
  margin-left: -8px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
  color: white;
  overflow: hidden;
}

.float-avatar:first-child {
  margin-left: 0;
}

.float-avatar.pink {
  background: #f9a8d4;
}

.float-avatar.dark-red {
  background: #9b2335;
}

.float-avatar-count {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark);
}

/* ================================================
   SERVICES SECTION
   ================================================ */
.services {
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0;
  border: 1px solid var(--gray-200);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.service-card-header {
  background: var(--red);
  padding: 40px 24px;
  text-align: center;
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.service-card-header .service-icon {
  width: 64px;
  height: 64px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  margin-bottom: 0;
  font-size: 2rem;
}

.service-card-header .service-title {
  color: var(--white);
  margin-bottom: 0;
  font-size: 1.3rem;
  font-weight: 800;
}

.service-card-body {
  padding: 32px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--red);
}

.service-card:hover .service-icon svg {
  color: white;
}

.service-icon svg {
  color: var(--red);
  width: 26px;
  height: 26px;
  transition: var(--transition);
}

.service-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.service-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 16px;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.service-tag {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--red);
  background: var(--red-light);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s;
}

.service-link:hover {
  gap: 10px;
}

/* Circular View More Button */
.btn-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: auto;
}

.btn-circle:hover {
  background: var(--red);
  transform: scale(1.1);
}

.btn-circle svg {
  width: 24px;
  height: 24px;
}

/* ================================================
   WHY CHOOSE US
   ================================================ */
.why-us {
  background: var(--gray-100);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.why-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
  transform: scaleX(0);
  transition: var(--transition);
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.why-card:hover::after {
  transform: scaleX(1);
}

.why-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.8rem;
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--red);
  transform: scale(1.1);
}

.why-card:hover .why-icon svg {
  color: white;
}

.why-icon svg {
  color: var(--red);
  width: 32px;
  height: 32px;
  transition: color 0.2s;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.why-desc {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ================================================
   WORK PROCESS
   ================================================ */
.process {
  background: var(--white);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, var(--red), rgba(229, 62, 62, 0.2));
  z-index: 0;
}

.process-card {
  text-align: center;
  position: relative;
  z-index: 1;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  background: var(--white);
}

.process-card:hover {
  background: var(--red-light);
  transform: translateY(-4px);
}

.process-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 20px rgba(229, 62, 62, 0.4);
  transition: var(--transition);
}

.process-card:hover .process-num {
  transform: scale(1.1);
  box-shadow: 0 8px 32px rgba(229, 62, 62, 0.5);
}

.process-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}

.process-desc {
  font-size: 0.85rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ================================================
   FEATURED PROJECTS
   ================================================ */
.projects {
  background: var(--black);
  color: var(--white);
}

.projects .section-title {
  color: var(--white);
}

.projects .section-desc {
  color: var(--gray-400);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.project-img {
  height: 200px;
  overflow: hidden;
  position: relative;
  background: var(--gray-200);
}

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.project-card:hover .project-img img {
  transform: scale(1.08);
}

.project-img-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--red-light), var(--gray-100));
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 16px;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-overlay-btn {
  color: white;
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.project-body {
  padding: 20px;
}

.project-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.project-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.35;
}

.project-desc {
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.6;
}

.project-tech {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.project-tech-tag {
  font-size: 0.7rem;
  padding: 2px 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-weight: 600;
}

/* ================================================
   CTA BANNER
   ================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--dark) 0%, #2a0a0a 50%, #1a1a2e 100%);
  color: var(--white);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.15) 0%, transparent 70%);
}

.cta-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 62, 62, 0.1) 0%, transparent 70%);
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 40px;
  position: relative;
  z-index: 1;
}

.cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 1rem;
  opacity: 0.75;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-white {
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
}

.btn-white:hover {
  background: var(--red);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(229, 62, 62, 0.4);
}

.btn-outline-white {
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  background: transparent;
}

.btn-outline-white:hover {
  border-color: white;
  background: rgba(255, 255, 255, 0.1);
}

/* ================================================
   CONTACT SECTION
   ================================================ */
.contact {
  background: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 16px;
}

.contact-info p {
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--red-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  color: var(--red);
  width: 18px;
  height: 18px;
}

.contact-item-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 500;
}

/* Contact Form */
.contact-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 36px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 6px;
}

.form-label span {
  color: var(--red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--dark);
  background: var(--white);
  transition: var(--transition);
  -webkit-appearance: none;
  appearance: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(229, 62, 62, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--gray-400);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23718096' d='M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
}

/* ================================================
   CONTACT PAGE - Modern Layout
   ================================================ */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}


/* Form modern style */
.contact-form-modern {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-600);
}

.req {
  color: var(--red);
}

/* Custom Checkbox */
.form-checkboxes {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--red);
  cursor: pointer;
}

.checkbox-custom {
  display: none;
}

/* Contact Info Card (horizontal) */
.contact-info-img {
  width: 100%;
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  object-fit: cover;
  aspect-ratio: 16/9;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
  color: inherit;
  border: 1px solid transparent;
}

.contact-info-card:hover {
  background: var(--red-light);
  border-color: var(--red-100);
  transform: translateX(4px);
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--dark);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.contact-info-card:hover .contact-info-icon {
  background: var(--red);
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  fill: white;
}

.contact-info-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.contact-info-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark);
}

@media (max-width: 991px) {
  .contact-page-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-info-col {
    order: -1;
  }

  .contact-info-img {
    aspect-ratio: 21/9;
  }
}

@media (max-width: 575px) {
  .form-row-2 {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-checkboxes {
    gap: 16px;
    flex-direction: column;
  }
}


/* ================================================
   FOOTER
   ================================================ */
.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 0;
}

/* ================================================
   CTA BANNER (Modern Light)
   ================================================ */
.cta-banner {
  background: #f8f9fa;
  padding: 100px 0;
  color: #111111;
  text-align: center;
  border-top: 1px solid #eeeeee;
}

.cta-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  color: #111111 !important;
}

.cta-desc {
  font-size: 1.15rem;
  opacity: 0.85;
  max-width: 760px;
  margin: 0 auto 40px;
  color: #444444 !important;
  line-height: 1.6;
}

.cta-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
}

/* ================================================
   FOOTER (Modern Light)
   ================================================ */
#footer.footer {
  background: #ffffff !important;
  color: #333333 !important;
  padding: 80px 0 0;
  border-top: 1px solid #f0f0f0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-brand {
  max-width: 320px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.footer-logo-box {
  background: var(--red);
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-logo-box strong {
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff !important;
}

.footer-logo-box span {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: #ffffff !important;
}

.footer-logo-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111111 !important;
}

.footer-brand p {
  font-size: 0.95rem;
  color: #555555 !important;
  margin-bottom: 32px;
  line-height: 1.6;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f4f4f4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #111111;
  transition: all 0.3s;
}

.footer-social a:hover {
  background: var(--red);
  color: white;
  transform: translateY(-4px);
}

.footer-col h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #111111 !important;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.95rem;
  color: #666666;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 32px 0;
  border-top: 1px solid #f0f0f0;
  margin-top: 48px;
  font-size: 0.85rem;
  color: #888888;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a {
  color: #888888;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--red);
}

/* ================================================
   CLIENTS / PARTNERS SECTION (optional)
   ================================================ */
.clients {
  background: var(--gray-100);
  padding: 48px 0;
}

.clients-row {
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
}

.client-logo {
  height: 36px;
  opacity: 0.45;
  transition: opacity 0.2s;
  filter: grayscale(100%);
  object-fit: contain;
}

.client-logo:hover {
  opacity: 1;
  filter: none;
}

/* ================================================
   PAGE HERO (inner pages)
   ================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #2a0a0a 100%);
  color: white;
  padding: 100px 0 60px;
  text-align: center;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-hero p {
  font-size: 1.05rem;
  opacity: 0.75;
  max-width: 500px;
  margin: 0 auto;
}

/* ================================================
   SCROLL TO TOP
   ================================================ */
.scroll-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 990;
  border: none;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  background: var(--red-dark);
}

.scroll-top svg {
  width: 18px;
  height: 18px;
}

/* ================================================
   TOAST NOTIFICATION
   ================================================ */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--dark);
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 2000;
  white-space: nowrap;
}

.toast.success {
  background: #22c55e;
}

.toast.error {
  background: var(--red);
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ================================================
   ANIMATIONS
   ================================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease both;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

/* Intersection observer classes */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-aos].aos-animate {
  opacity: 1;
  transform: translateY(0);
}

[data-aos][data-delay="100"] {
  transition-delay: 0.1s;
}

[data-aos][data-delay="200"] {
  transition-delay: 0.2s;
}

[data-aos][data-delay="300"] {
  transition-delay: 0.3s;
}

[data-aos][data-delay="400"] {
  transition-delay: 0.4s;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1100px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid::before {
    display: none;
  }
}

@media (max-width: 900px) {
  section {
    padding: 60px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-visual {
    order: -1;
  }

  .hero-image-card {
    aspect-ratio: 16/9;
  }

  .hero-float-card.mid-right {
    right: -10px;
  }

  .why-grid {
    grid-template-columns: 1fr 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .cta-desc {
    max-width: 100%;
  }

  .cta-actions {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 64px;
  }

  .nav-desktop {
    display: none;
  }

  .header-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header-right .btn {
    display: none;
  }

  .hero {
    padding: 40px 0 32px;
  }

  .hero-title {
    font-size: 1.4rem !important;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.95rem;
  }

  /* Sub-page hero headings */
  .page-hero {
    padding: 80px 0 48px;
  }

  .page-hero h1 {
    font-size: 1.6rem !important;
  }

  .cta-title {
    font-size: 1.5rem !important;
  }

  .about-hero h1,
  .about-hero .hero-heading {
    font-size: 1.6rem !important;
  }

  .careers-hero h1 {
    font-size: 1.4rem !important;
  }

  .career-banner-red h2 {
    font-size: 1.2rem !important;
  }

  .hero-stats {
    gap: 20px;
  }

  .hero-stat-value {
    font-size: 1.4rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 24px;
  }

  .hero-float-card {
    display: none;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 1.15rem !important;
    line-height: 1.2;
  }

  .hero-desc {
    font-size: 0.9rem;
    margin-bottom: 24px;
  }

  .hero-actions {
    flex-direction: row;
    align-items: center;
  }

  .hero-actions .btn {
    text-align: center;
    justify-content: center;
  }

  .slider-controls {
    margin-top: 24px !important;
  }

  /* Sub-page hero headings at very small screens */
  .page-hero h1 {
    font-size: 1.3rem !important;
  }

  .cta-title {
    font-size: 1.2rem !important;
  }

  .careers-hero h1 {
    font-size: 1.2rem !important;
  }

  /* Move WhatsApp btn up on mobile so it doesn't overlap scroll-top */
  .dctact {
    bottom: 80px !important;
  }
}

/* ================================================
   BLOG & NEWS
   ================================================ */
.news-hero {
  padding: 80px 0;
  background: var(--dark);
  color: white;
}

.news-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.news-sub {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
}

.news-breadcrumb {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

.news-breadcrumb a {
  color: var(--red);
  text-decoration: none;
}

.news-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-base);
  height: 100%;
  border: 1px solid var(--gray-100);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.news-card .thumb {
  display: block;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.news-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-base);
}

.news-card:hover .thumb img {
  transform: scale(1.05);
}

.news-card .body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.news-meta .cat {
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  margin-right: 8px;
}

.news-heading {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.news-heading a {
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.news-heading a:hover {
  color: var(--red);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--gray-600);
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

.news-readmore {
  margin-top: auto;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: gap 0.2s;
}

.news-readmore:hover {
  gap: 8px;
}

/* ================================================
   CAREERS PAGE Modernization
   ================================================ */

.careers-hero {
  position: relative;
  height: min(70vh, 600px);
  background: #fdfdfd;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.mosaic-bg {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(12, 1fr);
  gap: 1.5rem;
  padding: 2rem;
  opacity: 0.15;
  filter: grayscale(100%);
  pointer-events: none;
}

.mosaic-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--gray-200);
}

.mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mosaic positions */
.m1 {
  grid-area: 1 / 1 / 6 / 4;
}

.m2 {
  grid-area: 2 / 5 / 8 / 8;
}

.m3 {
  grid-area: 1 / 9 / 5 / 12;
}

.m4 {
  grid-area: 7 / 2 / 12 / 5;
}

.m5 {
  grid-area: 9 / 6 / 13 / 9;
}

.m6 {
  grid-area: 6 / 10 / 11 / 13;
}

.career-banner-red {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 40vw);
  height: 220px;
  background: var(--red);
  display: flex;
  align-items: flex-end;
  padding: 2.5rem;
  z-index: 10;
}

.career-banner-red h2 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 900;
  margin: 0;
  line-height: 1;
}

.job-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.job-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 1px solid var(--gray-100);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.job-card:hover {
  transform: translateY(-8px);
  border-color: var(--red);
  box-shadow: var(--shadow-xl);
}

.job-tag {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  background: var(--gray-100);
  color: var(--gray-600);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  width: fit-content;
}

.job-tag.featured {
  background: var(--red-light);
  color: var(--red);
}

.job-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-blue);
  margin-bottom: 1rem;
}

.job-location {
  font-size: 0.9rem;
  color: var(--gray-500);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* ================================================
   CONTACT PAGE Restoration
   ================================================ */

.contact-header-highlight {
  display: inline-block;
  background: var(--red);
  color: white;
  padding: 0 10px;
  margin: 2px 0;
}

.input-underline {
  border: none;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 10px 0;
  width: 100%;
  background: transparent;
  transition: border-color 0.3s;
}

.input-underline:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.contact-sidebar-card {
  background: #f8f8f8;
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
}

.sidebar-icon-box {
  width: 60px;
  height: 60px;
  background: var(--dark-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.5rem;
}

/* ================================================
   CONTACT PAGE - Hero Banner
   ================================================ */
.contact-hero {
  position: relative;
  height: 280px;
  overflow: hidden;
  margin-top: var(--header-h);
}

.contact-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(30%) brightness(0.92);
  display: block;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  z-index: 1;
}

/* Phone field wrapper */
.contact-phone-wrap .iti {
  width: 100%;
}

.contact-phone-wrap .iti input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--black);
  border-radius: 0;
  padding: 10px 0 10px 54px;
  background: transparent;
  font-family: var(--font);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.contact-phone-wrap .iti input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

/* ================================================
   CONTACT PAGE - Why Choose ADVN Section
   ================================================ */
.contact-why-section {
  padding: 72px 0;
  background: var(--white);
}

.contact-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.contact-why-left {
  padding: 0 60px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.contact-why-item {
  margin-bottom: 32px;
}

.contact-why-item h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}

.contact-why-item p {
  font-size: 0.93rem;
  color: var(--gray-600);
  line-height: 1.7;
}

.contact-why-right {
  position: relative;
}

.contact-why-red-box {
  background: var(--red);
  color: white;
  padding: 48px 44px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 28px;
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.contact-why-feature h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: white;
  margin-bottom: 8px;
}

.contact-why-feature p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
}

.contact-why-cta {
  margin-top: 8px;
}

/* Responsive */
@media (max-width: 991px) {
  .contact-why-grid {
    grid-template-columns: 1fr;
  }

  .contact-why-left {
    padding: 0 0 40px 0;
  }

  .contact-why-red-box {
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 767px) {
  .col-lg-5 {
    padding-left: 0 !important;
    margin-top: 40px;
  }
}

/* ================================================
   PAGE HERO (inner pages: services, industries, technologies)
   ================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, #1a0a0a 60%, var(--dark-blue) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-top: var(--header-h);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(229, 62, 62, 0.18) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(229, 62, 62, 0.12) 0%, transparent 45%);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .section-label {
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
}

.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ================================================
   SERVICE DETAIL SECTIONS
   ================================================ */
.service-detail {
  padding: 100px 0;
  background: var(--white);
}

.service-detail:nth-child(even) {
  background: var(--gray-100);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.service-feature-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--gray-700);
  line-height: 1.6;
  padding: 12px 16px;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
}

.service-feature-list li::before {
  content: '✓';
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ================================================
   ABOUT HERO (glassmorphism page header)
   ================================================ */
.about-hero {
  margin-top: var(--header-h);
}

.animate-fadeInUp {
  animation: fadeInUp 0.7s ease both;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================================================
   CAREERS PAGE
   ================================================ */
.careers-hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  margin-top: var(--header-h);
  padding: 80px 0;
  background: var(--gray-100);
}

/* Mosaic Background */
.mosaic-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  opacity: 0.15;
}

.mosaic-img {
  overflow: hidden;
}

.mosaic-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Red Banner Accent */
.career-banner-red {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  background: var(--red);
  padding: 32px 40px;
  z-index: 2;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
}

.career-banner-red h2 {
  color: white;
  font-size: 2rem;
  font-weight: 900;
  text-align: right;
  margin: 0;
}

/* Job Card */
.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 32px;
  transition: var(--transition);
  height: 100%;
}

.job-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--red);
}

/* ================================================
   PORTFOLIO / PROJECTS GRID
   ================================================ */
.projects {
  background: var(--dark);
}

.projects .section-title {
  color: var(--white);
}

.projects .section-desc {
  color: var(--gray-400);
}

.projects .section-label {
  color: var(--red);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.project-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  background: var(--dark-2);
}

.project-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.project-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
}

.project-item:hover img {
  transform: scale(1.04);
}

/* ================================================
   RESPONSIVE - INNER PAGES
   ================================================ */
@media (max-width: 991px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .service-detail:nth-child(even) .service-detail-grid {
    direction: ltr !important;
  }

  .career-banner-red {
    width: 160px;
    padding: 20px 24px;
  }

  .career-banner-red h2 {
    font-size: 1.2rem;
  }

  .page-hero {
    padding: 100px 0 60px;
  }

  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .careers-hero {
    min-height: 60vh;
    padding: 60px 0;
  }

  .career-banner-red {
    display: none;
  }

  .mosaic-bg {
    opacity: 0.08;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-item img {
    height: 200px;
  }

  .service-detail {
    padding: 60px 0;
  }
}