/* ============================================
   RAJANI CAPITAL - Government Contractor Website
   ============================================ */

/* CSS Custom Properties */
:root {
  /* Primary Colors */
  --navy-900: #0a1628;
  --navy-800: #111d32;
  --navy-700: #182642;
  --navy-600: #1e3054;
  --navy-500: #2a4066;
  
  /* Accent Colors */
  --blue-500: #3b82f6;
  --blue-600: #2563eb;
  --blue-400: #60a5fa;
  
  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  
  /* Typography */
  --font-primary: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-max: 1200px;
  --container-padding: 1.5rem;
  
  /* Borders & Shadows */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.05);
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
}

/* ============================================
   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;
}

body {
  font-family: var(--font-primary);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--navy-800);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }

p {
  margin-bottom: 1rem;
}

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

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

ul {
  list-style: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

.section {
  padding: var(--section-padding);
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--blue-500);
  margin-bottom: 0.75rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--gray-500);
  max-width: 600px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin: 0 auto;
}

/* ============================================
   BUTTONS
   ============================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-primary);
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background-color: var(--blue-500);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--blue-600);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--navy-800);
  border: 1px solid var(--gray-200);
}

.btn-secondary:hover {
  background-color: var(--gray-50);
  border-color: var(--gray-300);
}

.btn-outline-light {
  background-color: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--white);
  border-bottom: 1px solid var(--gray-100);
  padding: 1rem 0;
}

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

.logo {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--navy-800);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition-fast);
}

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

.nav-cta .btn {
  padding: 0.625rem 1.25rem;
  background-color: var(--navy-800);
  color: var(--white);
}

.nav-cta .btn:hover {
  background-color: var(--navy-700);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-menu-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--navy-800);
  transition: var(--transition-fast);
}

/* ============================================
   HERO SECTIONS
   ============================================ */

.hero {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
  color: var(--white);
  padding: 5rem 0 6rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 70% 20%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
              radial-gradient(ellipse at 30% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

/* Centered Hero Variant */
.hero-centered {
  text-align: center;
}

.hero-centered .hero-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.hero-centered .btn-group {
  justify-content: center;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  background-color: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-400);
  margin-bottom: 1.5rem;
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-400);
  margin-bottom: 1.25rem;
}

.hero-label svg {
  width: 18px;
  height: 18px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 800px;
}

.hero-centered h1 {
  max-width: none;
}

.text-accent {
  color: var(--blue-400);
}

.hero-subtitle {
  font-size: 1.1875rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 650px;
  margin-bottom: 2rem;
  line-height: 1.7;
}

/* Capabilities Hero - Smaller */
.hero-capabilities {
  padding: 4rem 0 5rem;
}

.hero-capabilities h1 {
  font-size: clamp(2rem, 4vw, 3rem);
}

/* ============================================
   CARDS
   ============================================ */

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--gray-300);
  box-shadow: var(--shadow-card);
}

.card-icon {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--gray-50);
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  color: var(--blue-500);
}

.card-icon svg {
  width: 1.5rem;
  height: 1.5rem;
}

.card h3 {
  margin-bottom: 0.625rem;
  font-size: 1.125rem;
}

.card p {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Card Grid Layouts */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.card-grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* Horizontal Card Layout */
.card-horizontal {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.card-horizontal .card-icon {
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-horizontal .card-content h3 {
  margin-bottom: 0.5rem;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
  background-color: var(--white);
}

.about-content {
  max-width: 900px;
}

.about-description {
  font-size: 1.0625rem;
  color: var(--gray-600);
  margin-bottom: 1.75rem;
  line-height: 1.75;
}

.about-checklist {
  margin-bottom: 3rem;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.625rem 0;
  font-size: 1rem;
  color: var(--navy-800);
}

.checklist-item svg {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--blue-500);
  flex-shrink: 0;
}

/* Stats/Highlight Tiles */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background-color: var(--gray-50);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--gray-100);
}

