/* ============================================
   SPECIAL GUARD GROUP — Design System
   Premium Corporate Security Website
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Noto+Sans+Thai:wght@300;400;500;600;700;800;900&display=swap');

/* ============================================
   CSS Variables
   ============================================ */
:root {
  /* Primary Colors */
  --primary-900: #0A1628;
  --primary-800: #0F2240;
  --primary-700: #142E58;
  --primary-600: #1A3A70;
  --primary-500: #1B4DFF;
  --primary-400: #4D73FF;
  --primary-300: #7F99FF;
  --primary-200: #B2C0FF;
  --primary-100: #E5EAFF;
  --primary-50: #F0F3FF;

  /* Accent (Gold) */
  --accent: #C9A84C;
  --accent-light: #E2CB7A;
  --accent-dark: #A68A3E;
  --accent-50: #FEF9ED;
  --accent-100: #FCEFC4;

  /* Neutral */
  --white: #FFFFFF;
  --gray-50: #F8F9FC;
  --gray-100: #EFF1F5;
  --gray-200: #D8DCE6;
  --gray-300: #B0B8C9;
  --gray-400: #8892A6;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Status */
  --success: #10B981;
  --warning: #F59E0B;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 12px rgba(10, 22, 40, 0.08);
  --shadow-lg: 0 8px 30px rgba(10, 22, 40, 0.12);
  --shadow-xl: 0 20px 60px rgba(10, 22, 40, 0.15);
  --shadow-blue: 0 8px 30px rgba(27, 77, 255, 0.25);
  --shadow-gold: 0 8px 30px rgba(201, 168, 76, 0.25);

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  /* Container */
  --container-max: 1280px;
  --container-padding: 20px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Noto Sans Thai', 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-700);
  background-color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.3;
  color: var(--gray-900);
}

/* ============================================
   Layout Utilities
   ============================================ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: 80px 0;
}

.section-light {
  background: var(--white);
}

.section-gray {
  background: var(--gray-50);
}

.section-blue {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  color: var(--white);
}

.section-blue h2,
.section-blue h3,
.section-blue h4 {
  color: var(--white);
}

.section-blue p {
  color: var(--primary-200);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header .subtitle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-500);
  margin-bottom: 12px;
}

.section-blue .section-header .subtitle {
  color: var(--accent);
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-header p {
  font-size: 17px;
  color: var(--gray-500);
  max-width: 600px;
  margin: 0 auto;
}

.section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-500), var(--accent));
  border-radius: var(--radius-full);
  margin: 20px auto 0;
}

/* ============================================
   Top Bar
   ============================================ */
#header-placeholder {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.top-bar {
  background: var(--primary-900);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-bar-left a,
.top-bar-left span {
  color: var(--primary-200);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color var(--transition-fast);
}

.top-bar-left a:hover {
  color: var(--accent);
}

.top-bar-left i {
  font-size: 20px;
  color: var(--primary-400);
}

.top-bar-right,
.topbar-social {
  display: flex;
  gap: 20px;
}

.top-bar-right .social-icon,
.topbar-social .social-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-200);
  font-size: 28px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.top-bar-right .social-icon:nth-child(1),
.topbar-social .social-icon:nth-child(1) {
  background: #1877F2;
  color: var(--white);
  border-color: #1877F2;
}

.top-bar-right .social-icon:nth-child(1):hover,
.topbar-social .social-icon:nth-child(1):hover {
  background: #166FE5;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.35);
  border-color: transparent;
}

.top-bar-right .social-icon:nth-child(2),
.topbar-social .social-icon:nth-child(2) {
  background: #06C755;
  color: var(--white);
  border-color: #06C755;
}

.top-bar-right .social-icon:nth-child(2):hover,
.topbar-social .social-icon:nth-child(2):hover {
  background: #05a748;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(6, 199, 85, 0.35);
  border-color: transparent;
}

/* ============================================
   Header / Navigation
   ============================================ */
.header {
  background: var(--white);
  z-index: 1000;
  transition: all var(--transition-base);
  border-bottom: 1px solid var(--gray-100);
}

.header.scrolled {
  box-shadow: var(--shadow-lg);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 75px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-3px);
}

.logo-icon {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text .logo-name {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-900);
  line-height: 1.2;
  display: block;
}

