/* ===========================
   JAIPUR TECHIES — MAIN STYLES
   =========================== */

:root {
  --brand: #E8390E;
  --brand-dark: #C02E0A;
  --brand-light: #FF5533;
  --accent: #F5A623;
  --dark: #0D0D0F;
  --dark-2: #161618;
  --dark-3: #1E1E22;
  --mid: #2C2C32;
  --text: #F0EEE8;
  --text-muted: #8A8896;
  --text-dim: #555560;
  --border: rgba(255,255,255,0.07);
  --border-light: rgba(255,255,255,0.12);
  --radius: 12px;
  --radius-lg: 20px;
  --font-head: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --shadow: 0 4px 30px rgba(0,0,0,0.4);
  --glow: 0 0 40px rgba(232,57,14,0.2);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--dark);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
h1,h2,h3,h4 { font-family: var(--font-head); line-height: 1.15; }
em { font-style: normal; color: var(--brand-light); }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.text-center { text-align: center; }

/* ========================
   NAV
   ======================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(13,13,15,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s;
}
.nav.scrolled { background: rgba(13,13,15,0.98); }
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 800; font-size: 14px;
  color: white;
}
.logo-text { font-family: var(--font-head); font-size: 17px; font-weight: 600; color: var(--text); }
.logo-text strong { color: var(--brand-light); }
.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-link { font-size: 14px; font-weight: 400; color: var(--text-muted); padding: 6px 12px; border-radius: 8px; transition: all 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--text); background: rgba(255,255,255,0.06); }
.nav-cta {
  background: var(--brand); color: white !important; padding: 8px 16px;
  border-radius: 8px; font-weight: 500; margin-left: 8px;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--brand-dark); transform: translateY(-1px); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; flex-direction: column; padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}
.mobile-menu a { padding: 12px 0; font-size: 16px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; color: var(--brand-light); font-weight: 600; }

/* ========================
   HERO
   ======================== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-blob {
  position: absolute; border-radius: 50%;
  filter: blur(80px); opacity: 0.15;
  pointer-events: none;
}
.b1 { width: 600px; height: 600px; background: var(--brand); top: -200px; right: -100px; }
.b2 { width: 400px; height: 400px; background: var(--accent); bottom: -100px; left: -100px; }
.hero .container { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,57,14,0.12); border: 1px solid rgba(232,57,14,0.3);
  color: var(--brand-light); padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; margin-bottom: 1.5rem;
  animation: fadeUp 0.6s ease both;
}
.badge-dot { width: 6px; height: 6px; background: var(--brand-light); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
.hero-title {
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
  animation: fadeUp 0.6s 0.1s ease both;
}
.hero-sub {
  font-size: 1.1rem; color: var(--text-muted); max-width: 500px;
  margin-bottom: 2rem; line-height: 1.7;
  animation: fadeUp 0.6s 0.2s ease both;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
  animation: fadeUp 0.6s 0.3s ease both;
}
.hero-stats {
  display: flex; align-items: center; gap: 2rem; flex-wrap: wrap;
  animation: fadeUp 0.6s 0.4s ease both;
}
.stat { display: flex; flex-direction: column; }
.stat strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--text); }
.stat span { font-size: 13px; color: var(--text-muted); }
.stat-div { width: 1px; height: 36px; background: var(--border-light); }

/* BUTTONS */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 10px;
  font-family: var(--font-body); font-size: 15px; font-weight: 500;
  cursor: pointer; border: none; transition: all 0.25s;
  text-decoration: none;
}
.btn-primary { background: var(--brand); color: white; }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: var(--glow); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-light); }
.btn-ghost:hover { background: rgba(255,255,255,0.06); transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--brand-light); border: 1px solid var(--brand); }
.btn-outline:hover { background: rgba(232,57,14,0.1); }
.btn-sm { padding: 8px 18px; font-size: 13px; border-radius: 8px; }
.btn-full { width: 100%; }

/* ========================
   SECTIONS
   ======================== */
.section { padding: 100px 0; }
.section-dark { background: var(--dark-2); }
.section-accent { background: linear-gradient(135deg, rgba(232,57,14,0.08) 0%, rgba(245,166,35,0.05) 100%); }

.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; margin-bottom: 1rem; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--brand-light); margin-bottom: 0.75rem;
}
.eyebrow-light { color: rgba(255,255,255,0.5); }
.section-header.light h2 { color: white; }
.section-header.light p { color: rgba(255,255,255,0.6); }

