/* ==========================================================================
   SAI SECURITY SYSTEM - Master Stylesheet
   ========================================================================== */

/* 1. Core Variables & Design Tokens */
:root {
  --primary-orange: #FF6A00;
  --primary-blue: #0057D9;
  --dark-blue: #0A1F44;
  --white: #FFFFFF;
  --light-gray: #F5F7FA;
  --success-green: #25D366;
  
  --dark-blue-rgb: 10, 31, 68;
  --primary-blue-rgb: 0, 87, 217;
  
  --text-dark: #1E293B;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  
  --border-radius-sm: 4px;
  --border-radius-md: 8px;
  --border-radius-lg: 12px;
  --border-radius-full: 9999px;
  
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  
  --max-width: 1280px;
}

/* 2. Resets & Base Styles */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  height: 100%;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 85px; /* Offset for sticky header */
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-blue);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }

a {
  color: var(--primary-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}
a:hover {
  color: var(--primary-orange);
}

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

button, input, textarea, select {
  font: inherit;
  outline: none;
}

/* Layout Helpers */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}
.section-gray {
  background-color: var(--light-gray);
}

.badge {
  display: inline-block;
  background-color: rgba(255, 106, 0, 0.2);
  border: 1px solid var(--primary-orange);
  color: var(--white);
  padding: 0.35rem 1rem;
  border-radius: var(--border-radius-full);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.5rem;
}

.badge-orange {
  background-color: rgba(255, 106, 0, 0.1);
  border: 1px solid rgba(255, 106, 0, 0.3);
  color: var(--primary-orange);
}

/* 3. Header Layout styling */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all var(--transition-normal);
}

.header-scrolled {
  padding: 0.75rem 0;
  background-color: var(--white);
  box-shadow: var(--shadow-md);
  border-bottom: 1px solid var(--border-color);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-img {
  height: auto;
  width: 220px;
  max-height: 90px;
  object-fit: contain;
  transition: all var(--transition-normal);
}

.header-scrolled .logo-img {
  width: 180px;
  max-height: 72px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark-blue);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-orange);
  transition: width var(--transition-fast);
}

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

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

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

.nav-link.active::after {
  width: 100%;
  background-color: var(--primary-blue);
}

/* Hamburger Menu Icon */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1010;
  padding: 0;
}

.hamburger-line {
  width: 100%;
  height: 2px;
  background-color: var(--dark-blue);
  transition: all var(--transition-normal);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -300px;
  width: 280px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -4px 0 15px rgba(0,0,0,0.1);
  z-index: 1005;
  transition: right var(--transition-normal);
  padding: 80px 1.5rem 2rem 1.5rem;
}

.drawer-open {
  right: 0;
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-nav-link {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-blue);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--light-gray);
}

.mobile-nav-link.active {
  color: var(--primary-blue);
  border-bottom-color: var(--primary-blue);
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(10, 31, 68, 0.4);
  z-index: 1001;
  backdrop-filter: blur(4px);
  display: none;
}

.menu-overlay.show {
  display: block;
}

/* 4. Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--border-radius-md);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-align: center;
  font-size: 0.95rem;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary-blue);
  color: var(--white);
}
.btn-primary:hover {
  background-color: var(--dark-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-orange {
  background-color: var(--primary-orange);
  color: var(--white);
}
.btn-orange:hover {
  background-color: #e05d00;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background-color: var(--success-green);
  color: var(--white);
}
.btn-whatsapp:hover {
  background-color: #1ebe54;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: transparent;
  border-color: var(--primary-blue);
  color: var(--primary-blue);
}
.btn-secondary:hover {
  background-color: var(--primary-blue);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn-outline-white:hover {
  background-color: var(--white);
  color: var(--dark-blue);
  transform: translateY(-2px);
}

/* Sticky Action Controls (Mobile) */
.sticky-actions-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  z-index: 100;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.05);
}

.sticky-action-btn {
  flex: 1;
  margin: 0 0.25rem;
  padding: 0.6rem;
  border-radius: var(--border-radius-md);
  font-weight: bold;
  text-align: center;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  color: var(--white);
}

