/* ============================================
   DOPOMAC - Modern Design System
   Clean, Sleek & Professional
   ============================================ */

/* Import Modern Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
  /* Primary Colors */
  --primary-50: #eef2ff;
  --primary-100: #e0e7ff;
  --primary-200: #c7d2fe;
  --primary-300: #a5b4fc;
  --primary-400: #818cf8;
  --primary-500: #6366f1;
  --primary-600: #4f46e5;
  --primary-700: #4338ca;
  --primary-800: #3730a3;
  --primary-900: #312e81;
  
  /* Brand Blue */
  --brand-50: #eff6ff;
  --brand-100: #dbeafe;
  --brand-200: #bfdbfe;
  --brand-300: #93c5fd;
  --brand-400: #60a5fa;
  --brand-500: #3b82f6;
  --brand-600: #2563eb;
  --brand-700: #1d4ed8;
  --brand-800: #1e40af;
  --brand-900: #1e3a8a;
  --brand-950: #0f172a;
  
  /* Neutral Colors */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --gray-950: #030712;
  
  /* Accent Colors */
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #60a5fa 100%);
  --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
  --gradient-hero: linear-gradient(135deg, #0c1445 0%, #1e40af 50%, #3b82f6 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(59, 130, 246, 0.3);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  
  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;
  
  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  
  /* Typography */
  --font-sans: 'Inter', 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 350ms ease;
  --transition-spring: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--gray-800);
  background: var(--gray-50);
  min-height: 100vh;
  padding-top: 80px;
  overflow-x: hidden;
  max-width: 100vw;
}

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

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

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
  color: var(--gray-600);
  line-height: 1.7;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============================================
   Navbar - Modern & Sleek
   ============================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.navbar {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 32px;
  background: transparent;
  width: 100%;
  position: static;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
  transition: transform var(--transition-base);
}

.logo:hover img {
  transform: scale(1.05);
}

.company-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--brand-900);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.nav-links > li > a:hover {
  color: var(--brand-600) !important;
  background: var(--brand-50);
}

/* Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 260px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 8px;
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(0, 0, 0, 0.05);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: 1001;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 450;
  color: var(--gray-700);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--brand-50);
  color: var(--brand-700);
  transform: translateX(4px);
}

/* Disabled links in dropdown */
.dropdown-menu li a.disabled {
  color: var(--gray-400);
  cursor: not-allowed;
  pointer-events: none;
  font-style: italic;
}

.dropdown-menu li a.disabled:hover {
  background: transparent;
  transform: none;
}

/* Header Buttons */
.header-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-buttons button {
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  color: white;
  background: var(--gradient-primary);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}

.header-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.45);
}

/* ============================================
   Hero Section - Stunning & Bold
   ============================================ */
.hero-section {
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 6vw;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(99, 102, 241, 0.3) 0%, transparent 50%),
    radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.2) 0%, transparent 40%);
  pointer-events: none;
}

.hero-section > * {
  position: relative;
  z-index: 1;
}

.hero-section img {
  max-height: 450px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

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

.your {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 800;
  color: white;
  line-height: 1.15;
  max-width: 650px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.2);
}

.your span {
  display: block;
  font-size: 1.125rem !important;
  font-weight: 400;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  text-shadow: none;
}

/* ============================================
   Page Headers - Feature Pages
   ============================================ */
.page-header,
.header,
.hero {
  background: var(--gradient-hero);
  padding: 80px 6vw 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before,
.header::before,
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(99, 102, 241, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.page-header h1,
.header h1,
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  color: white;
  margin-bottom: 16px;
  position: relative;
}

.page-header p,
.header p,
.hero p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.badge {
  display: inline-block;
  padding: 8px 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 20px;
}

.hero-sub {
  color: rgba(255, 255, 255, 0.85) !important;
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ============================================
   Cards - Modern & Clean
   ============================================ */
.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 60px 32px;
}

.card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 32px;
  position: relative;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-200);
}

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

.card h2,
.card h3 {
  color: var(--brand-800);
  margin-bottom: 12px;
  font-weight: 700;
}

.card h3 {
  font-size: 1.25rem;
}

.card p {
  color: var(--gray-600);
  font-size: 1rem;
  line-height: 1.7;
}

.card .icon {
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  background: linear-gradient(135deg, var(--brand-50) 0%, var(--primary-100) 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

/* Card Grid Layouts */
.container.grid,
.container:not(.single):not(.two-col) {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}

.two-col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.single {
  max-width: 900px;
  margin: 0 auto;
}

/* ============================================
   Sections - Homepage Styling
   ============================================ */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--gray-900);
  margin-bottom: 16px;
}

