/* ============================================================
   TCS TUTOR CLUB — Main Stylesheet
   ============================================================ */

:root {
  --blue: #1a6ed8;
  --blue2: #1558b0;
  --blue3: #e8f1fd;
  --blue4: #dbeafe;
  --teal: #0891b2;
  --teal2: #e0f2fe;
  --amber: #f59e0b;
  --amber2: #fef3c7;
  --green: #16a34a;
  --green2: #dcfce7;
  --red: #dc2626;
  --red2: #fee2e2;
  --text: #1e293b;
  --text2: #475569;
  --text3: #94a3b8;
  --bg: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 1px 3px rgba(0,0,0,0.08);
  --shadow2: 0 8px 30px rgba(26,110,216,0.12);
  --shadow3: 0 20px 60px rgba(0,0,0,0.1);
  --radius: 14px;
  --radius2: 10px;
  --radius3: 8px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', 'Hind Siliguri', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }

/* ===== TOP BAR ===== */
.topbar-strip {
  background: var(--blue);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 7px 0;
}
.topbar-strip .container {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.topbar-strip a { color: rgba(255,255,255,0.85); text-decoration: none; }
.topbar-strip a:hover { color: #fff; }

/* ===== NAVBAR ===== */
.navbar {
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  gap: 20px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
  max-height: 60px;
  overflow: hidden;
}
.logo-icon {
  width: 42px; height: 42px;
  background: var(--blue);
  color: white;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800; letter-spacing: -0.5px;
}
.logo-main { display: block; font-size: 16px; font-weight: 800; color: var(--text); line-height: 1.1; }
.logo-sub  { display: block; font-size: 11px; color: var(--text3); font-weight: 500; }
.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}
.nav-links li a {
  text-decoration: none;
  color: var(--text2);
  font-size: 14px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}
.nav-links li a:hover, .nav-links li a.active { color: var(--blue); background: var(--blue3); }
.btn-nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  border-radius: 10px !important;
  padding: 9px 18px !important;
  font-weight: 700 !important;
  box-shadow: 0 4px 14px rgba(26,110,216,0.3);
}
.btn-nav-cta:hover { background: var(--blue2) !important; transform: translateY(-1px); }
.nav-toggle { display: none; background: none; border: none; font-size: 22px; cursor: pointer; }

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, #1558b0 50%, #0c3d8a 100%);
  padding: 80px 0 60px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.04);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -60px;
  width: 250px; height: 250px;
  background: rgba(255,255,255,0.03);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h1 {
  font-size: 46px;
  font-weight: 800;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}
.hero h1 span { color: #fbbf24; }
.hero p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 26px;
  background: #fff;
  color: var(--blue);
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 13px 24px;
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 12px;
  font-size: 15px; font-weight: 600;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
}
.btn-outline:hover { background: rgba(255,255,255,0.22); }

/* Hero Search Box */
.hero-search-box {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 20px;
  padding: 28px;
}
.search-box-title {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-align: center;
}
.search-form { display: flex; flex-direction: column; gap: 10px; }
.search-form select, .search-form input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.12);
  color: #fff;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-form select:focus, .search-form input:focus { border-color: rgba(255,255,255,0.5); }