.sticky-action-call {
  background-color: var(--primary-blue);
}
.sticky-action-whatsapp {
  background-color: var(--success-green);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: var(--success-green);
  color: white;
  border-radius: var(--border-radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 99;
  transition: all var(--transition-normal);
  text-decoration: none;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 20px rgba(37, 211, 102, 0.3);
}
.floating-whatsapp svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

/* 5. Forms elements */
.form-group {
  margin-bottom: 1.25rem;
}
.form-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark-blue);
  font-size: 0.9rem;
}
.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  outline: none;
  font-size: 0.95rem;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-control:focus {
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 87, 217, 0.15);
}

/* LeadForm specific */
.form-container {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-color);
  padding: 2.5rem 2rem;
  width: 100%;
}
.form-title {
  font-size: 1.4rem;
  color: var(--dark-blue);
  margin-bottom: 0.25rem;
}
.form-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}
.honeypot {
  display: none;
}
.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 1.25rem 0;
}
.checkbox-input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary-orange);
  cursor: pointer;
}
.checkbox-label {
  font-size: 0.9rem;
  color: var(--dark-blue);
  cursor: pointer;
  font-weight: 500;
  line-height: 1.3;
}
.error-message {
  color: #DC2626;
  background-color: #FEF2F2;
  border: 1px solid #FCA5A5;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  font-weight: 500;
}
.success-message {
  text-align: center;
  padding: 2rem 1rem;
}
.success-icon {
  width: 64px;
  height: 64px;
  fill: var(--success-green);
  margin: 0 auto 1.25rem auto;
}
.success-message h4 {
  font-size: 1.3rem;
  color: var(--dark-blue);
  margin-bottom: 0.5rem;
}
.success-message p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* 6. Homepage Modules */
/* Hero section */
.hero {
  position: relative;
  min-height: 80vh;
  background-color: var(--dark-blue);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.9) 40%, rgba(0, 87, 217, 0.4) 100%);
  z-index: 1;
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
}
.hero-content {
  animation: fadeIn 0.8s ease;
}
.hero-title {
  font-size: 3.2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}
.hero-title span {
  color: var(--primary-orange);
}
.hero-subtitle {
  font-size: 1.2rem;
  color: #E2E8F0;
  line-height: 1.6;
  margin-bottom: 2.5rem;
}
.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-visual {
  position: relative;
  width: 100%;
  height: 420px;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  padding: 1.5rem;
}
.hero-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Services section cards */
.section-title {
  text-align: center;
  font-size: 2.25rem;
  margin-bottom: 0.5rem;
  color: var(--dark-blue);
}
.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  font-size: 1.05rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.service-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: var(--primary-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-normal);
}
.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover::before {
  transform: scaleX(1);
}
.service-icon {
  width: 50px;
  height: 50px;
  background-color: rgba(0, 87, 217, 0.08);
  color: var(--primary-blue);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card:hover .service-icon {
  background-color: var(--primary-blue);
  color: var(--white);
}
.service-card-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
}
.service-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.service-card-link {
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Why Choose Us & Alternating Grid */
.why-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}
.why-items-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.why-check-icon {
  color: var(--primary-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.why-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.why-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Partners brand slider */
.brands-slider {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}
.brand-wrapper {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  width: 175px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.brand-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.brand-logo {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: all var(--transition-normal);
}
.brand-wrapper:hover .brand-logo {
  filter: grayscale(0%);
  opacity: 1;
}
.brand-text-placeholder {
  font-weight: bold;
  color: var(--text-muted);
}

/* Coverage areas */
.coverage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 1rem;
  margin-bottom: 2rem;
}
.city-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.75rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--dark-blue);
  box-shadow: var(--shadow-sm);
}
.coverage-info {
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}
.testimonial-card {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
}
.stars {
  color: #FBBF24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}
.quote {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.client-info {
  display: flex;
  flex-direction: column;
}
.client-name {
  font-weight: 700;
  color: var(--dark-blue);
  font-size: 1rem;
}
.client-role {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Quick enquiry lead promo section */
.lead-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4.5rem;
  align-items: center;
}
.lead-promo h2 {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}
.lead-promo p {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.promo-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
}
.promo-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.promo-icon {
  width: 44px;
  height: 44px;
  background-color: rgba(255, 106, 0, 0.1);
  color: var(--primary-orange);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.promo-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.promo-text p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* FAQs Accordion Native details */
.faqs-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-normal);
  padding: 0.25rem 0;
}
.faq-item[open] {
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 87, 217, 0.2);
}
.faq-trigger {
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  color: var(--dark-blue);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  font-size: 1.05rem;
}
.faq-trigger::-webkit-details-marker {
  display: none;
}
.faq-arrow {
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
}
.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
  color: var(--primary-blue);
}
.faq-content {
  padding: 0 1.5rem 1.5rem 1.5rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  border-top: 1px solid transparent;
}
.faq-item[open] .faq-content {
  border-top-color: var(--light-gray);
  padding-top: 1rem;
}

