/* ==========================================================================
   Qualified Resources Private Limited - Official Stylesheet
   CIN: U74999UP2021PTC151727 | MSME: UDYAM-UP-03-0054528 | GSTIN: 09AAACQ7680F1Z6
   DPIIT Startup India | StartInUP | GeM Registered Vendor
   ========================================================================== */

:root {
  --primary: #0B2545;
  --primary-light: #134074;
  --primary-dark: #05192D;
  --secondary: #00B074;
  --secondary-hover: #009663;
  --accent-orange: #FF6B35;
  --accent-blue: #0077B6;
  --accent-gold: #F77F00;
  
  --text-dark: #1F2937;
  --text-muted: #4B5563;
  --text-light: #9CA3AF;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --bg-alt: #F1F5F9;
  --border-color: #E2E8F0;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -1px rgba(0,0,0,0.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -2px rgba(0,0,0,0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
  
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;
  
  --transition: all 0.25s ease-in-out;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--text-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.65rem; }
h2 { font-size: 2.15rem; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p {
  margin-bottom: 1rem;
  color: var(--text-muted);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: 920px;
}

.section {
  padding: 4.5rem 0;
  position: relative;
}

.section-alt {
  background-color: var(--bg-light);
}

.section-dark {
  background-color: var(--primary);
  color: var(--bg-white);
}

.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 {
  color: var(--bg-white);
}

.section-dark p {
  color: var(--text-light);
}

/* Header & Top Bar */
.top-bar {
  background-color: var(--primary-dark);
  color: #E2E8F0;
  font-size: 0.8rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 1rem;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.top-bar-info span, .top-bar-info a {
  color: #CBD5E1;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
}

.top-bar-info a:hover {
  color: var(--secondary);
}

.top-bar-social {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-left: auto;
  flex-shrink: 0;
}

.top-bar-social a {
  color: #94A3B8;
  font-size: 0.875rem;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
}

.top-bar-social a:hover {
  color: #FFFFFF;
  background: var(--secondary);
  transform: translateY(-2px);
}

/* Official Government Accreditations & Statutory Strip */
.gov-affiliations-strip {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border-color);
  padding: 0.4rem 0;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  font-size: 0.775rem;
  width: 100%;
  overflow: hidden;
}

.gov-affiliations-grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.1rem 0;
  scrollbar-width: none; /* Firefox */
}

.gov-affiliations-grid::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.gov-affil-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-sm);
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  height: 34px;
}

.gov-affil-item img,
.gov-affiliations-strip img,
.partner-logo-box img {
  height: 22px !important;
  max-height: 22px !important;
  width: auto !important;
  max-width: 90px !important;
  object-fit: contain !important;
  display: inline-block !important;
  vertical-align: middle !important;
  flex-shrink: 0 !important;
}

.gov-affil-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.gov-affil-text strong {
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
}

.gov-affil-text span {
  color: var(--text-muted);
  font-size: 0.675rem;
}