/* FEATURE CARDS 4-grid */
.cards-4 {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(240px,1fr)); gap: 1.5rem;
}
.feature-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  transition: all 0.3s;
}
.feature-card:hover { border-color: var(--brand); transform: translateY(-4px); box-shadow: var(--glow); }
.fc-icon { font-size: 2.2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.6rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 1.25rem; line-height: 1.6; }
.card-link { color: var(--brand-light); font-size: 13px; font-weight: 500; }
.card-link:hover { text-decoration: underline; }

/* CERT LOGOS */
.cert-logos {
  display: flex; justify-content: center; flex-wrap: wrap; gap: 1rem;
}
.cert-logo-card {
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  min-width: 110px; transition: all 0.25s; cursor: pointer;
}
.cert-logo-card:hover { background: rgba(232,57,14,0.1); border-color: var(--brand); transform: translateY(-3px); }
.cert-logo-icon { font-size: 2rem; }
.cert-logo-card span { font-size: 12px; font-weight: 600; color: var(--text-muted); }

/* EVENTS */
.events-list { display: flex; flex-direction: column; gap: 1rem; }
.event-item {
  display: flex; align-items: center; gap: 1.5rem;
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem 1.5rem;
  transition: all 0.25s;
}
.event-item:hover { border-color: var(--brand-light); }
.event-date {
  flex-shrink: 0; width: 64px; text-align: center;
  background: rgba(232,57,14,0.1); border: 1px solid rgba(232,57,14,0.25);
  border-radius: 10px; padding: 0.5rem;
}
.event-date span { display: block; font-family: var(--font-head); font-size: 1.8rem; font-weight: 800; color: var(--brand-light); line-height: 1; }
.event-date { font-size: 11px; color: var(--text-muted); text-transform: uppercase; }
.event-info { flex: 1; }
.event-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); margin-bottom: 4px; display: block; }
.event-info h3 { font-size: 1rem; font-weight: 600; margin-bottom: 4px; }
.event-info p { font-size: 13px; color: var(--text-muted); }

/* NEWSLETTER */
.newsletter-box {
  display: flex; gap: 4rem; align-items: flex-start; flex-wrap: wrap;
}
.newsletter-text { flex: 1; min-width: 280px; }
.newsletter-text h2 { font-size: 2rem; margin-bottom: 0.75rem; }
.newsletter-text p { color: var(--text-muted); }
.newsletter-form { flex: 1; min-width: 280px; }
.form-row { display: flex; gap: 0.75rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.form-row input { flex: 1; min-width: 140px; }
.form-note { font-size: 12px; color: var(--text-dim); margin-top: 0.5rem; text-align: center; }

/* INPUTS SHARED */
input, textarea, select {
  background: var(--dark-3); border: 1px solid var(--border-light);
  color: var(--text); padding: 12px 16px; border-radius: 10px;
  font-family: var(--font-body); font-size: 14px; width: 100%;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  outline: none; border-color: var(--brand);
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
label { font-size: 13px; font-weight: 500; color: var(--text-muted); display: block; margin-bottom: 6px; }
.form-group { margin-bottom: 1.25rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* TESTIMONIALS */
.testimonials { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 1.5rem; }
.testi-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.testi-stars { color: var(--accent); margin-bottom: 1rem; letter-spacing: 2px; }
.testi-card p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.7; margin-bottom: 1.5rem; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 40px; height: 40px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 13px; font-weight: 700; color: white; flex-shrink: 0;
}
.testi-author strong { display: block; font-size: 14px; font-weight: 600; }
.testi-author span { font-size: 12px; color: var(--text-muted); }

/* FOOTER */
.footer { background: var(--dark-2); border-top: 1px solid var(--border); padding: 80px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand p { font-size: 14px; color: var(--text-muted); margin-top: 1rem; line-height: 1.7; }
.footer-address { margin-top: 0.5rem !important; }
.footer-brand a[href^="mailto"] { color: var(--brand-light); }
.footer-col h4 { font-family: var(--font-head); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 14px; color: var(--text-dim); padding: 4px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--brand-light); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem;
}
.footer-bottom p { font-size: 13px; color: var(--text-dim); }
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--brand-light); }

/* ========================
   PAGE HERO (inner pages)
   ======================== */
