/* ============================================================
   SRJJM CREATIONS PRIVATE LIMITED — Business Verification Page
   style.css
   ============================================================ */

/* ---------- CSS Custom Properties (Design Tokens) ---------- */
:root {
  --color-bg:          #ffffff;
  --color-bg-alt:      #f7f8fa;
  --color-text:        #1a1a2e;
  --color-text-muted:  #6b7280;
  --color-border:      #e5e7eb;
  --color-accent:      #1d3a6e;        /* deep navy — corporate authority */
  --color-accent-light:#eef2fb;
  --color-footer-bg:   #111827;
  --color-footer-text: #d1d5db;

  --font-sans: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont,
               'Helvetica Neue', Arial, sans-serif;

  --radius:   6px;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.07);

  --max-width: 1100px;
  --nav-height: 64px;

  --transition: 0.2s ease;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

address {
  line-height: 1.8;
}

/* ---------- Layout Utility ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: 24px;
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand */
.brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand:hover {
  opacity: 0.85;
}

/* Desktop nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
  letter-spacing: 0.01em;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

/* Underline indicator on hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

.nav-link:hover {
  color: var(--color-accent);
}

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

/* Hamburger button (hidden on desktop) */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 17px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* Hamburger "open" state */
.hamburger.open span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  background-color: var(--color-accent-light);
  border-bottom: 1px solid var(--color-border);
  padding: 72px 0 64px;
  text-align: center;
}

.hero-content {
  max-width: 680px;
}

.hero h1 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-bottom: 6px;
}

.hero-sub {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* ============================================================
   GENERIC SECTION STYLES
   ============================================================ */
.section {
  padding: 72px 0;
}

.section-alt {
  background-color: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.section-title {
  font-size: clamp(1.25rem, 2.5vw, 1.6rem);
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

/* Thin accent divider under section titles */
.divider {
  width: 40px;
  height: 3px;
  background-color: var(--color-accent);
  border-radius: 2px;
  margin-bottom: 32px;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-text {
  max-width: 760px;
}

.about-text p {
  font-size: 0.97rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.about-text p:last-child {
  margin-bottom: 0;
}

/* ============================================================
   BUSINESS INFORMATION — CARDS
   ============================================================ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.info-card {
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
}

/* Full-width card (registered address) */
.info-card-full {
  grid-column: 1 / -1;
}

.info-card-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.info-card-value {
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 640px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px 24px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background-color: var(--color-bg);
  box-shadow: var(--shadow-sm);
}

.contact-icon {
  color: var(--color-accent);
  font-size: 8px;
  margin-top: 8px;
  flex-shrink: 0;
}

.contact-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-value {
  font-size: 0.95rem;
  color: var(--color-text);
  line-height: 1.6;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background-color: var(--color-footer-bg);
  color: var(--color-footer-text);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.01em;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--color-footer-text);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
}

.footer-link {
  color: var(--color-footer-text);
  transition: color var(--transition);
}

.footer-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

.footer-sep {
  color: #4b5563;
}

/* ============================================================
   RESPONSIVE — TABLET
   ============================================================ */
@media (max-width: 768px) {

  /* Show hamburger, hide links */
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
  }

  /* Mobile nav open state (toggled by JS) */
  .nav-links.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
    padding: 12px 24px;
    font-size: 0.95rem;
  }

  .nav-link::after {
    display: none;
  }

  /* Info grid — single column on mobile */
  .info-grid {
    grid-template-columns: 1fr;
  }

  .info-card-full {
    grid-column: 1 / -1;
  }

  /* Hero padding */
  .hero {
    padding: 48px 0;
  }

  /* Sections padding */
  .section {
    padding: 52px 0;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE
   ============================================================ */
@media (max-width: 400px) {
  .brand {
    font-size: 0.88rem;
  }
}

/* ============================================================
   SCROLL & ACTIVE STATES (toggled by script.js)
   ============================================================ */

/* Deeper shadow when page is scrolled */
.navbar.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.10);
}

/* Active nav link — highlights the current section */
.nav-link.active {
  color: var(--color-accent);
  font-weight: 600;
}

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