/* ========================================
   LearnTrail – Global Styles
   Stack: HTML + Bootstrap 5 + Custom CSS
   Colors sourced from learntrail.in
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;600;700;800&display=swap');

:root {
  /* Brand Colors */
  --primary: #065778;          /* Deep blue */
  --accent:  #fec320;          /* Yellow */

  /* Neutral Colors */
  --secondary: #4a4f55;        
  --text-color: #6b7280;       

  /* Supporting Color (optional warm tone) */
  --orange: #f59e0b;

  /* Derived tones (Blue) */
  --primary-dark: #043d56;
  --primary-light: #3a8fb3;
  --primary-pale: #e6f2f7;

  /* Derived tones (Yellow) */
  --accent-dark: #d9a90f;
  --accent-light: #ffd95e;
  --accent-pale: #fff8e1;

  /* UI */
  --radius: 0.75rem;
  --shadow-sm: 0 2px 8px rgba(6, 87, 120, 0.15);
  --shadow-md: 0 8px 24px rgba(6, 87, 120, 0.25);
  --shadow-lg: 0 16px 48px rgba(6, 87, 120, 0.3);
}


* { box-sizing: border-box; }

html{
  scroll-behavior: smooth;
}
body {
  font-family: 'Montserrat', sans-serif;
  color: var(--secondary);
  background: #ffffff;
}

/* ── Navbar ─────────────────────────── */
.lt-navbar {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(110,193,228,0.2);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.lt-navbar.scrolled { box-shadow: 0 4px 20px rgba(110,193,228,0.18); }
.lt-brand {
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.lt-brand-icon {
  width: 36px; height: 36px;
  background: var(--primary-light);
  border-radius: 8px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1rem;
}
.lt-nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary) !important;
  transition: color 0.2s;
  padding: 0.4rem 0.8rem !important;
  text-decoration: none;
}
.lt-nav-link:hover,
.lt-nav-link.active { color: var(--primary-dark) !important; }
.lt-nav-cta {
  background: var(--primary);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.55rem 1.4rem !important;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
.lt-nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }

/* ── Hero ────────────────────────────── */
.lt-hero {
  background: var(--primary);
  position: relative;
  overflow: hidden;
  padding: 6rem 0 5rem;
}
.lt-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.lt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.35);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  margin-bottom: 1.5rem;
}
.lt-hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
}
.lt-hero h1 span { color: var(--accent); }
.lt-hero p { color: rgba(255,255,255,0.88); font-size: 1.1rem; max-width: 560px; }
.lt-hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 2rem; }
.lt-btn-white {
  background: #fff;
  color: var(--primary-dark);
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 0.95rem;
}
.lt-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); color: var(--primary-dark); }
.lt-btn-outline-white {
  background: transparent;
  color: #fff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.65);
  transition: background 0.2s;
  font-size: 0.95rem;
}
.lt-btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: #fff; color: #fff; }

/* Tech badges */
.lt-badge-float { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2.5rem; }
.lt-badge-float .badge-item {
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  backdrop-filter: blur(6px);
}

/* ── Stats ───────────────────────────── */
.lt-stats { background: #fff; }
.lt-stat-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lt-stat-number { font-size: 2.6rem; font-weight: 800; color: var(--primary-dark); line-height: 1; }
.lt-stat-label { font-size: 0.9rem; color: var(--text-color); font-weight: 500; margin-top: 0.4rem; }

/* ── Section headings ────────────────── */
.lt-section { padding: 5rem 0; }
.lt-section-bg { background: #f0faff; }
.lt-tag {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}
.lt-section-title { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 800; color: var(--secondary); }
.lt-section-title span { color: var(--primary-dark); }
.lt-section-sub { color: var(--text-color); font-size: 1rem; max-width: 540px; }

/* ── Cards ───────────────────────────── */
.lt-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(110,193,228,0.18);
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.8,.2,1), box-shadow 0.3s;
}
.lt-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.lt-card-img-wrap {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
}
.lt-card-body { padding: 1.4rem; }
.lt-card-title { font-weight: 700; font-size: 1.05rem; color: var(--secondary); margin-bottom: 0.4rem; }
.lt-card-text { font-size: 0.88rem; color: var(--text-color); line-height: 1.6; }