.logo-text span {
  font-size: 11px;
  font-weight: 500;
  color: var(--gray-400);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a {
  padding: 8px 18px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-menu a:hover {
  color: var(--primary-500);
  background: var(--primary-50);
  transform: translateY(-3px);
}

.nav-menu a.active {
  color: var(--primary-500);
  font-weight: 600;
}

.nav-menu a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 3px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.nav-cta {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent)) !important;
  color: var(--primary-900) !important;
  padding: 10px 24px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 700 !important;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  box-shadow: var(--shadow-gold);
  transition: all var(--transition-base) !important;
}

.nav-cta:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201, 168, 76, 0.4) !important;
}

.nav-cta i {
  font-size: 24px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}

.hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--gray-700);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, #0D1F3C 100%);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.85) 0%, rgba(10, 22, 40, 0.6) 100%);
  z-index: 2;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  pointer-events: none;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 77, 255, 0.12) 0%, transparent 70%);
}

.hero-shape:nth-child(1) {
  width: 600px;
  height: 600px;
  top: -200px;
  right: -100px;
  animation: floatShape 8s ease-in-out infinite;
}

.hero-shape:nth-child(2) {
  width: 400px;
  height: 400px;
  bottom: -150px;
  left: -100px;
  animation: floatShape 10s ease-in-out infinite reverse;
}

.hero-shape:nth-child(3) {
  width: 300px;
  height: 300px;
  top: 50%;
  left: 50%;
  animation: floatShape 12s ease-in-out infinite;
}

@keyframes floatShape {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(30px, -20px) scale(1.05);
  }
}

.hero>.container {
  position: relative;
  z-index: 3;
  padding-top: 60px;
  padding-bottom: 60px;
}

.hero-content {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201, 168, 76, 0.15);
  border: 1px solid rgba(201, 168, 76, 0.35);
  color: var(--accent-light);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease-out;
}

.hero-badge i {
  color: var(--accent-light);
}

.hero-content h1 {
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.1s both;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h1 span {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--gray-100);
  margin-bottom: 32px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
  animation: fadeInUp 0.8s ease-out 0.2s both;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stat .number {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 4px;
}

.hero-stat .label {
  font-size: 14px;
  color: var(--gray-200);
  font-weight: 500;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  font-family: inherit;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--primary-900);
  box-shadow: var(--shadow-gold);
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(201, 168, 76, 0.4);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background: transparent;
  color: var(--primary-500);
  border: 2px solid var(--primary-200);
}

.btn-outline-blue:hover {
  background: var(--primary-50);
  border-color: var(--primary-500);
  transform: translateY(-2px);
}

.btn-white {
  background: var(--white);
  color: var(--primary-900);
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   Trust Badges
   ============================================ */
.trust-section {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--gray-100);
}

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 500;
}

.trust-badge i {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-50);
  color: var(--accent);
  border-radius: var(--radius-md);
  font-size: 18px;
}

/* ============================================
   Service Cards
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent));
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.service-card:hover {
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-50), var(--primary-100));
  border-radius: var(--radius-lg);
  font-size: 28px;
  color: var(--primary-500);
  transition: all var(--transition-base);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--white);
  transform: scale(1.1);
}

.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--gray-900);
}

.service-card p {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Service card with image (portfolio style from reference) */
.service-card-img {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.service-card-img:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
  cursor: pointer;
}

.service-card-img .card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-card-img:hover .card-image img {
  transform: none;
}

.service-card-img .card-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--primary-900);
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

.service-card-img .card-body {
  padding: 24px;
}

.service-card-img .card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.service-card-img .card-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.service-card-img .card-meta {
  display: flex;
  gap: 16px;
  padding-top: 16px;
  margin-top: 16px;
  border-top: 1px solid var(--gray-100);
  font-size: 13px;
  color: var(--gray-400);
}

.service-card-img .card-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.service-card-img .card-meta i {
  color: var(--accent);
}

