/* 
   RIITM Premium Stylesheet 
   Govt. & Corporate Style UI
*/
:root {
  --primary: #0f172a;
  --secondary: #1e293b;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --light: #f8fafc;
  --dark: #0f172a;
  --text-main: #334155;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --bg-body: #ffffff;
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); color: var(--dark); font-weight: 700; }
a { text-decoration: none; color: var(--accent); transition: var(--transition); }
a:hover { color: var(--accent-hover); }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 24px;
  border-radius: 6px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); transform: translateY(-2px); box-shadow: var(--shadow); color: #fff; }

/* Topbar */
.topbar { background: var(--primary); color: #fff; padding: 8px 0; font-size: 13px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; }
.topbar-left span { margin-right: 20px; }
.topbar-left i { color: var(--accent); margin-right: 5px; }
.topbar-right a { color: #cbd5e1; margin-left: 15px; }
.topbar-right a:hover { color: #fff; }
.ticker-wrap { display: inline-block; background: rgba(255,255,255,0.1); padding: 2px 10px; border-radius: 4px; }

/* Header */
.site-header { padding: 20px 0; border-bottom: 1px solid var(--border); background: #fff; }
.header-inner { display: flex; justify-content: space-between; align-items: center; }
.header-logo .logo-emblem { display: flex; align-items: center; gap: 10px; }
.logo-ring { width: 50px; height: 50px; border: 4px solid var(--accent); border-radius: 50%; border-top-color: var(--warning); }
.logo-text { font-family: var(--font-heading); font-size: 32px; font-weight: 900; color: var(--primary); letter-spacing: 1px; }
.header-center { text-align: center; }
.site-title { display: flex; flex-direction: column; line-height: 1.2; }
.title-top { font-size: 16px; font-family: var(--font-main); text-transform: uppercase; letter-spacing: 2px; color: var(--text-muted); }
.title-main { font-size: 28px; color: var(--primary); }
.header-badges { margin: 10px 0; display: flex; gap: 10px; justify-content: center; }
.header-badges span { padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 600; }
.badge-govt { background: #fef3c7; color: #b45309; }
.badge-iso { background: #e0e7ff; color: #4338ca; }
.badge-ncvt { background: #dcfce7; color: #15803d; }
.badge-est { background: #f1f5f9; color: #475569; }
.header-sub { font-size: 13px; color: var(--text-muted); }
.header-cta { display: flex; gap: 10px; }
.btn-apply { background: var(--accent); color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: 600; }
.btn-verify { background: var(--secondary); color: #fff; padding: 10px 20px; border-radius: 4px; font-weight: 600; }

/* Navbar */
.navbar { background: var(--primary); position: sticky; top: 0; z-index: 1000; box-shadow: var(--shadow); }
.nav-brand { display: none; color: #fff; font-family: var(--font-heading); font-size: 24px; font-weight: bold; }
.hamburger { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }
.nav-menu { display: flex; justify-content: center; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 15px 20px; color: #f8fafc; font-weight: 500; font-size: 15px; }
.nav-menu > li > a i { margin-right: 6px; }
.nav-menu > li:hover > a { background: rgba(255,255,255,0.1); }
.dropdown { position: absolute; top: 100%; left: 0; background: #fff; min-width: 250px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(10px); transition: var(--transition); border-top: 3px solid var(--accent); }
.nav-menu > li:hover .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown li a { display: block; padding: 12px 20px; color: var(--text-main); border-bottom: 1px solid var(--border); font-size: 14px; }
.dropdown li a:hover { background: var(--light); color: var(--accent); padding-left: 25px; }
.dropdown li:last-child a { border-bottom: none; }

/* Footer */
.site-footer { background: var(--primary); color: #cbd5e1; padding-top: 60px; margin-top: 60px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-bottom: 40px; }
.f-logo { font-family: var(--font-heading); font-size: 32px; color: #fff; font-weight: 900; margin-bottom: 10px; }
.f-tagline { color: var(--warning); font-weight: 600; margin-bottom: 15px; }
.f-social { margin-top: 20px; display: flex; gap: 10px; }
.f-social a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; background: rgba(255,255,255,0.1); border-radius: 50%; color: #fff; }
.f-social a:hover { background: var(--accent); }
.footer-col h4 { color: #fff; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--accent); }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: #cbd5e1; }
.footer-col ul li a:hover { color: var(--warning); }
.f-contact li { display: flex; gap: 10px; margin-bottom: 15px; }
.f-contact i { color: var(--accent); margin-top: 5px; }
.nl-form { display: flex; margin-top: 15px; }
.nl-form input { flex: 1; padding: 10px; border: none; border-radius: 4px 0 0 4px; outline: none; }
.nl-form button { padding: 10px 15px; background: var(--accent); color: #fff; border: none; border-radius: 0 4px 4px 0; cursor: pointer; }
.footer-bottom { background: #0b1120; padding: 20px 0; text-align: center; font-size: 14px; }
.footer-bottom p { margin-bottom: 5px; }

/* Utilities */
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 36px; color: var(--primary); margin-bottom: 15px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; position: absolute; left: 50%; bottom: -10px; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); }
.section-title p { color: var(--text-muted); font-size: 16px; max-width: 600px; margin: 0 auto; }

/* Responsive */
@media (max-width: 992px) {
  .header-inner { flex-direction: column; text-align: center; gap: 15px; }
  .nav-brand, .hamburger { display: block; }
  .nav-menu { display: none; flex-direction: column; width: 100%; position: absolute; top: 100%; left: 0; background: var(--primary); }
  .nav-menu.active { display: flex; }
  .navbar .container { display: flex; justify-content: space-between; align-items: center; padding: 15px 20px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; display: none; background: rgba(0,0,0,0.1); }
  .has-drop:hover .dropdown { display: block; }
}