.page-hero {
  padding: 140px 0 80px;
  background: var(--dark-2);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.page-hero .eyebrow { display: block; margin-bottom: 1rem; }
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; margin-bottom: 1rem; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ========================
   CERT PAGE SPECIFICS
   ======================== */
.cert-section { padding: 80px 0 40px; }
.cert-section-title {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.cert-section-icon { font-size: 2rem; }
.cert-section-title h2 { font-size: 1.8rem; font-weight: 700; }
.cert-section-title .badge-provider {
  font-size: 12px; font-weight: 600; padding: 4px 12px;
  border-radius: 100px; background: rgba(232,57,14,0.15); color: var(--brand-light);
  border: 1px solid rgba(232,57,14,0.3);
}
.cert-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.cert-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem; display: flex; flex-direction: column;
  gap: 0.75rem; transition: all 0.3s;
}
.cert-card:hover { border-color: var(--brand); transform: translateY(-3px); }
.cert-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.cert-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; }
.cert-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; flex: 1; }
.cert-badge {
  font-size: 11px; padding: 3px 10px; border-radius: 100px; font-weight: 600; flex-shrink: 0;
}
.cert-free { background: rgba(34,197,94,0.15); color: #4ade80; border: 1px solid rgba(34,197,94,0.3); }
.cert-paid { background: rgba(245,166,35,0.15); color: var(--accent); border: 1px solid rgba(245,166,35,0.3); }
.cert-card-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.cert-meta { font-size: 12px; color: var(--text-dim); }
.cert-link { font-size: 13px; font-weight: 600; color: var(--brand-light); }
.cert-link:hover { text-decoration: underline; }

/* ========================
   AGENTIC AI PAGE
   ======================== */
.agentic-hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(100,200,255,0.1); border: 1px solid rgba(100,200,255,0.3);
  color: #7dd3fc; padding: 6px 14px; border-radius: 100px;
  font-size: 13px; font-weight: 500; margin-bottom: 1.5rem;
}
.agentic-concept-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1.5rem; }
.concept-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
}
.concept-card .step-num {
  font-family: var(--font-head); font-size: 3rem; font-weight: 800;
  color: rgba(232,57,14,0.2); line-height: 1; margin-bottom: 0.75rem;
}
.concept-card h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; }
.concept-card p { font-size: 13px; color: var(--text-muted); line-height: 1.7; }
.tools-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 1rem; }
.tool-card {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.25rem; text-align: center; transition: all 0.25s;
}
.tool-card:hover { border-color: var(--brand); }
.tool-card .tool-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.tool-card h4 { font-size: 14px; font-weight: 600; margin-bottom: 0.25rem; }
.tool-card p { font-size: 12px; color: var(--text-muted); }

/* ========================
   BLOG
   ======================== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 2rem; }
.blog-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; transition: all 0.3s;
}
.blog-card:hover { border-color: var(--brand); transform: translateY(-4px); }
.blog-img { height: 180px; background: linear-gradient(135deg, var(--dark-3), var(--mid)); display: flex; align-items: center; justify-content: center; font-size: 3rem; }
.blog-body { padding: 1.5rem; }
.blog-tag { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--brand-light); margin-bottom: 0.5rem; display: block; }
.blog-body h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 0.5rem; line-height: 1.4; }
.blog-body p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 1rem; }
.blog-meta { font-size: 12px; color: var(--text-dim); display: flex; gap: 1rem; }

/* ========================
   FORMS
   ======================== */
.form-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
}
.form-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 0.5rem; }
.form-card > p { font-size: 14px; color: var(--text-muted); margin-bottom: 2rem; }
.forms-tabs { display: flex; gap: 0.5rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.form-tab {
  padding: 8px 18px; border-radius: 100px; font-size: 13px; font-weight: 500;
  cursor: pointer; border: 1px solid var(--border); background: transparent; color: var(--text-muted);
  transition: all 0.2s;
}
.form-tab.active { background: var(--brand); border-color: var(--brand); color: white; }
.form-panel { display: none; }
.form-panel.active { display: block; }

/* ========================
   ABOUT
   ======================== */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1.5rem; }
.team-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem; text-align: center;
}
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%; background: var(--brand);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 700; color: white;
  margin: 0 auto 1rem;
}
.team-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 0.25rem; }
.team-card span { font-size: 13px; color: var(--brand-light); }
.team-card p { font-size: 13px; color: var(--text-muted); margin-top: 0.75rem; }

/* ========================
   ANIMATIONS
   ======================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu.open { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-box { flex-direction: column; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hero-title { font-size: 2.5rem; }
  .hero-stats { gap: 1rem; }
  .stat-div { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .event-item { flex-wrap: wrap; }
  .cert-cards { grid-template-columns: 1fr; }
}