/* 7. Subpages Modules */
/* Page Header banner styling */
.page-header {
  background-color: var(--dark-blue);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
  text-align: center;
  border-bottom: 4px solid var(--primary-orange);
}
.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 31, 68, 0.95) 50%, rgba(0, 87, 217, 0.3) 100%);
  z-index: 1;
}
.header-content {
  position: relative;
  z-index: 2;
}
.page-title {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}
.breadcrumb {
  font-size: 0.9rem;
  color: #94A3B8;
  font-weight: 500;
}
.breadcrumb a {
  color: #CBD5E1;
}
.breadcrumb a:hover {
  color: var(--primary-orange);
}

/* Services Page Alternating details layout */
.services-container {
  display: flex;
  flex-direction: column;
}
.service-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--border-color);
}
.odd-section {
  background-color: var(--light-gray);
}
.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.grid-reversed {
  direction: rtl;
}
.grid-reversed > * {
  direction: ltr; /* Reset text direction inside columns */
}
.service-icon-wrapper {
  width: 60px;
  height: 60px;
  background-color: rgba(0, 87, 217, 0.08);
  color: var(--primary-blue);
  border-radius: var(--border-radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.service-desc {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}
.lists-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.list-block h4 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
  color: var(--dark-blue);
}
.benefit-list, .app-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-dark);
}
.check-icon {
  color: var(--success-green);
  margin-top: 0.15rem;
  flex-shrink: 0;
}
.bullet-icon {
  color: var(--primary-blue);
  font-size: 0.75rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

/* Service Inline Call-Back card */
.inline-cta-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary-orange);
  border-radius: var(--border-radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.odd-section .inline-cta-card {
  background: var(--white);
}
.inline-cta-content h3 {
  font-size: 1.15rem;
  margin-bottom: 0.25rem;
}
.inline-cta-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.inline-cta-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  flex-shrink: 0;
}
.inline-phone-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--dark-blue);
}

.service-image-container {
  position: relative;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/3;
}
.service-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.service-image-container:hover .service-image {
  transform: scale(1.05);
}
.image-overlay-effect {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 31, 68, 0) 60%, rgba(10, 31, 68, 0.45) 100%);
  z-index: 2;
  pointer-events: none;
}
.image-placeholder {
  background-color: var(--dark-blue);
  color: var(--white);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.bottom-cta-section {
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 4.5rem 0;
  text-align: center;
}
.bottom-cta-section h2 {
  color: var(--white);
  font-size: 2.25rem;
  margin-bottom: 1rem;
}
.bottom-cta-section p {
  color: #E2E8F0;
  max-width: 650px;
  margin: 0 auto 2.5rem auto;
  font-size: 1.05rem;
}

/* Products catalog grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-orange);
}
.product-img-wrapper {
  background-color: #f8fafc;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}
.product-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-normal);
}
.product-card:hover .product-img {
  transform: scale(1.05);
}
.product-content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}
.product-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Works portfolio page */
.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}
.work-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}
.work-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.work-img-wrapper {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background-color: var(--dark-blue);
}
.work-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}
.work-card:hover .work-img {
  transform: scale(1.04);
}
.work-category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-orange);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 5;
}
.work-content {
  padding: 1.5rem;
}
.work-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}
.work-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-weight: 500;
}
.work-desc {
  font-size: 0.9rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 0;
}