.search-form select option { background: var(--blue2); color: #fff; }
.search-form ::placeholder { color: rgba(255,255,255,0.55); }
.btn-search {
  width: 100%; padding: 12px;
  background: var(--amber);
  color: var(--text);
  border: none; border-radius: 10px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s;
  margin-top: 4px;
}
.btn-search:hover { background: #e08f00; transform: translateY(-1px); }

/* Hero Stats */
.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 28px;
  flex-wrap: wrap;
}
.stat-item { color: rgba(255,255,255,0.85); }
.stat-num { font-size: 26px; font-weight: 800; color: #fff; line-height: 1; }
.stat-lbl { font-size: 12px; margin-top: 2px; }

/* ===== SECTION ===== */
.section { padding: 70px 0; }
.section-alt { background: var(--white); }
.section-header { text-align: center; margin-bottom: 48px; }
.section-badge {
  display: inline-block;
  background: var(--blue3);
  color: var(--blue);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px; border-radius: 20px;
  text-transform: uppercase; letter-spacing: 0.8px;
  margin-bottom: 10px;
}
.section-title {
  font-size: 36px; font-weight: 800;
  color: var(--text); letter-spacing: -0.5px;
  margin-bottom: 10px;
}
.section-sub { font-size: 16px; color: var(--text2); max-width: 540px; margin: 0 auto; }

/* ===== CARDS ===== */
.cards-grid { display: grid; gap: 20px; }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  transition: all 0.2s;
}
.card:hover { border-color: var(--blue); box-shadow: var(--shadow2); transform: translateY(-3px); }

/* Tutor Card */
.tutor-card { position: relative; overflow: hidden; }
.tutor-card-header { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.tutor-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue3);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800; color: var(--blue);
  flex-shrink: 0;
}
.tutor-name { font-size: 16px; font-weight: 700; color: var(--text); }
.tutor-exp { font-size: 12px; color: var(--text3); margin-top: 2px; }
.tutor-badge {
  position: absolute; top: 14px; right: 14px;
  background: var(--green2); color: var(--green);
  font-size: 10px; font-weight: 700;
  padding: 3px 8px; border-radius: 20px;
}
.tutor-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 12px; }
.tag {
  background: var(--blue3); color: var(--blue);
  font-size: 11px; font-weight: 600;
  padding: 3px 9px; border-radius: 20px;
}
.tag-area { background: var(--teal2); color: var(--teal); }
.tag-gender { background: var(--amber2); color: #92400e; }
.tutor-meta { display: flex; gap: 14px; margin-bottom: 14px; flex-wrap: wrap; }
.meta-item { font-size: 12px; color: var(--text2); }
.meta-item strong { color: var(--text); }
.tutor-salary {
  font-size: 18px; font-weight: 800;
  color: var(--blue); margin-bottom: 12px;
}
.tutor-salary span { font-size: 13px; color: var(--text3); font-weight: 500; }
.btn-contact {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%; padding: 10px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 10px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; text-decoration: none;
  transition: all 0.2s;
  font-family: inherit;
}
.btn-contact:hover { background: var(--blue2); transform: translateY(-1px); }
.btn-contact-wa {
  background: #16a34a;
}
.btn-contact-wa:hover { background: #15803d; }

/* Feature Cards */
.feature-card { text-align: center; }
.feature-icon {
  width: 64px; height: 64px;
  background: var(--blue3);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin: 0 auto 16px;
  transition: all 0.2s;
}
.card:hover .feature-icon { background: var(--blue); }
.feature-title { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-text { font-size: 14px; color: var(--text2); line-height: 1.6; }

/* Process Steps */
.steps-grid { display: flex; gap: 0; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 28px; left: 60px; right: 60px;
  height: 2px;
  background: var(--border);
  z-index: 0;
}
.step-item { flex: 1; text-align: center; position: relative; z-index: 1; padding: 0 10px; }
.step-num {
  width: 56px; height: 56px;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
  margin: 0 auto 14px;
  border: 4px solid var(--bg);
  box-shadow: 0 4px 14px rgba(26,110,216,0.3);
}
.step-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.step-text { font-size: 13px; color: var(--text2); line-height: 1.5; }

/* ===== FILTER BAR ===== */
.filter-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 24px;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  align-items: end;
}
.filter-group label {
  display: block;
  font-size: 11px; font-weight: 700;
  color: var(--text3);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.filter-group select,
.filter-group input {
  width: 100%; padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.filter-group select:focus,
.filter-group input:focus { border-color: var(--blue); }
.btn-filter {
  padding: 10px 20px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 8px;
  font-size: 13px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s; width: 100%;
}
.btn-filter:hover { background: var(--blue2); }

/* Results count */
.results-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; flex-wrap: wrap; gap: 8px;
}
.results-count { font-size: 14px; color: var(--text2); font-weight: 500; }

/* ===== FORM ===== */
.form-section {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 680px;
  margin: 0 auto;
  box-shadow: var(--shadow2);
}
.form-section-title {
  font-size: 22px; font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}
.form-section-sub { font-size: 14px; color: var(--text2); margin-bottom: 24px; }
.form-row { display: grid; gap: 14px; margin-bottom: 14px; }
.form-row-2 { grid-template-columns: 1fr 1fr; }
.form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
.form-group label {
  display: block;
  font-size: 12px; font-weight: 700;
  color: var(--text2);
  text-transform: uppercase; letter-spacing: 0.5px;
  margin-bottom: 5px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26,110,216,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: 11px; color: var(--text3); margin-top: 4px; }
.required { color: var(--red); }
.form-divider { border: none; border-top: 1.5px solid var(--border); margin: 20px 0; }
.form-section-label {
  font-size: 13px; font-weight: 700;
  color: var(--blue);
  text-transform: uppercase; letter-spacing: 0.6px;
  margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.btn-submit {
  width: 100%; padding: 13px;
  background: var(--blue); color: #fff;
  border: none; border-radius: 12px;
  font-size: 15px; font-weight: 700;
  cursor: pointer; font-family: inherit;
  transition: all 0.2s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--blue2); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(26,110,216,0.3); }

/* Success / Error messages */
.alert {
  padding: 14px 18px;
  border-radius: 10px;
  font-size: 14px; font-weight: 500;
  margin-bottom: 16px;
}
.alert-success { background: var(--green2); color: var(--green); border: 1px solid #86efac; }
.alert-error   { background: var(--red2);   color: var(--red);   border: 1px solid #fca5a5; }

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  position: relative;
}
.testimonial-quote {
  font-size: 36px; line-height: 1;
  color: var(--blue3); font-weight: 800;
  margin-bottom: 8px;
}
.testimonial-text { font-size: 14px; color: var(--text2); line-height: 1.7; margin-bottom: 16px; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.author-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--blue3); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; font-weight: 700;
}
.author-name { font-size: 14px; font-weight: 700; }
.author-sub  { font-size: 12px; color: var(--text3); }
.stars { color: var(--amber); font-size: 13px; margin-bottom: 10px; }

/* ===== PAGE HEADER ===== */
.page-header {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  padding: 48px 0 40px;
  color: #fff;
}
.page-header h1 { font-size: 36px; font-weight: 800; margin-bottom: 8px; }
.page-header p  { font-size: 16px; color: rgba(255,255,255,0.8); }
.breadcrumb { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.breadcrumb a { color: rgba(255,255,255,0.75); text-decoration: none; }
.breadcrumb a:hover { color: #fff; }

/* ===== AREAS ===== */
.areas-grid { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.area-chip {
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--text2); font-size: 13px; font-weight: 500;
  padding: 8px 18px; border-radius: 24px;
  cursor: pointer; transition: all 0.2s; text-decoration: none;
}
.area-chip:hover { border-color: var(--blue); color: var(--blue); background: var(--blue3); }

/* ===== CTA SECTION ===== */
.cta-section {
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  padding: 64px 0; text-align: center; color: #fff;
}
.cta-section h2 { font-size: 36px; font-weight: 800; margin-bottom: 12px; }
.cta-section p  { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ===== FOOTER ===== */
.footer { background: #0f172a; color: rgba(255,255,255,0.7); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand .logo-icon { background: var(--blue); }
.footer-brand .logo-main { color: #fff; }
.footer-brand .logo-sub  { color: rgba(255,255,255,0.5); }
.footer-brand p { font-size: 13px; line-height: 1.7; color: rgba(255,255,255,0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  text-decoration: none; font-size: 16px;
  transition: background 0.2s;
}
.footer-social a:hover { background: var(--blue); }
.footer-col h4 { color: #fff; font-size: 14px; font-weight: 700; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.55); text-decoration: none;
  font-size: 13px; transition: color 0.2s;
}
.footer-col ul li a:hover { color: #fff; }
.footer-contact li { font-size: 13px; margin-bottom: 8px; }
.footer-wa-btn {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 12px; padding: 9px 16px;
  background: #16a34a; color: #fff;
  border-radius: 8px; font-size: 13px; font-weight: 600;
  text-decoration: none; transition: all 0.2s;
}
.footer-wa-btn:hover { background: #15803d; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 18px 0;
  text-align: center;
  font-size: 12px; color: rgba(255,255,255,0.4);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  .cards-grid-3, .cards-grid-4 { grid-template-columns: repeat(2,1fr); }
  .steps-grid { flex-direction: column; }
  .steps-grid::before { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row-2, .form-row-3 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 28px; }
  .section-title { font-size: 26px; }
  .cards-grid-3, .cards-grid-4, .cards-grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== LOGO IMAGE ===== */
.nav-logo-img {
  height: 46px !important;
  width: auto !important;
  max-width: 160px !important;
  max-height: 46px !important;
  object-fit: contain !important;
  display: block;
  flex-shrink: 0;
}
/* Make sure no image goes full width */
img {
  max-width: 100%;
}

/* ===== TESTIMONIAL SLIDER ===== */
.testimonial-slider-wrap {
  position: relative;
  overflow: hidden;
}
.testimonial-track {
  display: flex;
  transition: transform 0.5s ease;
  gap: 0;
}
.testimonial-slide {
  min-width: 100%;
  padding: 0 8px;
}
.testimonial-slide-inner {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow2);
}
.testimonial-avatar-img {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  display: block;
  border: 3px solid var(--blue3);
}
.testimonial-text-big {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 16px;
  font-style: italic;
}
.testimonial-name { font-size: 16px; font-weight: 800; color: var(--text); }
.testimonial-role { font-size: 13px; color: var(--text3); margin-top: 2px; }
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.slider-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.slider-dot.active { background: var(--blue); transform: scale(1.2); }
.slider-arrows {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}
.slider-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex; align-items: center; justify-content: center;
}
.slider-arrow:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