/* ============================================
   Why Choose Us / Features Grid
   ============================================ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all var(--transition-base);
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(27, 77, 255, 0.3);
  transform: translateY(-6px);
}

.feature-card .feature-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(27, 77, 255, 0.2), rgba(0, 198, 255, 0.2));
  border-radius: var(--radius-lg);
  font-size: 24px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--white);
}

.feature-card p {
  font-size: 14px;
  color: var(--primary-300);
  line-height: 1.6;
}

/* ============================================
   Testimonials
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
  position: relative;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card .quote-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-size: 20px;
  margin-bottom: 16px;
}

.testimonial-card .stars {
  color: var(--accent);
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 2px;
}

.testimonial-card .review-text {
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
  margin-bottom: 20px;
}

.testimonial-card .reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card .reviewer-avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--accent-100), var(--accent));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
}

.testimonial-card .reviewer-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.testimonial-card .reviewer-info span {
  font-size: 13px;
  color: var(--gray-400);
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 50%, var(--primary-700) 100%);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
  border-top: 3px solid var(--accent);
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  left: -10%;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
}

.cta-section .container {
  position: relative;
  z-index: 2;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

/* ============================================
   Page Banner (Sub Pages)
   ============================================ */
.page-banner {
  background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-800) 100%);
  padding: 60px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 350px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(27, 77, 255, 0.15) 0%, transparent 70%);
}

.page-banner .breadcrumb {
  display: flex;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
  color: var(--primary-300);
  margin-bottom: 12px;
}

.page-banner .breadcrumb a {
  color: var(--primary-300);
}

.page-banner .breadcrumb a:hover {
  color: var(--accent);
}

.page-banner h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--white);
}

.page-banner p {
  color: var(--primary-200);
  font-size: 17px;
  margin-top: 12px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* ============================================
   Portfolio / Gallery Grid
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.portfolio-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
  transition: all 0.4s ease;
  cursor: pointer;
}

.portfolio-card:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.portfolio-card .card-image {
  position: relative;
  height: 240px;
  overflow: hidden;
}

.portfolio-card .card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .card-image img {
  transform: scale(1.08);
}

.portfolio-card .card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.7) 0%, transparent 60%);
  display: flex;
  align-items: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity var(--transition-base);
  cursor: pointer;
}

.portfolio-card:hover .card-overlay {
  opacity: 1;
}

.portfolio-card .card-overlay span {
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.portfolio-card .card-body {
  padding: 24px;
}

.portfolio-card .card-body h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.portfolio-card .card-body p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.portfolio-card .card-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 24px 24px;
}

.portfolio-card .card-tags span {
  background: var(--primary-50);
  color: var(--primary-500);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
}

/* ============================================
   Contact Page
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: var(--gray-50);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-200);
}

.contact-info-card .icon {
  width: 80px;
  height: 80px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-md);
  color: var(--white);
  font-size: 40px;
}

.contact-info-card h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--primary-500);
}

/* Contact Form */
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.contact-form-card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-card>p {
  color: var(--gray-500);
  font-size: 15px;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-size: 15px;
  font-family: inherit;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  color: var(--gray-800);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(27, 77, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: var(--primary-500);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all var(--transition-base);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit:hover {
  background: var(--primary-600);
  box-shadow: var(--shadow-blue);
  transform: translateY(-2px);
}

/* Google Map */
.map-section {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 30px;
  border: 1px solid var(--gray-100);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   Full Width Image Section
   ============================================ */
.full-image-section {
  position: relative;
  height: 400px;
  overflow: hidden;
}

.full-image-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.full-image-section .image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10, 22, 40, 0.9) 0%, rgba(10, 22, 40, 0.6) 100%);
  display: flex;
  align-items: center;
  padding: 0 60px;
}

.full-image-section .image-overlay .content {
  max-width: 500px;
}

.full-image-section .image-overlay h3 {
  font-size: 32px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}

.full-image-section .image-overlay p {
  font-size: 16px;
  color: var(--primary-200);
  line-height: 1.7;
}

/* ============================================
   Process Steps
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

.process-step {
  text-align: center;
  padding: 32px 20px;
  position: relative;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--primary-100);
  margin-bottom: 16px;
  font-family: 'Inter', sans-serif;
}

.process-step .step-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
  border-radius: var(--radius-full);
  color: var(--white);
  font-size: 24px;
}

.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

/* ============================================
   Service Detail
   ============================================ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding: 40px 0;
}

.service-detail.reverse {
  direction: rtl;
}

.service-detail.reverse>* {
  direction: ltr;
}

.service-detail-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-detail-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.service-detail-content h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.service-detail-content p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 20px;
}

.service-detail-content ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-detail-content ul li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--gray-600);
}

.service-detail-content ul li i {
  color: var(--accent);
  font-size: 16px;
  flex-shrink: 0;
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--primary-900);
  color: var(--primary-200);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 20px;
  color: var(--primary-300);
}

.footer-brand .top-bar-right {
  justify-content: flex-start;
}

.footer h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 12px;
}

.footer h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--primary-500);
  border-radius: var(--radius-full);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: var(--primary-300);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links a:hover {
  color: var(--accent);
  transform: translateX(4px);
}

.footer-links a::before {
  content: '›';
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-500);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
}

.footer-contact-item i {
  margin-top: 2px;
  color: var(--primary-400);
  font-size: 26px;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 40px;
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: var(--primary-400);
}

/* ============================================
   Floating Buttons
   ============================================ */
