/* style.css */

/* GLOBAL & TYPOGRAPHY */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Georgia", "Times New Roman", serif;
  background-color: #f5f2ef; /* Parchment-like tone */
  color: #1f2933;
}

/* TOP BAR */
.top-bar {
  background-color: #020617;
  height: 6px;
}

/* NAVBAR */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-custom {
  background: linear-gradient(to right, #020617, #1f2937);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: #f9fafb !important;
}

/* Nav Links Styling */
.nav-link {
  font-size: 0.9rem;
  color: #e5e7eb !important;
  margin-right: 0.8rem;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link:hover, .dropdown-item:hover {
  color: #e3a43a !important; /* Gold hover */
  background-color: transparent;
}

/* Dropdown Menu Styling */
.dropdown-menu {
  background-color: #1f2937;
  border: 1px solid #374151;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: #e5e7eb;
  font-size: 0.9rem;
  padding: 0.5rem 1rem;
}

.dropdown-item:hover {
  background-color: #374151;
  color: #e3a43a;
}

.dropdown-header {
  color: #9ca3af;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* HERO SECTION - Fixed alignment */
.hero {
  position: relative;
  color: #f9fafb;
  /* Landscape image for better coverage */
  background-image: url(/img/kautilya2.jpeg);
  background-size: cover; /* Ensures image covers the whole section */
  background-position: center center; /* Centers the image */
  background-repeat: no-repeat;
  min-height: 600px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(2, 6, 23, 0.9), rgba(2, 6, 23, 0.6));
}

.hero-inner {
  position: relative;
  z-index: 1;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 4rem 0;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-transform: uppercase;
  color: #e3a43a;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: #f3f4f6;
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-text {
  font-size: 1.1rem;
  color: #d1d5db;
  max-width: 650px;
  line-height: 1.6;
}

.hero-footer-text {
  margin-top: 2rem;
  font-size: 0.9rem;
  color: #9ca3af;
  border-top: 1px solid rgba(227, 164, 58, 0.3);
  padding-top: 1rem;
  display: inline-block;
}

/* GENERAL SECTIONS */
section.section-body {
  padding: 5rem 0;
  background-color: #fdfbf8;
  border-bottom: 1px solid #e5e7eb;
}

section.section-body:nth-of-type(even) {
  background-color: #f5f2ef;
}

.section-heading {
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #0f172a;
  text-align: center;
}

.section-subheading {
  font-size: 1.2rem;
  color: #b8862a;
  margin-bottom: 1rem;
  text-align: center;
  font-style: italic;
}

.divider-gold {
  width: 120px;
  height: 3px;
  background: linear-gradient(to right, transparent, #c79b3c, transparent);
  margin: 1rem auto 3rem auto;
}

/* INSTITUTIONAL OVERVIEW */
.overview-text-box {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
}

.overview-tagline {
  margin-top: 1.5rem;
  font-style: italic;
  color: #6b7280;
  font-size: 1rem;
}

/* Style for the RRHET Seal Image */
.rrhet-seal-img {
    max-width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* PURPOSE CARDS */
.stage-card {
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  padding: 2.5rem 1.5rem;
  height: 100%;
  text-align: center;
  transition: transform 0.3s ease;
}

.stage-card:hover {
  transform: translateY(-5px);
  border-color: #b8862a;
  box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.stage-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  display: block;
}

.stage-title {
  font-weight: 700;
  color: #1f2933;
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

/* INSTITUTIONAL POSITIONING */
.positioning-img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    border: 1px solid #d1d5db;
}

.positioning-list {
  list-style: none;
  padding: 0;
  margin-top: 1rem;
}

.positioning-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: #374151;
  line-height: 1.6;
}

.positioning-list li::before {
  content: "•";
  color: #b8862a;
  font-size: 2rem;
  position: absolute;
  left: 0;
  top: -8px;
}

/* CURRENT STATUS BOX */
.status-box {
  background-color: rgba(227, 164, 58, 0.1);
  border: 1px solid #b8862a;
  padding: 2.5rem;
  border-radius: 6px;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* FOOTER */
footer {
  background-color: #0b1220;
  color: #e5e7eb;
  font-size: 0.85rem;
  border-top: 4px solid #b8862a;
}

footer a {
  color: #e5e7eb;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
  color: #e3a43a;
}

.footer-heading {
  font-weight: 600;
  margin-bottom: 0.6rem;
  font-size: 0.9rem;
  color: #f9fafb;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-logo-text {
  font-weight: 700;
  margin-bottom: 0.4rem;
  font-size: 1rem;
  color: #fff;
}

.footer-logo-img {
    max-width: 60px;
    margin-bottom: 10px;
}