/* Blog list grid layout */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2.5rem;
}
.blog-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.blog-img-wrapper {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
  background-color: var(--light-gray);
}
.blog-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-normal);
}
.blog-card:hover .blog-img {
  transform: scale(1.03);
}
.blog-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: var(--primary-blue);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: var(--border-radius-full);
  font-size: 0.75rem;
  font-weight: 700;
}
.blog-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.blog-title {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}
.blog-summary {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}
.blog-meta-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-weight: 500;
}
.read-more-btn {
  font-weight: 700;
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Blog Single Page structure */
.single-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 4rem;
}
.post-header {
  margin-bottom: 2rem;
}
.post-category {
  background-color: rgba(0, 87, 217, 0.1);
  color: var(--primary-blue);
  padding: 0.35rem 0.85rem;
  border-radius: var(--border-radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 1rem;
  text-transform: uppercase;
}
.post-title {
  font-size: 2.5rem;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.post-meta {
  display: flex;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.post-img-wrapper {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
}
.post-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #334155;
}
.post-body p {
  margin-bottom: 1.5rem;
}
.post-body h3 {
  font-size: 1.45rem;
  margin: 2.5rem 0 1rem 0;
  color: var(--dark-blue);
}

.sidebar-widget {
  background-color: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}
.widget-title {
  font-size: 1.2rem;
  border-bottom: 2px solid var(--primary-orange);
  padding-bottom: 0.5rem;
  margin-bottom: 1.25rem;
}
.recent-post-item {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--light-gray);
  padding-bottom: 1rem;
}
.recent-post-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
  padding-bottom: 0;
}
.recent-post-title {
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}
.recent-post-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Contact page grid and map */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4.5rem;
}
.info-section h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}
.info-desc {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}
.info-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}
.info-icon-wrapper {
  width: 44px;
  height: 44px;
  border-radius: var(--border-radius-md);
  background-color: rgba(0, 87, 217, 0.08);
  color: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.info-text h4 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.info-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0;
}
.direct-ctas {
  display: flex;
  gap: 1rem;
}
.map-container {
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-lg);
  margin-bottom: 5rem;
}
.map-frame {
  width: 100%;
  height: 450px;
  border: 0;
}

/* Footer layout */
.footer {
  background-color: var(--dark-blue);
  color: #94A3B8;
  padding-top: 5rem;
  border-top: 4px solid var(--primary-orange);
  margin-top: auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 3rem;
  padding-bottom: 4rem;
}
.footer-column {
  display: flex;
  flex-direction: column;
}
.footer-logo {
  height: auto;
  width: 220px;
  max-height: 85px;
  align-self: flex-start;
  margin-bottom: 1.5rem;
  background-color: white;
  padding: 6px 12px;
  border-radius: var(--border-radius-md);
  object-fit: contain;
}
.company-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  color: #CBD5E1;
}
.footer-coverage {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-column-title {
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.75rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-column-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-orange);
}
.footer-link-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.footer-link {
  color: #94A3B8;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
  display: inline-block;
}
.footer-link:hover {
  color: var(--white);
  transform: translateX(5px);
}
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.footer-contact-icon {
  width: 20px;
  height: 20px;
  fill: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 0.2rem;
}
.footer-contact-link {
  color: #CBD5E1;
  font-weight: 600;
  font-size: 0.95rem;
}
.footer-contact-link:hover {
  color: var(--white);
}
.footer-address-text {
  color: #CBD5E1;
  font-size: 0.9rem;
  line-height: 1.5;
}
.footer-bottom {
  background-color: #061530;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.copyright-text {
  font-size: 0.85rem;
  margin: 0;
  color: #64748B;
}
.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}
.admin-login-link {
  font-size: 0.85rem;
  color: #64748B;
  transition: color var(--transition-fast);
}
.admin-login-link:hover {
  color: var(--white);
}
.designer-link {
  color: var(--primary-orange);
  font-weight: 600;
  transition: color var(--transition-fast);
}
.designer-link:hover {
  color: var(--white);
  text-decoration: underline;
}

