/*
Theme Name: GurugramEdu
Theme URI: https://gurugramedu.in
Author: GurugramEdu Team
Description: GurugramEdu - Jobs, Results & Admissions Portal Theme
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: gurugramedu
*/

/* =====================
   CSS VARIABLES
===================== */
:root {
  --primary: #1a56a0;
  --primary-dark: #0d3d7a;
  --accent: #f59e0b;
  --accent-light: #fef3c7;
  --success: #16a34a;
  --bg: #f8fafc;
  --card-bg: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --border: #e2e8f0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(26,86,160,0.08);
}

/* =====================
   RESET & BASE
===================== */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Hind', 'Noto Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }

/* =====================
   HEADER / NAVBAR
===================== */
.site-header {
  background: var(--primary-dark);
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
}
.site-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.site-logo span { color: var(--accent); }
.nav-menu {
  display: flex;
  list-style: none;
  gap: 28px;
  align-items: center;
}
.nav-menu a {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu a:hover { color: var(--accent); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  width: 24px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: 0.3s;
}

/* =====================
   HERO SECTION
===================== */
.hero-section {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #2563eb 100%);
  padding: 5rem 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-tag {
  display: inline-block;
  background: rgba(245,158,11,0.2);
  border: 1px solid rgba(245,158,11,0.4);
  color: var(--accent);
  border-radius: 20px;
  padding: 5px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 1.25rem;
}
.hero-title {
  font-family: 'Baloo 2', cursive;
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-title .highlight { color: var(--accent); }
.hero-subtitle {
  color: rgba(255,255,255,0.75);
  font-size: clamp(14px, 2vw, 17px);
  max-width: 520px;
  margin: 0 auto 2rem;
}
.hero-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn-primary {
  background: var(--accent);
  color: #1a1a1a;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  transition: transform 0.15s, box-shadow 0.15s;
  display: inline-block;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 16px rgba(245,158,11,0.4); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.6);
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: #fff; }

/* =====================
   STATS BAR
===================== */
.stats-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-item {
  text-align: center;
  padding: 22px 10px;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Baloo 2', cursive;
  font-size: 26px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

/* =====================
   SEARCH SECTION
===================== */
.search-section {
  background: var(--accent-light);
  border-bottom: 1px solid #fde68a;
  padding: 2rem 1.5rem;
  text-align: center;
}
.search-title {
  font-family: 'Baloo 2', cursive;
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
}
.search-form {
  display: flex;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto 1rem;
  flex-wrap: wrap;
}
.search-form input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  font-size: 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  background: #fff;
}
.search-form input:focus { border-color: var(--primary); }
.search-form button {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s;
}
.search-form button:hover { background: var(--primary-dark); }
.search-tags {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}
.search-tag {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 12px;
  color: var(--primary);
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}
.search-tag:hover { background: var(--primary); color: #fff; }

/* =====================
   SECTION COMMON
===================== */
.section {
  padding: 3rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.section-title {
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
}
.section-title span {
  color: var(--primary);
  border-bottom: 3px solid var(--accent);
  padding-bottom: 2px;
}
.view-all {
  font-size: 13px;
  color: var(--primary);
  font-weight: 600;
}
.view-all:hover { text-decoration: underline; }
hr.section-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 1.5rem;
}

/* =====================
   JOBS SECTION
===================== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.job-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow 0.2s, transform 0.2s;
  cursor: pointer;
}
.job-card:hover {
  box-shadow: 0 4px 16px rgba(26,86,160,0.12);
  transform: translateY(-2px);
}
.job-icon {
  width: 44px; height: 44px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  margin-bottom: 12px;
}
.job-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 4px;
}
.job-card p { font-size: 12px; color: var(--muted); }
.job-badge {
  display: inline-block;
  margin-top: 10px;
  background: #eff6ff;
  color: var(--primary);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 12px;
}

/* =====================
   RESULTS SECTION
===================== */
.results-section { background: var(--bg); }
.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 14px;
}
.result-card {
  border-radius: var(--radius);
  padding: 1.5rem;
  color: #fff;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}
.result-card:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.15); }
.result-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}
.result-card p { font-size: 12px; opacity: 0.85; }
.result-btn {
  display: inline-block;
  margin-top: 12px;
  background: rgba(255,255,255,0.2);
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 16px;
  padding: 4px 14px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}
.result-btn:hover { background: rgba(255,255,255,0.35); }

/* =====================
   BLOG SECTION
===================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.blog-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.blog-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.blog-thumb {
  height: 110px;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
}
.blog-body { padding: 1rem; }
.blog-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.blog-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
  line-height: 1.4;
}
.blog-date { font-size: 11px; color: var(--muted); margin-top: 6px; }

/* =====================
   NOTICE BAR
===================== */
.notice-bar {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 10px 1.5rem;
  font-size: 13px;
  font-weight: 500;
}
.notice-bar a { color: var(--accent); font-weight: 700; margin-left: 6px; }

/* =====================
   FOOTER
===================== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.7);
  padding: 2.5rem 1.5rem 1.5rem;
  margin-top: 2rem;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-col h4 {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Baloo 2', cursive;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  font-size: 13px;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 13px;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  font-family: 'Baloo 2', cursive;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 10px;
}
.footer-logo span { color: var(--accent); }
.footer-desc { font-size: 13px; line-height: 1.6; max-width: 260px; }

/* =====================
   MOBILE RESPONSIVE
===================== */
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 62px; left: 0; right: 0;
    background: var(--primary-dark);
    padding: 1rem 1.5rem;
    gap: 16px;
    z-index: 998;
  }
  .hamburger { display: flex; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) { border-bottom: 1px solid var(--border); }
  .search-form { flex-direction: column; }
  .search-form input,
  .search-form button { width: 100%; }
  .hero-section { padding: 3.5rem 1rem 3rem; }
  .section { padding: 2rem 1rem; }
}
