/* ==========================================================================
   AXIORA EXPORTS PRIVATE LIMITED - DESIGN SYSTEM & CORE STYLES
   ========================================================================== */

/* Google Fonts: Sora (Headings) & Inter (Body) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Sora:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   CSS CUSTOM PROPERTIES (DESIGN TOKENS)
   ========================================================================== */
:root {
  /* Brand Palette (70% Light / 20% Navy-Blue / 7% Orange / 3% Gold) */
  --color-navy: #0B2A6F;
  --color-navy-dark: #071C4B;
  --color-navy-light: #163E97;
  --color-royal: #1266C4;
  --color-royal-light: #257CE0;
  --color-royal-soft: #EBF3FC;
  --color-orange: #F57C00;
  --color-orange-hover: #E06C00;
  --color-orange-light: #FFF4E6;
  --color-gold: #E9A928;
  --color-gold-light: #FEF7E8;
  
  /* Neutrals */
  --color-white: #FFFFFF;
  --color-bg-light: #F6F8FC;
  --color-bg-alt: #EEF2F9;
  --color-card-bg: #FFFFFF;
  --color-text-dark: #111827;
  --color-text-body: #374151;
  --color-text-muted: #6B7280;
  --color-text-light: #9CA3AF;
  --color-border: #E5E7EB;
  --color-border-dark: rgba(255, 255, 255, 0.12);
  
  /* WhatsApp */
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;

  /* Typography */
  --font-heading: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radii */
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-btn: 10px;
  --radius-card: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(11, 42, 111, 0.05);
  --shadow-md: 0 4px 12px -1px rgba(11, 42, 111, 0.08), 0 2px 6px -2px rgba(11, 42, 111, 0.04);
  --shadow-lg: 0 12px 28px -4px rgba(11, 42, 111, 0.12), 0 4px 10px -2px rgba(11, 42, 111, 0.06);
  --shadow-xl: 0 20px 40px -6px rgba(11, 42, 111, 0.16);
  --shadow-glow-orange: 0 0 24px rgba(245, 124, 0, 0.35);

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);

  /* Container */
  --container-max: 1280px;
  --container-pad: clamp(1rem, 4vw, 2rem);
}

/* ==========================================================================
   CSS RESET & BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-bg-light);
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}

img, svg, picture, video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

a:hover {
  color: var(--color-navy);
}

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-orange);
  outline-offset: 2px;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.2rem, 4.5vw, 3.6rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

.text-lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--color-text-body);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--color-orange);
  margin-bottom: 0.75rem;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--color-orange);
  border-radius: 2px;
}

.eyebrow-light {
  color: var(--color-gold);
}

.eyebrow-light::before {
  background-color: var(--color-gold);
}

/* ==========================================================================
   LAYOUT & CONTAINER
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--container-pad);
  padding-right: var(--container-pad);
}

.container-narrow {
  max-width: 960px;
}

.section {
  padding-top: clamp(3.5rem, 7vw, 6.5rem);
  padding-bottom: clamp(3.5rem, 7vw, 6.5rem);
  position: relative;
}

.section-sm {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
}

.section-bg-light {
  background-color: var(--color-bg-light);
}

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

.section-bg-alt {
  background-color: var(--color-bg-alt);
}

.section-bg-navy {
  background-color: var(--color-navy);
  color: rgba(255, 255, 255, 0.88);
}

.section-bg-navy h1,
.section-bg-navy h2,
.section-bg-navy h3,
.section-bg-navy h4 {
  color: var(--color-white);
}

/* Grids & Flex */
.grid {
  display: grid;
  gap: 1.5rem;
}

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

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }

/* Text alignments */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-heading);
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-btn);
  transition: all var(--transition-fast);
  cursor: pointer;
  line-height: 1.4;
  white-space: nowrap;
  border: 1.5px solid transparent;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background-color: var(--color-orange);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(245, 124, 0, 0.28);
}

.btn-primary:hover {
  background-color: var(--color-orange-hover);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(245, 124, 0, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(11, 42, 111, 0.22);
}

.btn-secondary:hover {
  background-color: var(--color-navy-light);
  color: var(--color-white);
  box-shadow: 0 6px 18px rgba(11, 42, 111, 0.32);
  transform: translateY(-2px);
}

.btn-royal {
  background-color: var(--color-royal);
  color: var(--color-white);
}

.btn-royal:hover {
  background-color: var(--color-royal-light);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--color-white);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: var(--color-navy);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
  background-color: var(--color-whatsapp-dark);
  color: var(--color-white);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 0.95rem 2rem;
  font-size: 1.05rem;
  border-radius: var(--radius-btn);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   BADGES & TAGS
   ========================================================================== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

.badge-navy {
  background-color: rgba(11, 42, 111, 0.1);
  color: var(--color-navy);
}

.badge-orange {
  background-color: var(--color-orange-light);
  color: var(--color-orange);
}

.badge-gold {
  background-color: var(--color-gold-light);
  color: #B45309;
}

.badge-blue {
  background-color: var(--color-royal-soft);
  color: var(--color-royal);
}

.badge-green {
  background-color: #ECFDF5;
  color: #047857;
}

/* ==========================================================================
   CARD BASE
   ========================================================================== */
.card {
  background-color: var(--color-card-bg);
  border-radius: var(--radius-card);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(18, 102, 196, 0.25);
}

.card-dark {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--color-border-dark);
  color: rgba(255, 255, 255, 0.85);
}

.card-dark:hover {
  background-color: rgba(255, 255, 255, 0.08);
  border-color: rgba(233, 169, 40, 0.4);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

/* ==========================================================================
   FORM CONTROLS
   ========================================================================== */
.form-group {
  margin-bottom: 1.25rem;
  text-align: left;
}

.form-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.45rem;
}

.form-label .required {
  color: var(--color-orange);
  margin-left: 2px;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--color-text-dark);
  background-color: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-btn);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-royal);
  box-shadow: 0 0 0 3px rgba(18, 102, 196, 0.15);
  outline: none;
}

.form-control.error {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-error-msg {
  display: block;
  font-size: 0.78rem;
  color: #DC2626;
  margin-top: 0.35rem;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--color-text-body);
  margin-top: 0.75rem;
  cursor: pointer;
}

.form-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--color-navy);
  margin-top: 2px;
  cursor: pointer;
}

/* ==========================================================================
   SCROLL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
  }
}