/* 8. Admin Panel Layout Styles */
.admin-dashboard-layout {
  display: flex;
  min-height: 100vh;
  margin-top: -85px; /* Ignore offset for admin */
}
.admin-sidebar {
  width: 260px;
  background-color: var(--dark-blue);
  color: #94A3B8;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 2px solid var(--primary-orange);
}
.admin-sidebar-title {
  color: var(--white);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 2.5rem;
  letter-spacing: 1.5px;
}
.admin-sidebar-link {
  display: block;
  padding: 0.85rem 1rem;
  border-radius: var(--border-radius-md);
  font-size: 0.95rem;
  font-weight: 600;
  color: #CBD5E1;
  margin-bottom: 0.5rem;
  transition: all var(--transition-fast);
  text-align: left;
  background: transparent;
  border: none;
  width: 100%;
  cursor: pointer;
}
.admin-sidebar-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--white);
  padding-left: 1.25rem;
}
.admin-sidebar-link-active {
  background-color: var(--primary-blue);
  color: var(--white);
}
.admin-logout-btn {
  margin-top: auto;
  background-color: #EF4444 !important;
  color: var(--white) !important;
  border: none;
}
.admin-logout-btn:hover {
  background-color: #DC2626 !important;
}

.admin-main-content {
  flex-grow: 1;
  padding: 3rem;
  background-color: var(--light-gray);
  overflow-y: auto;
}
.admin-content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}
.admin-content-title {
  font-size: 1.75rem;
  margin-bottom: 0;
}
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.admin-stat-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.admin-stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.admin-stat-value {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--dark-blue);
}
.admin-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  gap: 1.5rem;
}
.admin-filter-group {
  display: flex;
  gap: 1rem;
  flex-grow: 1;
  max-width: 600px;
}
.admin-search-input {
  flex-grow: 1;
  padding: 0.5rem 1rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
}
.admin-select-filter {
  width: 180px;
  padding: 0.5rem;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-md);
  background-color: white;
}
.admin-table-wrapper {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2rem;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th, .admin-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border-color);
}
.admin-table th {
  background-color: #F8FAFC;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--dark-blue);
}
.admin-table tr:last-child td {
  border-bottom: none;
}
.admin-table tr:hover td {
  background-color: #F8FAFC;
}

/* Modals */
.admin-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 31, 68, 0.5);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1.5rem;
}
.admin-modal-content {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.admin-modal-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-modal-header h3 {
  margin-bottom: 0;
}
.admin-modal-close {
  background: transparent;
  border: none;
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--text-muted);
}
.admin-modal-body {
  padding: 1.5rem;
}
.admin-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}
.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* 9. Media Queries */
@media (max-width: 992px) {
  body {
    padding-top: 72px;
  }
  .hamburger {
    display: flex;
  }
  .desktop-nav {
    display: none;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
  .hero-title {
    font-size: 2.6rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .hero-buttons {
    justify-content: center;
  }
  .hero-visual {
    height: 320px;
  }
  .why-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .why-visual {
    order: -1;
  }
  .lead-section-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .grid-reversed {
    direction: ltr;
  }
  .single-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .btn {
    width: 100%;
  }
  .inline-cta-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .inline-cta-actions {
    width: 100%;
    align-items: flex-start;
  }
  .lists-container {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom-flex {
    flex-direction: column;
    text-align: center;
  }
  .admin-dashboard-layout {
    flex-direction: column;
  }
  .admin-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid var(--primary-orange);
  }
  .admin-main-content {
    padding: 1.5rem;
  }
  .admin-stats-grid {
    grid-template-columns: 1fr;
  }
  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .admin-form-grid {
    grid-template-columns: 1fr;
  }
}

/* Base keyframe animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