/* Category badges */
.lt-cat-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.cat-dev { background: #dbeafe; color: #1d4ed8; }
.cat-prog { background: #fef3c7; color: #d97706; }
.cat-ds { background: #d1fae5; color: #065f46; }
.cat-design { background: #fce7f3; color: #be185d; }
.cat-cloud { background: #e8f6fc; color: var(--primary-dark); }
.cat-mkt { background: #fee2e2; color: #b91c1c; }
.cat-sec { background: #f3f4f6; color: #374151; }

.lt-level-badge { font-size: 0.72rem; font-weight: 700; padding: 0.2rem 0.6rem; border-radius: 50px; }
.level-beginner { background: #e8f9eb; color: var(--accent-dark); }
.level-intermediate { background: #e8f6fc; color: var(--primary-dark); }
.level-advanced { background: #fff3e6; color: #c76e00; }

.lt-hot-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

/* Stars */
.lt-stars { color: #f59e0b; font-size: 0.8rem; }
.lt-stars .star-empty { color: #d1d5db; }

/* ── Steps ───────────────────────────── */
.lt-steps { counter-reset: step; }
.lt-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.lt-step-num {
  flex-shrink: 0;
  width: 48px; height: 48px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
}
.lt-step-body h5 { font-weight: 700; font-size: 1rem; color: var(--secondary); margin-bottom: 0.25rem; }
.lt-step-body p { color: var(--text-color); font-size: 0.9rem; }

/* ── Testimonials ────────────────────── */
.lt-testimonial {
  background: #fff;
  border: 1px solid rgba(110,193,228,0.2);
  border-radius: var(--radius);
  padding: 1.8rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-testimonial:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lt-testimonial-quote { font-size: 2.5rem; color: var(--primary); line-height: 1; margin-bottom: 0.5rem; }
.lt-testimonial-text { font-size: 0.92rem; color: var(--text-color); line-height: 1.7; }
.lt-testimonial-author { display: flex; align-items: center; gap: 0.75rem; margin-top: 1.25rem; }
.lt-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
}
.lt-author-name { font-weight: 700; font-size: 0.9rem; color: var(--secondary); }
.lt-author-role { font-size: 0.78rem; color: var(--text-color); }

/* ── CTA band ─────────────────────────── */
.lt-cta {
  background: var(--primary);
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.lt-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}
.lt-cta h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 800; color: #fff; }
.lt-cta p { color: rgba(255,255,255,0.85); max-width: 500px; margin: 0 auto 2rem; }

/* ── Search / Filter ─────────────────── */
.lt-search-wrap { position: relative; }
.lt-search-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.lt-search-wrap input { padding-left: 2.8rem; border-radius: 50px; border: 2px solid rgba(110,193,228,0.25); }
.lt-search-wrap input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(110,193,228,0.15); outline: none; }

.lt-filter-btns { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.lt-filter-btn {
  background: #fff;
  border: 2px solid rgba(110,193,228,0.25);
  color: var(--secondary);
  font-weight: 600;
  font-size: 0.82rem;
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.lt-filter-btn:hover,
.lt-filter-btn.active { background: var(--primary-dark); border-color: var(--primary-dark); color: #fff; }

/* ── Internship cards ────────────────── */
.lt-intern-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(110,193,228,0.18);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-intern-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lt-intern-card-top { padding: 1.4rem; border-bottom: 1px solid #e8f6fc; }
.lt-intern-card-body { padding: 1.4rem; }
.lt-intern-accent { height: 4px; background: var(--primary); }
.lt-apply-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.lt-apply-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.lt-stipend { color: var(--primary-dark); font-weight: 800; font-size: 1.1rem; }
.lt-duration { color: var(--text-color); font-size: 0.85rem; }
.lt-tag-pill {
  display: inline-block;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 50px;
  margin: 0.15rem;
}

/* ── About ───────────────────────────── */
.lt-mission-card {
  background: #fff;
  border: 1px solid rgba(110,193,228,0.18);
  border-radius: var(--radius);
  padding: 2rem;
  height: 100%;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-mission-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.lt-icon-circle {
  width: 56px; height: 56px;
  background: var(--primary-pale);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.lt-milestone {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  position: relative;
  padding-bottom: 1.8rem;
}
.lt-milestone:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: rgba(110,193,228,0.3);
}
.lt-milestone-dot {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--primary);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 800;
  font-size: 0.72rem;
}
.lt-team-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(110,193,228,0.18);
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.lt-team-header { height: 100px; background: var(--primary); display: grid; place-items: center; }
.lt-team-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 4px solid #fff;
  display: grid;
  place-items: center;
  font-size: 2rem;
  font-weight: 800;
  color: #fff;
  margin: -40px auto 0;
  position: relative;
}
.lt-team-body { padding: 1rem 1.2rem 1.4rem; }
.lt-team-name { font-weight: 700; font-size: 1rem; color: var(--secondary); }
.lt-team-role { font-size: 0.82rem; color: var(--primary-dark); font-weight: 600; }
.lt-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--primary-pale);
  color: var(--primary-dark);
  font-size: 0.85rem;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.lt-social-link:hover { background: var(--primary-dark); color: #fff; }
.lt-value-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(110,193,228,0.18);
  padding: 1.8rem;
  transition: transform 0.3s, box-shadow 0.3s;
}
.lt-value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Contact ─────────────────────────── */
.lt-contact-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(110,193,228,0.18);
  padding: 2rem;
}
.lt-form-control {
  border: 2px solid rgba(110,193,228,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.lt-form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(110,193,228,0.18);
  outline: none;
}
.lt-form-label { font-weight: 600; font-size: 0.88rem; color: var(--secondary); margin-bottom: 0.4rem; margin-top: 0.8rem; }
.lt-submit-btn {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Montserrat', sans-serif;
}
.lt-submit-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.lt-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.lt-info-icon {
  width: 44px; height: 44px;
  background: var(--primary-pale);
  color: var(--primary-dark);
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.lt-faq-item {
  background: #fff;
  border: 1px solid rgba(110,193,228,0.2);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.lt-faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.1rem 1.4rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--secondary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Montserrat', sans-serif;
}
.lt-faq-question i { transition: transform 0.3s; color: var(--primary-dark); }
.lt-faq-question.open i { transform: rotate(45deg); }
.lt-faq-answer { padding: 0 1.4rem 1.1rem; color: var(--text-color); font-size: 0.9rem; line-height: 1.7; display: none; }
.lt-faq-answer.open { display: block; }

/* ── Success state ───────────────────── */
.lt-success { text-align: center; padding: 3rem 1rem; display: none; }
.lt-success.show { display: block; }
.lt-success-icon {
  width: 72px; height: 72px;
  background: #d1fae5;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  color: #059669;
  margin: 0 auto 1.2rem;
}

/* ── Footer ──────────────────────────── */
.lt-footer {
  background: #1a2e38;
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 2rem;
}
.lt-footer-brand { font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 0.75rem; }
.lt-footer h6 { color: #fff; font-weight: 700; margin-bottom: 1rem; font-size: 0.9rem; }
.lt-footer-link { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.88rem; display: block; margin-bottom: 0.5rem; transition: color 0.2s; }
.lt-footer-link:hover { color: var(--primary-light); }
.lt-footer-divider { border-color: rgba(255,255,255,0.1); margin: 2rem 0 1.5rem; }
.lt-footer-bottom { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.lt-footer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  margin-right: 0.5rem;
  transition: background 0.2s, color 0.2s;
}
.lt-footer-social a:hover { background: var(--primary-dark); color: #fff; }

/* ── Page Hero (inner pages) ─────────── */
.lt-page-hero {
  background: var(--primary);
  padding: 4.5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.lt-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
}
.lt-page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: #fff; }
.lt-page-hero p { color: rgba(255,255,255,0.85); }
.lt-breadcrumb { color: rgba(255,255,255,0.65); font-size: 0.85rem; }
.lt-breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.lt-breadcrumb a:hover { color: #fff; }

/* ── Utilities ───────────────────────── */
.btn-primary-lt {
  background: var(--primary);
  color: #fff;
  border: none;
  font-weight: 700;
  padding: 0.7rem 1.8rem;
  border-radius: 50px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.2s, box-shadow 0.2s;
  font-size: 0.9rem;
}
.btn-primary-lt:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.text-primary-lt { color: var(--primary-dark) !important; }
.bg-primary-lt { background: var(--primary) !important; }

/* ── Animations ──────────────────────── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* ── Responsive ──────────────────────── */
@media (max-width: 768px) {
  .lt-hero { padding: 4rem 0 3rem; }
  .lt-section { padding: 3.5rem 0; }
  .lt-hero-btns { flex-direction: column; align-items: flex-start; }
}
.pc-card { display: none; }
.pc-card.active { display: block; }