/*
Theme Name: RASP International
Theme URI: https://raspinternational.in
Author: RASP International
Author URI: https://raspinternational.in
Description: Custom WordPress theme for RASP International  -  India's end-to-end export growth partner. Features DGFT live ticker, export readiness quiz, duty calculator, dark mode, and full schema markup.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rasp-international
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===================================================================
   RASP INTERNATIONAL  -  Core Theme Styles
   Brand: #4159a1 (primary) | #040c80 (deep) | Josefin Sans + Inter
   =================================================================== */

:root {
  /* Brand Colors */
  --rasp-brand: #4159a1;
  --rasp-deep: #040c80;
  --rasp-light: #5c75c0;
  --rasp-pale: #e8ecf5;

  /* Surfaces */
  --rasp-surface: #f8f9fc;
  --rasp-surface-2: #eef0f7;
  --rasp-white: #ffffff;
  --rasp-black: #0a0a14;

  /* Text */
  --rasp-text: #1a1a2e;
  --rasp-text-mid: #4a4a6a;
  --rasp-text-light: #6e6e90;

  /* Accent */
  --rasp-accent: #e8a838;
  --rasp-green: #22c55e;
  --rasp-red: #ef4444;

  /* Dark Mode */
  --rasp-dm-bg: #0f1118;
  --rasp-dm-surface: #1a1c28;
  --rasp-dm-surface-2: #252836;
  --rasp-dm-text: #e4e4ef;
  --rasp-dm-text-mid: #9898b8;

  /* Typography */
  --font-heading: 'Josefin Sans', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Spacing */
  --section-pad: 120px;
  --section-pad-mobile: 72px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 100px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0,0,0,.04);
  --shadow-md: 0 8px 24px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 60px rgba(0,0,0,.08);
  --shadow-xl: 0 40px 100px rgba(0,0,0,.12);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --duration: .3s;
}

/* ===== DARK MODE ===== */
[data-theme="dark"] {
  --rasp-white: var(--rasp-dm-bg);
  --rasp-surface: var(--rasp-dm-surface);
  --rasp-surface-2: var(--rasp-dm-surface-2);
  --rasp-text: var(--rasp-dm-text);
  --rasp-text-mid: var(--rasp-dm-text-mid);
  --rasp-text-light: #6868888;
  --rasp-pale: #1e2030;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--rasp-text);
  background: var(--rasp-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  outline: none;
  background: none;
}

button { cursor: pointer; }

/* ===== UTILITY ===== */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rasp-brand);
  margin-bottom: 16px;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--rasp-deep);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.5px;
}

.section-desc {
  font-size: 16px;
  color: var(--rasp-text-mid);
  max-width: 520px;
  line-height: 1.8;
  font-weight: 300;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: .3px;
  border-radius: var(--radius-pill);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--rasp-brand);
  color: white;
  padding: 16px 40px;
}
.btn-primary:hover {
  background: var(--rasp-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(65,89,161,.25);
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--rasp-brand);
  padding: 16px 40px;
  border: 1.5px solid rgba(65,89,161,.2);
}
.btn-outline:hover {
  border-color: var(--rasp-brand);
  background: rgba(65,89,161,.04);
}

.btn-small {
  padding: 10px 24px;
  font-size: 12px;
}

.btn-white {
  background: white;
  color: var(--rasp-deep);
  padding: 16px 40px;
}
.btn-white:hover {
  background: var(--rasp-surface);
  transform: translateY(-2px);
}

/* ===== CARDS ===== */
.card {
  background: var(--rasp-white);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid transparent;
  transition: all .4s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(65,89,161,.08);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: 14px;
}
.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--rasp-text-mid);
  margin-bottom: 5px;
  letter-spacing: .3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--rasp-surface-2);
  border-radius: 10px;
  font-size: 14px;
  transition: all .2s;
  background: var(--rasp-surface);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--rasp-brand);
  background: var(--rasp-white);
  box-shadow: 0 0 0 3px rgba(65,89,161,.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 80px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ===== HONEYPOT (Bot Protection) ===== */
.rasp-hp {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* ===== TAGS/PILLS ===== */
.tag {
  font-size: 11px;
  padding: 5px 12px;
  background: var(--rasp-surface);
  border-radius: var(--radius-pill);
  color: var(--rasp-text-mid);
  font-weight: 500;
  letter-spacing: .2px;
  display: inline-block;
}

/* ===== SCROLL ANIMATIONS ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .section { padding: var(--section-pad-mobile) 0; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section-heading { font-size: clamp(26px, 5vw, 36px); }
}

/* ===== WORDPRESS CORE ===== */
.alignleft { float: left; margin: 0 24px 24px 0; }
.alignright { float: right; margin: 0 0 24px 24px; }
.aligncenter { display: block; margin: 0 auto 24px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 13px; color: var(--rasp-text-light); margin-top: 8px; }
.screen-reader-text {
  border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%);
  height: 1px; margin: -1px; overflow: hidden; padding: 0;
  position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* === MARQUEE + TICKER ANIMATIONS === */
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes rasp-ticker-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-33.333%); } }
.marquee-track { display:flex; gap:20px; animation:marquee-scroll 40s linear infinite; width:max-content; }
.clients-marquee.reverse .marquee-track { animation-direction:reverse; animation-duration:45s; }
.clients-marquee:hover .marquee-track { animation-play-state:paused; }
.rasp-ticker-inner { display:flex; align-items:center; height:100%; white-space:nowrap; animation:rasp-ticker-scroll 55s linear infinite; will-change:transform; }
.rasp-ticker-inner:hover { animation-play-state:paused; }
