/* Management Education India — Custom Styles */
/* Framework: Bulma CSS — unique from other restored sites */

:root {
  --primary: #7B3F00;      /* Rich mahogany — academic authority */
  --primary-dark: #5C2D00;
  --primary-light: #A05820;
  --secondary: #1B5E20;    /* Deep forest green */
  --secondary-light: #2E7D32;
  --accent: #D4A017;       /* Gold accent */
  --bg: #FAFAF8;
  --bg-alt: #F5F3EE;
  --text: #1A1208;
  --text-light: #5D4E37;
  --text-muted: #8D7B6A;
  --border: #DDD5C8;
  --white: #FFFFFF;
}

/* Base */
html { scroll-behavior: smooth; }
body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.75;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--secondary); transition: color 0.2s; }
a:hover { color: var(--primary); }

/* Typography */
h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.2;
}
h1 { font-size: 2.4rem; margin-bottom: 1rem; }
h2 { font-size: 1.7rem; margin: 2rem 0 0.8rem; border-left: 4px solid var(--accent); padding-left: 0.8rem; }
h3 { font-size: 1.25rem; margin: 1.5rem 0 0.5rem; color: var(--secondary); }
p { margin-bottom: 1.1rem; }
ul, ol { margin: 0.5rem 0 1.2rem 1.8rem; }
li { margin-bottom: 0.4rem; }
strong { color: var(--primary-dark); font-weight: 600; }

/* Navbar */
.site-navbar {
  background: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-navbar .navbar-brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--white) !important;
  letter-spacing: 0.02em;
}
.site-navbar .navbar-brand span {
  color: var(--accent);
}
.site-navbar .navbar-item, .site-navbar .navbar-link {
  color: rgba(255,255,255,0.85) !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 500;
  transition: color 0.2s, background 0.2s;
}
.site-navbar .navbar-item:hover, .site-navbar .navbar-link:hover {
  color: var(--accent) !important;
  background: rgba(255,255,255,0.06) !important;
}
.site-navbar .navbar-burger span { background: rgba(255,255,255,0.85); }
.navbar-menu.is-active { background: var(--primary-dark); }

/* Hero */
.site-hero {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--primary-dark);
}
.site-hero .hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.35;
}
.site-hero .hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 3rem 2rem;
}
.site-hero h1 { color: var(--white); font-size: 2.6rem; text-shadow: 0 2px 8px rgba(0,0,0,0.4); }
.site-hero .hero-lead {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  margin: 1rem 0 1.6rem;
  line-height: 1.65;
}
.btn-hero {
  display: inline-block;
  background: var(--accent);
  color: var(--primary-dark);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: background 0.2s, transform 0.15s;
}
.btn-hero:hover { background: #E8B520; transform: translateY(-2px); }

/* Page header (non-hero pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
  padding: 3rem 1.5rem;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 0.5rem; }
.page-header p { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* Content area */
.content-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

/* Page image */
.page-image {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}

/* Feature cards (home) */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.8rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  transition: box-shadow 0.2s, transform 0.2s;
}
.feature-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.1); transform: translateY(-3px); }
.feature-card .card-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.feature-card h3 { margin-top: 0; font-size: 1.1rem; }
.feature-card p { font-size: 0.93rem; color: var(--text-light); margin: 0; }
.feature-card a { color: var(--secondary); font-weight: 600; font-size: 0.9rem; }

/* Section headings */
.section-heading {
  text-align: center;
  padding: 2.5rem 1.5rem 1rem;
  max-width: 700px;
  margin: 0 auto;
}
.section-heading h2 {
  border-left: none;
  padding-left: 0;
  font-size: 2rem;
}
.section-heading p { color: var(--text-light); font-size: 1.05rem; }

/* Stats strip */
.stats-strip {
  background: var(--secondary);
  color: var(--white);
  padding: 2rem 1.5rem;
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-item .stat-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent);
  display: block;
}
.stat-item .stat-label { font-size: 0.9rem; opacity: 0.85; }

/* Contact form */
.contact-form-wrapper {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 2rem;
  margin: 1.5rem 0;
}
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.4rem;
}
.form-control {
  width: 100%;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  color: var(--text);
  transition: border-color 0.2s;
  box-sizing: border-box;
}
.form-control:focus { outline: none; border-color: var(--secondary); background: var(--white); }
textarea.form-control { resize: vertical; }
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border: none;
  padding: 0.75rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--primary-dark); }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 0.6rem 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}
.breadcrumb-bar a { color: var(--secondary); }

/* Footer */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 3rem 1.5rem 1.5rem;
}
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-col h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.8rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.9rem; }
.footer-col a:hover { color: var(--accent); }
.footer-brand p { font-size: 0.88rem; line-height: 1.6; margin-top: 0.5rem; }
.footer-bottom {
  max-width: 1100px;
  margin: 1.2rem auto 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.83rem;
  color: rgba(255,255,255,0.5);
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.error-code {
  font-family: 'Montserrat', sans-serif;
  font-size: 6rem;
  font-weight: 900;
  color: var(--primary);
  line-height: 1;
  display: block;
}

/* Responsive */
@media (max-width: 768px) {
  h1 { font-size: 1.8rem; }
  h2 { font-size: 1.4rem; }
  .site-hero h1 { font-size: 2rem; }
  .stats-strip { gap: 1.5rem; }
}