.gov-statutory-pill {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: #1E40AF;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.725rem;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Main Navigation */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: var(--transition);
  padding: 0.65rem 0;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

/* Authentic Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-svg-logo {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  line-height: 1.1;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-tagline {
  font-size: 0.65rem;
  color: var(--text-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-weight: 600;
  font-size: 0.85rem;
  color: #374151;
  position: relative;
  padding: 0.3rem 0.1rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary);
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-cta {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.35rem;
  color: var(--primary);
  cursor: pointer;
  padding: 0.4rem;
  line-height: 1;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #0B2545 0%, #134074 60%, #05192D 100%);
  color: var(--bg-white);
  padding: 5rem 0 5.5rem;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -25%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(0, 176, 116, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: var(--bg-white);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
}

.hero-highlight {
  color: #00D084;
}

.hero-subtitle {
  color: #CBD5E1;
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 580px;
  line-height: 1.7;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.hero-badge-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: #E2E8F0;
  backdrop-filter: blur(8px);
}

.hero-badge-item i {
  color: #00D084;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.hero-card-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
}

.hero-card-header h3 {
  color: var(--bg-white);
  font-size: 1.3rem;
  margin-bottom: 0.25rem;
}

.hero-card-header p {
  color: #CBD5E1;
  font-size: 0.85rem;
  margin-bottom: 0;
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.hero-stat-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 3px solid var(--secondary);
}

.hero-stat-number {
  font-size: 1.85rem;
  font-weight: 800;
  font-family: var(--font-heading);
  color: var(--bg-white);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.hero-stat-label {
  font-size: 0.775rem;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Page Header (Inner Pages) */
.page-header {
  background: linear-gradient(135deg, var(--primary) 0%, #134074 100%);
  color: var(--bg-white);
  padding: 4rem 0;
  text-align: center;
  position: relative;
}

.page-header h1 {
  color: var(--bg-white);
  font-size: 2.65rem;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: #CBD5E1;
  font-size: 1.15rem;
  max-width: 650px;
  margin: 0 auto 1.5rem;
}

.breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-light);
}

.breadcrumbs a {
  color: #CBD5E1;
}

.breadcrumbs a:hover {
  color: var(--secondary);
}

.breadcrumbs span.current {
  color: var(--secondary);
  font-weight: 600;
}

/* Section Header */
.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 3.5rem;
}

.section-subtitle {
  display: inline-block;
  font-size: 0.825rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--secondary-hover);
  background: rgba(0, 176, 116, 0.1);
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.85rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Grid Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: #CBD5E1;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand h3 {
  color: var(--bg-white);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: #94A3B8;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
}

.footer-meta {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.775rem;
  color: #94A3B8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-meta strong {
  color: var(--bg-white);
}

.footer-heading {
  color: var(--bg-white);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--secondary);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-links a:hover {
  color: var(--secondary);
  transform: translateX(4px);
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: #94A3B8;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.footer-contact-info i {
  color: var(--secondary);
  font-size: 1rem;
  margin-top: 0.2rem;
}

.footer-social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.footer-social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-white);
  transition: var(--transition);
}

.footer-social-btn:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.825rem;
  color: #94A3B8;
}

.footer-bottom a {
  color: #94A3B8;
}

.footer-bottom a:hover {
  color: var(--secondary);
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

/* Floating WhatsApp / Contact Widget */
.floating-actions {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  font-size: 1.35rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.float-btn-whatsapp {
  background-color: #25D366;
}

.float-btn-whatsapp:hover {
  background-color: #20BD5A;
  transform: scale(1.08);
}

.float-btn-top {
  background-color: var(--primary);
  display: none;
}

.float-btn-top:hover {
  background-color: var(--primary-light);
  transform: translateY(-4px);
}

/* Responsive Breakpoints */
@media (max-width: 1080px) {
  .mobile-toggle {
    display: block;
  }
  
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-bottom: 2px solid var(--secondary);
    clip-path: circle(0px at top right);
    transition: clip-path 0.35s ease-in-out;
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    z-index: 9999;
  }
  
  .nav-links.active {
    clip-path: circle(150% at top right);
  }

  .nav-link {
    font-size: 1rem;
    padding: 0.5rem 0;
    width: 100%;
    border-bottom: 1px solid #F1F5F9;
  }
  
  .nav-cta {
    display: none;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .hero-content {
    text-align: center;
  }
  
  .hero-subtitle {
    margin: 0 auto 2rem;
  }
  
  .hero-badges, .hero-actions {
    justify-content: center;
  }
  
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2.1rem; }
  h2 { font-size: 1.7rem; }
  .section { padding: 3rem 0; }
  
  .top-bar-social { display: none; }
  .top-bar-info { font-size: 0.75rem; justify-content: center; width: 100%; }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .footer-bottom-links {
    justify-content: center;
  }
  
  .hero-content h1 {
    font-size: 2.1rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .brand-tagline {
    font-size: 0.58rem;
  }
}