.line-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.line-float a {
  width: 76px;
  height: 76px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
  color: var(--white);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
}

.top-btn {
  background: var(--accent);
  color: var(--primary-900);
}

.top-btn:hover {
  background: var(--accent-light);
  transform: translateY(-4px);
}

.phone-btn {
  background: var(--primary-500);
}

.phone-btn:hover {
  background: var(--primary-600);
  transform: translateY(-4px);
}

.line-btn {
  background: #06C755;
}

.line-btn:hover {
  background: #05a748;
  transform: translateY(-4px);
}

/* ============================================
   Animations
   ============================================ */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   Counter Animation
   ============================================ */
.counter-animate {
  display: inline-block;
}

/* ============================================
   QR Code & Follow Us (Contact Page)
   ============================================ */
.qr-code-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-md);
}

.qr-code-wrapper h2 {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 24px;
}

.qr-code-container {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.qr-code-image {
  width: 220px;
  height: 220px;
  object-fit: contain;
  border-radius: var(--radius-md);
  border: 3px solid var(--accent);
  padding: 8px;
  background: var(--white);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.15);
}

.qr-code-note {
  font-size: 14px;
  color: var(--gray-500);
  margin-bottom: 32px;
}

.follow-us-section {
  border-top: 1px solid var(--gray-100);
  padding-top: 24px;
}

.follow-us-section h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 16px;
}

.follow-us-icons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.follow-us-icon {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.follow-us-icon svg {
  width: 44px;
  height: 44px;
}

.follow-us-icon:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.follow-us-facebook {
  background: #1877F2;
}

.follow-us-facebook:hover {
  background: #166FE5;
}

.follow-us-line {
  background: #06C755;
}

.follow-us-line:hover {
  background: #05a748;
}

.follow-us-phone {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  color: var(--primary-900);
}

.follow-us-phone:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--gray-100);
  transition: all var(--transition-base);
}

.contact-info-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--accent-100);
}

.contact-info-card .icon {
  width: 72px;
  height: 72px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-50);
  color: var(--primary-500);
  border-radius: var(--radius-md);
  font-size: 34px;
}

.contact-info-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 4px;
}

.contact-info-card p,
.contact-info-card a {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.6;
}

.contact-info-card a:hover {
  color: var(--primary-500);
}

/* Map */
.map-section {
  margin-top: 48px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-100);
}