.stat-item {
  text-align: center;
  padding: 1rem;
}

.stat-item:not(:last-child) {
  border-right: 1px solid var(--gray-200);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-800);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.875rem;
  color: var(--gray-500);
}

/* ============================================
   DARK SECTION (Why Rajani Capital)
   ============================================ */

.section-dark {
  background: linear-gradient(180deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: var(--white);
}

.section-dark .section-label {
  color: var(--blue-400);
}

.section-dark .section-title {
  color: var(--white);
}

.section-dark .section-subtitle {
  color: rgba(255, 255, 255, 0.65);
}

.section-dark .card {
  background-color: var(--navy-700);
  border-color: var(--navy-600);
}

.section-dark .card:hover {
  border-color: var(--navy-500);
  background-color: var(--navy-600);
}

.section-dark .card h3 {
  color: var(--white);
}

.section-dark .card p {
  color: rgba(255, 255, 255, 0.65);
}

.section-dark .card-icon {
  background-color: var(--navy-600);
  color: var(--blue-400);
}

/* ============================================
   PROCESS/STEPS SECTION
   ============================================ */

.process-steps {
  display: flex;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

.step-number {
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--blue-500);
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 700;
  border-radius: 50%;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 2;
}

.process-step h4 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
}

.process-step p {
  font-size: 0.875rem;
  color: var(--gray-500);
  margin-bottom: 0;
}

/* Connector Line */
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3.5rem;
  left: 50%;
  width: 100%;
  height: 2px;
  background-color: var(--gray-200);
  z-index: 1;
}

/* ============================================
   CTA SECTION
   ============================================ */

.cta-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: var(--white);
  text-align: center;
  padding: 5rem 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at center, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
}

/* CTA with gradient transition from dark section above */
.cta-gradient {
  background: linear-gradient(180deg, var(--navy-800) 0%, var(--navy-900) 30%, var(--navy-800) 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 2.5rem;
}

.cta-gradient::before {
  background: radial-gradient(ellipse at 50% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%);
}

.cta-footer {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-disclaimer {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.35);
  max-width: 500px;
  margin: 0 auto 0.375rem;
  line-height: 1.4;
}

.cta-copyright {
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.3);
}

.cta-section .container {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.cta-section .btn-group {
  justify-content: center;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  background-color: var(--navy-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.footer-column {
  text-align: right;
  margin-left: auto;
}

.footer-heading {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

.footer-copyright {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 1024px) {
  .card-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stat-item:nth-child(2) {
    border-right: none;
  }
  
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid var(--gray-200);
    padding-bottom: 1.5rem;
  }
  
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    padding-top: 1.5rem;
  }
  
  .process-steps {
    flex-wrap: wrap;
  }
  
  .process-step {
    flex: 0 0 50%;
  }
  
  .process-step:not(:last-child)::after {
    display: none;
  }
  
  .footer-grid {
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 3.5rem 0;
  }
  
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--white);
    flex-direction: column;
    padding: 1.5rem;
    border-top: 1px solid var(--gray-100);
    box-shadow: var(--shadow-lg);
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-links {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  
  .nav-link {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
  }
  
  .nav-cta {
    margin-top: 1rem;
    width: 100%;
  }
  
  .nav-cta .btn {
    width: 100%;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .card-grid-2,
  .card-grid-3 {
    grid-template-columns: 1fr;
  }
  
  .hero {
    padding: 3rem 0 4rem;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    width: 100%;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-item {
    border-right: none !important;
    border-bottom: 1px solid var(--gray-200);
    padding: 1.25rem 1rem !important;
  }
  
  .stat-item:last-child {
    border-bottom: none;
  }
  
  .process-step {
    flex: 0 0 100%;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-column {
    text-align: left;
    margin-left: 0;
  }
}

/* ============================================
   ANIMATIONS
   ============================================ */

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

.animate-fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