.section-title p {
  font-size: 1.15rem;
  color: var(--gray-500);
  max-width: 650px;
  margin: 0 auto;
}

/* Challenge Boxes */
.challenges-section {
  padding: 80px 32px;
  max-width: 1300px;
  margin: 0 auto;
}

.challenges-wrapper {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.company {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  padding: 0 32px;
  max-width: 1300px;
  margin: 40px auto;
}

.squ1,
.squ3 {
  background: white;
  border-radius: var(--radius-xl);
  padding: 28px;
  border: 1px solid var(--gray-100);
  box-shadow: var(--shadow-card);
  transition: all var(--transition-base);
}

.squ1:hover,
.squ3:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--brand-200);
}

.squ1 h4,
.squ3 h4 {
  font-size: 1.25rem;
  color: var(--brand-800);
  margin-bottom: 12px;
  font-weight: 700;
}

.squ1 p,
.squ3 p {
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
  margin: 0;
}

/* Icon Sections */
.log3,
.log4 {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 40px 32px;
  flex-wrap: wrap;
}

.log3 img,
.log4 img {
  height: 80px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
  transition: transform var(--transition-base);
}

.log3 img:hover,
.log4 img:hover {
  transform: scale(1.1);
}

.para1 {
  display: flex;
  justify-content: center;
  gap: 120px;
  padding: 16px 32px;
  flex-wrap: wrap;
}

.para1 h4 {
  font-size: 1.15rem;
  color: var(--brand-800);
  font-weight: 600;
}

.subpara,
.subpara2 {
  display: flex;
  justify-content: center;
  gap: 60px;
  padding: 24px 32px;
  flex-wrap: wrap;
  max-width: 1300px;
  margin: 0 auto;
}

.subpara p,
.subpara2 p {
  max-width: 340px;
  text-align: center;
  color: var(--gray-600);
  line-height: 1.7;
  margin: 0;
}

.subpara2 footer {
  background: white;
  padding: 28px;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
  max-width: 360px;
}

.subpara2 footer li {
  margin-bottom: 12px;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Main2 Section */
.main2 {
  background: linear-gradient(180deg, var(--gray-50) 0%, white 100%);
  padding: 80px 32px;
  margin-top: 60px;
}

.main2 h1 {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  color: var(--gray-900);
  margin-bottom: 16px;
}

.main2 > p {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 48px;
}

.title {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.title h3 {
  color: var(--brand-700);
  font-size: 1.25rem;
}

/* Competitive Advantage Section */
.arrow {
  display: none;
}

.Name,
.Name2,
.Name3,
.Name4 {
  color: var(--brand-700);
  font-weight: 700;
  margin: 0;
  font-size: 1.25rem;
}

/* Tangible Outcomes */
.tang {
  text-align: center;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--gray-900);
  margin: 80px auto 20px;
  max-width: 900px;
  padding: 0 32px;
}

.tang2 {
  text-align: center;
  font-size: 1.1rem;
  color: var(--gray-600);
  max-width: 900px;
  margin: 0 auto 60px;
  padding: 0 32px;
  font-weight: 400;
}

/* ============================================
   Story Page Styling
   ============================================ */
.story-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 32px;
}

.story-block {
  margin-bottom: 48px;
}

.story-block h2 {
  font-size: 1.75rem;
  color: var(--brand-800);
  margin-bottom: 20px;
  position: relative;
  padding-left: 20px;
}

.story-block h2::before {
  content: '';
  position: absolute;
  left: 0;
  top: 4px;
  width: 4px;
  height: 28px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.story-block p {
  color: var(--gray-600);
  font-size: 1.05rem;
  margin-bottom: 16px;
  line-height: 1.8;
}

.story-list {
  margin: 20px 0;
  padding-left: 24px;
}

.story-list li {
  margin-bottom: 10px;
  color: var(--gray-700);
  position: relative;
  padding-left: 8px;
}

.story-list li::before {
  content: '→';
  position: absolute;
  left: -24px;
  color: var(--brand-500);
}

blockquote {
  margin: 28px 0;
  padding: 24px 28px;
  background: var(--brand-50);
  border-left: 4px solid var(--brand-500);
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  font-style: italic;
  color: var(--brand-800);
  font-size: 1.1rem;
}

.highlight {
  font-weight: 600;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 4px 8px;
  border-radius: var(--radius-sm);
}

.cta-section {
  background: var(--gradient-hero);
  padding: 60px 40px;
  border-radius: var(--radius-2xl);
  text-align: center;
  margin-top: 60px;
}

.cta-section h2 {
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
}

.cta-button {
  display: inline-block;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-700);
  background: white;
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* ============================================
   4M Page - Dark Theme Enhancement
   ============================================ */
body.dark-theme {
  background: radial-gradient(ellipse at top, #0d1b4d, #050b1f);
}

.dark-theme .card {
  background: linear-gradient(160deg, rgba(16, 28, 69, 0.8), rgba(11, 21, 54, 0.9));
  border: 1px solid rgba(59, 130, 246, 0.2);
  backdrop-filter: blur(10px);
}

.dark-theme .card h2,
.dark-theme .card h3 {
  color: var(--accent-cyan);
}

.dark-theme .card p,
.dark-theme .card li {
  color: rgba(166, 176, 212, 0.9);
}

.grid-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.box {
  background: rgba(15, 30, 80, 0.6);
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: all var(--transition-base);
}

.box:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-4px);
}