.map-section iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-detail {
    gap: 40px;
  }

  /* Clients grid: 6 -> 3 columns on tablet */
  .clients-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
  }

  /* Monitoring grid: 4 -> 2 columns on tablet */
  .section-gray>.container>div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .section-header p {
    font-size: 15px;
  }

  /* Top Bar */
  .top-bar-left span:last-child {
    display: none;
  }

  /* Navigation */
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 24px 24px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-base);
    gap: 0;
    align-items: stretch;
    z-index: 1000;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    border-radius: 0;
  }

  .nav-cta {
    margin-left: 0 !important;
    margin-top: 16px;
    justify-content: center;
  }

  /* Hero */
  .hero {
    min-height: auto;
  }

  .hero>.container {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-content h1 {
    font-size: 32px;
  }

  .hero-content p {
    font-size: 15px;
    margin-bottom: 24px;
  }

  .hero-buttons {
    flex-direction: column;
    margin-bottom: 32px;
  }

  .hero-buttons .btn {
    justify-content: center;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
  }

  .hero-stat .number {
    font-size: 28px;
  }

  .hero-stat .label {
    font-size: 13px;
  }

  /* Clients grid: 6 -> 2 columns on mobile */
  .clients-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }

  .clients-grid .fade-in>div:first-child {
    width: 80px !important;
    height: 80px !important;
  }

  .clients-grid .fade-in p {
    font-size: 12px !important;
  }

  /* Monitoring grid: 4 -> 1 column on mobile */
  .section-gray>.container>div[style*="grid-template-columns: repeat(4"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Training grid: 3 -> 1 column on mobile */
  .section-blue>.container>div[style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Certification badges: stack on mobile */
  .section-light>.container>div[style*="display: flex; justify-content: center; gap: 40px"] {
    flex-direction: column !important;
    align-items: center !important;
    gap: 24px !important;
  }

  /* Grids */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-detail.reverse {
    direction: ltr;
  }

  .service-detail-content h3 {
    font-size: 24px;
  }

  .service-detail-image img {
    height: 260px;
  }

  .footer {
    padding: 48px 0 0;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .footer-grid>* {
    text-align: center;
    padding: 28px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .footer-grid>*:last-child {
    border-bottom: none;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand .top-bar-right {
    justify-content: center;
  }

  .footer-brand p {
    text-align: center;
  }

  .footer h4 {
    text-align: center;
  }

  .footer h4::after {
    left: 50%;
    transform: translateX(-50%);
  }

  .footer-links {
    align-items: center;
  }

  .footer-links a {
    justify-content: center;
  }

  .footer-contact-item {
    justify-content: center;
    text-align: center;
  }

  .footer-bottom {
    margin-top: 20px;
  }

  /* Trust Badges */
  .trust-badges {
    gap: 16px;
  }

  .trust-badge {
    font-size: 13px;
  }

  /* Page Banner */
  .page-banner h1 {
    font-size: 28px;
  }

  /* CTA */
  .cta-section {
    padding: 60px 0;
  }

  .cta-section h2 {
    font-size: 26px;
  }

  .cta-section p {
    font-size: 16px;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  /* Full Image */
  .full-image-section {
    height: 280px;
  }

  .full-image-section .image-overlay {
    padding: 0 20px;
  }

  .full-image-section .image-overlay h3 {
    font-size: 22px;
  }

  .full-image-section .image-overlay p {
    font-size: 14px;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 48px 0;
  }

  .top-bar {
    display: none;
  }

  .hero-content h1 {
    font-size: 26px;
  }

  .hero-badge {
    font-size: 12px;
    padding: 6px 14px;
  }

  .hero-stats {
    gap: 12px;
  }

  .hero-stat .number {
    font-size: 24px;
  }

  .hero-stat .label {
    font-size: 12px;
  }

  .trust-badges {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .trust-badge {
    flex-direction: column;
    text-align: center;
    gap: 8px;
    background: var(--gray-50);
    padding: 16px 32px;
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 280px;
    justify-content: center;
  }

  .trust-badge i {
    margin: 0 auto;
  }

  /* Clients grid: 2 columns, smaller logos */
  .clients-grid .fade-in>div:first-child {
    width: 70px !important;
    height: 70px !important;
  }

  /* Section headers */
  .section-header h2 {
    font-size: 22px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  /* CTA */
  .cta-section h2 {
    font-size: 22px;
  }

  /* Full Image */
  .full-image-section {
    height: 240px;
  }

  .full-image-section .image-overlay h3 {
    font-size: 20px;
  }

  /* Service cards */
  .service-card-img .card-image {
    height: 180px;
  }

  /* Feature cards */
  .feature-card {
    padding: 24px 20px;
  }

  /* Testimonial cards */
  .testimonial-card {
    padding: 24px;
  }
}

/* ============================================
   Process Section — Navy/White/Gold Theme
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.process-step {
  text-align: center;
  padding: 40px 24px 32px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: none;
  position: relative;
  transition: none;
}

.process-step::before {
  display: none;
}

.process-step:hover {
  /* no hover effect */
}

.step-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary-900), var(--primary-700));
  border-radius: var(--radius-lg);
  font-size: 26px;
  color: var(--accent-light);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(10, 22, 40, 0.2);
}

.step-icon::after {
  display: none;
}

.process-step:hover .step-icon {
  transform: translateY(-6px);
  box-shadow: 0 8px 25px rgba(10, 22, 40, 0.25);
}

.process-step:hover .step-icon::after {
  opacity: 0;
}

/* Step icon — no animation, no hover */
.step-icon i {
  display: inline-block;
}

.process-step:hover .step-icon i {
  transform: none;
}

.process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-900);
  margin-bottom: 10px;
}

.process-step p {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* Process Grid — Responsive overrides (must come after redefinition above) */
@media (max-width: 1024px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .process-step {
    padding: 28px 20px 24px;
  }
}

/* ============================================
   Lightbox Modal
   ============================================ */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  cursor: zoom-out;
  backdrop-filter: blur(8px);
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.85);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.lightbox-overlay.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 28px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: rotate(90deg);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  font-weight: 500;
  text-align: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 24px;
  border-radius: var(--radius-full);
  max-width: 80%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Clickable images cursor */
img[data-lightbox] {
  cursor: zoom-in;
}

img[data-lightbox]:hover {
  filter: none;
}

/* ============================================
   Icon Animations
   ============================================ */

/* Bounce animation for feature icons */
.feature-icon,
.trust-badge i,
.service-icon {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.feature-icon:hover,
.trust-badge:hover i,
.service-card:hover .service-icon {
  transform: scale(1.15) translateY(-4px);
}

/* Floating animation for hero badge icon */
.hero-badge i {
  animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-3px);
  }
}

