/* ==========================================================================
   KAAM WALE BHAIYA (KWB) - BASE STYLES & RESET
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

body {
  font-family: var(--font-family-base);
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  max-width: 100%;
}

main, section {
  max-width: 100%;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--navy-primary);
  font-weight: 700;
  line-height: 1.22;
}

h1 { font-size: clamp(1.75rem, 3.6vw, 2.75rem); }
h2 { font-size: clamp(1.35rem, 2.6vw, 2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.45rem); }
h4 { font-size: 1.05rem; }

p {
  color: var(--text-secondary);
  font-size: 0.94rem;
  line-height: 1.55;
}

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

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

button {
  cursor: pointer;
  background: none;
  touch-action: manipulation;
}

img, svg {
  display: block;
  max-width: 100%;
}

ul, ol {
  list-style: none;
}

/* Container & Layout Utilities */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.section {
  padding: 2.75rem 0;
  scroll-margin-top: 84px;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 2rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0.9rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-full);
  margin-bottom: 0.6rem;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.section-title {
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
  color: var(--navy-primary);
  font-weight: 800;
}

.section-subtitle {
  font-size: 0.96rem;
  color: var(--text-secondary);
}

/* Flex & Grid Utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.min-w-0 { min-width: 0; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.grid { display: grid; }

.hidden { display: none !important; }

/* Text highlights */
.text-primary { color: var(--primary); }
.text-amber { color: var(--text-amber); }
.text-navy { color: var(--navy-primary); }
.text-blue { color: var(--accent-blue); }
.text-green { color: var(--accent-green); }
.text-odia { font-family: var(--font-family-odia); }
.font-script { font-family: var(--font-family-script); }