.box h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.wide-list {
  padding-left: 20px;
}

.wide-list li {
  margin-bottom: 12px;
  position: relative;
}

.wide-list li::before {
  content: '▸';
  position: absolute;
  left: -20px;
  color: var(--accent-cyan);
}

/* ============================================
   Buttons
   ============================================ */
.btn,
.btn-primary,
.btn-secondary,
.demo,
.support {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
}

.btn-primary,
.demo {
  background: var(--gradient-primary);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.btn-primary:hover,
.demo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
}

.btn-secondary,
.support {
  background: white;
  color: var(--brand-700);
  border: 2px solid var(--brand-200);
}

.btn-secondary:hover,
.support:hover {
  background: var(--brand-50);
  border-color: var(--brand-400);
}

/* ============================================
   Modal Styling
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  padding: 24px;
}

.modal[aria-hidden="false"] {
  display: flex;
}

.modal-dialog {
  width: 100%;
  max-width: 520px;
  background: white;
  border-radius: var(--radius-xl);
  padding: 36px;
  position: relative;
  box-shadow: var(--shadow-2xl);
  animation: modalSlide 0.3s ease-out;
}

@keyframes modalSlide {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--gray-400);
  background: var(--gray-100);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.modal-close:hover {
  background: var(--gray-200);
  color: var(--gray-600);
}

.modal-dialog h2 {
  font-size: 1.5rem;
  margin-bottom: 24px;
  color: var(--gray-900);
}

.modal-dialog label {
  display: block;
  margin-bottom: 16px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-700);
}

.modal-dialog input,
.modal-dialog textarea {
  width: 100%;
  margin-top: 6px;
  padding: 12px 16px;
  font-size: 1rem;
  font-family: inherit;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.modal-dialog input:focus,
.modal-dialog textarea:focus {
  outline: none;
  border-color: var(--brand-500);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.modal-dialog .actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer,
footer.footer {
  background: var(--gray-900);
  color: white;
  padding: 60px 32px 32px;
  margin-top: 80px;
}

.footer-content {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 48px;
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--gray-400);
  font-size: 0.95rem;
}

.footer-links h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: white;
}

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

.footer-links a {
  color: var(--gray-400);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1300px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--gray-800);
  text-align: center;
  color: var(--gray-500);
  font-size: 0.85rem;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
  .hero-section {
    flex-direction: column-reverse;
    text-align: center;
    padding: 40px 24px;
  }
  
  .your {
    margin: 0;
    text-align: center;
  }
  
  .two-col {
    grid-template-columns: 1fr;
  }
  
  .nav-links {
    display: none;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 70px;
  }
  
  .navbar {
    padding: 12px 20px;
  }
  
  .company-name {
    font-size: 1.1rem;
  }
  
  .container {
    padding: 40px 20px;
  }
  
  .container.grid,
  .container:not(.single):not(.two-col) {
    grid-template-columns: 1fr;
  }
  
  .log3,
  .log4 {
    gap: 40px;
  }
  
  .para1,
  .title {
    gap: 40px;
  }
  
  .subpara,
  .subpara2 {
    flex-direction: column;
    align-items: center;
  }
  
  .page-header,
  .header,
  .hero {
    padding: 60px 24px 40px;
  }
}

@media (max-width: 480px) {
  .header-buttons button {
    padding: 10px 18px;
    font-size: 0.85rem;
  }
  
  .card {
    padding: 24px;
  }
}

/* ============================================
   Utility Classes
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mt-12 { margin-top: var(--space-12); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }
.mb-12 { margin-bottom: var(--space-12); }

.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }
.py-12 { padding-top: var(--space-12); padding-bottom: var(--space-12); }
.py-16 { padding-top: var(--space-16); padding-bottom: var(--space-16); }

.max-w-lg { max-width: 800px; margin-left: auto; margin-right: auto; }
.max-w-xl { max-width: 1100px; margin-left: auto; margin-right: auto; }

.hidden { display: none; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
