/* Rajput Associates — base.css (shared: reset, tokens, topbar, navbar, buttons, footer) */

:root {
  --bg: #FFFFFF;
  --bg-alt: #F4F6F9;
  --bg-alt-2: #EFF3F7;
  --ink: #16232E;
  --ink-muted: #5C6B79;
  --ink-faint: #8A97A3;
  --navy: #0F2A4A;
  --navy-2: #1C4A7A;
  --navy-tint: #E8EEF5;
  --gold: #C89B3C;
  --gold-dark: #9C742A;
  --gold-tint: #FBF3E2;
  --topbar-bg: #0B2038;
  --border: rgba(15, 42, 74, 0.13);
  --border-soft: rgba(15, 42, 74, 0.08);
  --shadow: 0 22px 48px -26px rgba(15, 42, 74, 0.32);
  --shadow-lg: 0 30px 70px -25px rgba(15, 42, 74, 0.4);
  --focus: #9C742A;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Public Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
 line-height: -0.4;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

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

a {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
}

/* ---- Justify all body content ---- */
p,
li {
  text-align: justify;
  text-justify: inter-word;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  text-wrap: balance;
  margin: 0;
  color: var(--navy);
}

.eyebrow {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 4vw, 3rem);
}

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.45rem;
  border-radius: 7px;
  font-weight: 600;
  font-size: 0.92rem;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--navy);
  color: #fff;
}

.btn-primary:hover {
  background: var(--navy-2);
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-gold {
  background: var(--gold);
  color: #2B2007;
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.55);
}

.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.12);
}

.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}

.btn-ghost-navy:hover {
  border-color: var(--navy);
  background: var(--navy-tint);
}

.btn-sm {
  padding: 0.4rem 1.1rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.03s;
}

.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.11s;
}

.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.19s;
}

.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.27s;
}

/* ---------- Top utility bar ---------- */
.topbar {
  background: var(--topbar-bg);
  color: #C9D5E2;
  font-size: 0.82rem;
}

.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 3px;
  padding-bottom: 3px;
}