/* Pulse animation for section subtitle icons */
.subtitle i {
  animation: iconPulse 2.5s ease-in-out infinite;
}

@keyframes iconPulse {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Wiggle on hover for check-circle icons */
.service-detail-content li i {
  transition: all 0.3s ease;
}

.service-detail-content li:hover i {
  animation: iconWiggle 0.5s ease;
  color: var(--accent-light) !important;
}

@keyframes iconWiggle {
  0% {
    transform: rotate(0deg);
  }

  25% {
    transform: rotate(-12deg);
  }

  50% {
    transform: rotate(12deg);
  }

  75% {
    transform: rotate(-6deg);
  }

  100% {
    transform: rotate(0deg);
  }
}

/* Card meta icons spin on hover */
.card-meta span i {
  transition: transform 0.4s ease;
}

.card-meta span:hover i {
  transform: rotate(360deg);
}

/* Social icons bounce */
.top-bar-right .social-icon i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-bar-right .social-icon:hover i {
  transform: scale(1.3);
}

/* CTA button icons */
.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(3px);
}

/* Footer social icons */
.social-links a i {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.social-links a:hover i {
  transform: scale(1.2) rotate(8deg);
}

/* Quote icon float */
.quote-icon i {
  animation: quoteFloat 3s ease-in-out infinite;
}

@keyframes quoteFloat {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-5px) rotate(5deg);
  }
}

/* Footer contact item icon hover */
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.footer-contact-item:hover {
  transform: translateX(6px);
}

.footer-contact-item i {
  margin-top: 4px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.footer-contact-item:hover i {
  transform: scale(1.3);
  color: var(--accent-light);
}

/* Monitoring section card icons (inline-styled containers in .section-gray) */
/* Use :not(.service-detail) to avoid affecting service detail pages */
.section-gray .fade-in:not(.service-detail)>div:first-child:not(.service-detail-image) {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.section-gray .fade-in:not(.service-detail):hover>div:first-child:not(.service-detail-image) {
  transform: scale(1.15) translateY(-6px);
  box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

.section-gray .fade-in:not(.service-detail)>div:first-child:not(.service-detail-image) i {
  animation: monitorIconFloat 3s ease-in-out infinite;
  display: inline-block;
}

.section-gray .fade-in:nth-child(1):not(.service-detail)>div:first-child:not(.service-detail-image) i {
  animation-delay: 0s;
}

.section-gray .fade-in:nth-child(2):not(.service-detail)>div:first-child:not(.service-detail-image) i {
  animation-delay: 0.4s;
}

.section-gray .fade-in:nth-child(3):not(.service-detail)>div:first-child:not(.service-detail-image) i {
  animation-delay: 0.8s;
}

.section-gray .fade-in:nth-child(4):not(.service-detail)>div:first-child:not(.service-detail-image) i {
  animation-delay: 1.2s;
}

@keyframes monitorIconFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-4px) scale(1.1);
  }
}

/* ============================================
   Clients Grid - Uniform Circular Logos
   ============================================ */
.clients-grid .fade-in>div:first-child {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clients-grid .fade-in:hover>div:first-child {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Force all client images to fill circles uniformly */
.clients-grid .fade-in>div:first-child img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: 50%;
}

.clients-grid .fade-in:hover>div:first-child img {
  transform: none;
}