.topbar-info {
  display: flex;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.topbar-info a {
  text-decoration: none;
  color: #C9D5E2;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.topbar-info a:hover {
  color: #fff;
}

.topbar-info svg {
  width: 13px;
  height: 13px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.topbar-social {
  display: flex;
  gap: 0.7rem;
}

.topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.topbar-social a:hover {
  background: var(--gold);
  border-color: var(--gold);
}

.topbar-social svg {
  width: 13px;
  height: 13px;
  stroke: #fff;
  fill: none;
}

@media (max-width: 760px) {
  .topbar-info span.hide-sm {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar-social {
    display: none;
  }
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(10px);
  border-bottom: none;
}

.navbar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, #D6483B 0%, var(--gold) 17%, #2E8B57 34%, var(--navy-2) 51%, #8E44AD 68%, var(--gold) 85%, #D6483B 100%);
  pointer-events: none;
}

.navbar::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30%;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  animation: navShineMove 3.2s linear infinite;
  pointer-events: none;
}

@keyframes navShineMove {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(400%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .navbar::after,
  .footer-bar::after {
    animation: none;
    opacity: 0;
  }
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 13px clamp(1.25rem, 4vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--navy), var(--navy-2));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-mark svg {
  width: 55%;
  height: 55%;
}

.brand-name {
  font-family: "Fraunces", serif;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.1;
  color: var(--ink);

}

.brand-sub {
  font-size: 0.85rem;
  line-height: 1.1;
  color: var(--ink-muted);

}

.menu {
  display: flex;
  align-items: center;
  gap: 0.05rem;
  list-style: none;
}

.menu > li {
  position: relative;
}

.menu > li > a,
.menu-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0.6rem;
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.86rem;
  white-space: nowrap;
  border-radius: 6px;
  transition: color 0.15s ease, background 0.15s ease;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.menu > li > a svg {
  flex-shrink: 0;
}

.menu > li > a:hover,
.menu > li:hover > a,
.menu-toggle-btn:hover,
.menu > li > a.active {
  color: var(--navy-2);
  background: var(--navy-tint);
}

.menu > li > a svg {
  width: 12px;
  height: 12px;
  stroke: currentColor;
}

.submenu {
  list-style: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}

.menu > li:hover > .submenu,
.menu > li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li + li {
  margin-top: 0.1rem;
}

.submenu li a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 0.7rem;
  border-radius: 7px;
  text-decoration: none;
  color: var(--ink-muted);
  font-size: 0.86rem;
  line-height: 1.3;
  transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease;
}

.submenu li a::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  opacity: 0.55;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.submenu li a:hover {
  background: var(--navy-tint);
  color: var(--navy-2);
  padding-left: 0.95rem;
}

.submenu li a:hover::before {
  opacity: 1;
  transform: scale(1.4);
}

.submenu-wide {
  min-width: 520px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.05rem 0.5rem;
}

.navbar-cta {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: #fff;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.nav-hamburger span,
.nav-hamburger::before,
.nav-hamburger::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-hamburger::before {
  position: absolute;
  transform: translateY(-6px);
}

.nav-hamburger::after {
  position: absolute;
  transform: translateY(6px);
}

.nav-hamburger.open span {
  opacity: 0;
}

.nav-hamburger.open::before {
  transform: rotate(45deg);
}

.nav-hamburger.open::after {
  transform: rotate(-45deg);
}

@media (max-width: 1480px) {
  .menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: calc(100vh - 70px);
    overflow-y: auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    padding: 0.6rem;
    gap: 0.1rem;
  }

  .menu.open {
    display: flex;
  }

  .menu > li > a {
    justify-content: space-between;
  }

  .submenu,
  .submenu-wide {
    position: static;
    box-shadow: none;
    border: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    min-width: auto;
    grid-template-columns: 1fr;
    margin-left: 0.6rem;
    padding: 0 0 0 0.5rem;
    border-left: 2px solid var(--navy-tint);
  }

  .menu > li.submenu-open .submenu {
    display: block;
  }

  .nav-hamburger {
    display: flex;
  }

  .navbar-cta .btn-sm {
    display: none;
  }
}

/* ---- Brand lockup: keep both lines equal width ---- */
.brand-text {
  display: grid;
}

.brand-name {
  display: block;
  margin: 0;
}

.brand-sub {
  display: block;
  margin-top: 1px;
  text-align: justify;
  text-align-last: justify;
  -webkit-text-align-last: justify;
}

/* ---------- Section shell ---------- */
section {
  padding: clamp(3.4rem, 7vw, 5.8rem) 0;
}

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

.section-head {
  max-width: 62ch;
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  margin: 0.6rem 0 0.85rem;
}

.section-head p {
  color: var(--ink-muted);
  font-size: 1.02rem;
  margin: 0;
}

/* ---------- Footer ---------- */
footer.site-footer {
  background: var(--topbar-bg);
  color: #C9D5E2;
  padding: clamp(2.1rem, 4vw, 3rem) 0 0;
}

.footer-glow {
  display: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 1.7rem;
}

.footer-col h4 {
  color: #fff;
  font-family: "Public Sans", sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 32px;
  margin: 0 0 0.85rem;
  letter-spacing: 0.02em;
}

.footer-about .brand-name {
  line-height: 32px;
}

.footer-about p {
  font-size: 0.85rem;
  color: #AEBBC8;
  margin: 0.7rem 0 0.9rem;
  max-width: 34ch;
  line-height: 1.55;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.footer-links a {
  text-decoration: none;
  color: #AEBBC8;
  font-size: 0.85rem;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.83rem;
  color: #AEBBC8;
}

.footer-contact li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.footer-contact a {
  color: #AEBBC8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-contact a:hover {
  color: var(--gold);
}

.footer-contact .ft-icon {
  display: flex;
}

.footer-contact .ft-icon svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold);
  fill: none;
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.footer-contact li span.ft-text {
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 0.7rem;
  margin-top: 0.3rem;
}

.footer-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.footer-social a:hover {
  background: var(--gold);
}

.footer-social svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-bar {
  position: relative;
  padding: 0.8rem 0;
}

.footer-bar::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, #D6483B 0%, var(--gold) 17%, #2E8B57 34%, var(--navy-2) 51%, #8E44AD 68%, var(--gold) 85%, #D6483B 100%);
  pointer-events: none;
}

.footer-bar::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.85) 50%, transparent 100%);
  animation: navShineMove 3.2s linear infinite;
  pointer-events: none;
}

.footer-bar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: #8CA0B3;
}

.footer-bar a {
  color: #8CA0B3;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-bar a:hover {
  color: var(--gold);
}

.footer-bar-links {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}
@media (max-width: 768px) {
    .topbar,
    .header-top,
    .contact-bar {
        display: none !important;
    }
}
@media(max-width:768px){

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

}

/* ================= MOBILE NAVBAR FIX ================= */

@media (max-width: 768px) {

    .navbar-inner {
        position: relative;
        width: 100%;
        padding: 12px 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }


    .brand {
        display: flex;
        align-items: center;
    }


    .nav-hamburger {
        display: flex !important;
        margin-left: auto !important;
        flex-shrink: 0;
        position: relative;
        right: 0;
    }


    .navbar-cta {
        display: none !important;
    }


    .menu {
        top: 100%;
        left: 0;
        width: 100%;
    }

}
@media(max-width:768px){

.brand-mark{
    width:32px;
    height:32px;
}

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

.brand-sub{
    font-size:0.72rem;
}

.nav-hamburger{
    width:38px;
    height:38px;
}

}
