/* ==========================================================================
   Shree Ji Associates — Site Stylesheet
   ========================================================================== */

:root {
  --navy: #2b2a75;
  --navy-dark: #1e1d52;
  --gold: #f8b400;
  --sky: #29abe2;
  --dark: #26272b;
  --gray: #5c5f6a;
  --light-bg: #f6f7fb;
  --border: #e4e6ee;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(30, 29, 82, 0.08);
  --shadow-lg: 0 14px 40px rgba(30, 29, 82, 0.14);
  --max-width: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Poppins', 'Inter', sans-serif;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.25;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 72px 0;
}

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

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.eyebrow {
  display: inline-block;
  color: var(--sky);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 12px;
}

.section-head p {
  color: var(--gray);
  font-size: 1.02rem;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(248, 180, 0, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 26px rgba(248, 180, 0, 0.45); }

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.12); }

.btn-outline-navy {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }

.btn-sky {
  background: var(--sky);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(41, 171, 226, 0.35);
}
.btn-sky:hover { box-shadow: 0 12px 26px rgba(41, 171, 226, 0.45); }

.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy-dark);
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), #ffd25c);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 3px var(--navy);
}
.brand-mark svg { width: 22px; height: 22px; }

.brand small {
  display: block;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.brand-logo {
  height: 56px;
  width: auto;
  display: block;
}

.footer-logo-wrap {
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
}
.footer-logo-wrap img {
  height: 48px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-links a {
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--dark);
  transition: background 0.15s ease, color 0.15s ease;
}
.nav-links a:hover { background: var(--light-bg); color: var(--navy); }
.nav-links a.active { background: var(--navy); color: var(--white); }

.nav-cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
}
.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  content: '';
  display: block;
  width: 22px;
  height: 2px;
  background: var(--navy-dark);
  position: relative;
  transition: 0.2s;
}
.nav-toggle span::before { position: absolute; top: -7px; width: 22px; background: var(--navy-dark); }
.nav-toggle span::after { position: absolute; top: 7px; width: 22px; background: var(--navy-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(circle at 15% 20%, #3a389a 0%, var(--navy) 45%, var(--navy-dark) 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, rgba(30, 29, 82, 0.94) 0%, rgba(30, 29, 82, 0.88) 40%, rgba(30, 29, 82, 0.75) 100%);
  z-index: 0;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><path d="M0 100 L100 0" stroke="rgba(255,255,255,0.04)" stroke-width="1"/></svg>');
  opacity: 0.6;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 24px 84px;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  margin-bottom: 18px;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.08rem;
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 22px;
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sky); }

.hero-stats {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.hero-stat .num {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.9rem;
  color: var(--gold);
}
.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

/* ---------- Cards ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-dark));
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--gray); font-size: 0.95rem; }

/* ---------- Timeline (About) ---------- */
.timeline {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  padding-left: 32px;
  border-left: 3px solid var(--border);
}
.timeline-item { position: relative; padding-bottom: 40px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::before {
  content: '';
  position: absolute;
  left: -41px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--navy);
}
.timeline-item .year {
  display: inline-block;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--sky);
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 1.1rem; margin-bottom: 6px; }
.timeline-item p { color: var(--gray); }

/* ---------- Partners ---------- */
.partner-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}
.partner-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--sky));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.6rem;
  margin: 0 auto 18px;
}
.partner-card h3 { font-size: 1.1rem; }
.partner-card .role {
  color: var(--sky);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 6px 0 12px;
}
.partner-card p { color: var(--gray); font-size: 0.92rem; }

/* ---------- License strip ---------- */
.license-strip {
  background: var(--navy-dark);
  color: var(--white);
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.license-strip h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 6px; }
.license-strip p { color: rgba(255, 255, 255, 0.75); font-size: 0.95rem; }
.license-badge {
  background: var(--gold);
  color: var(--navy-dark);
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
}

/* ---------- Status badges (Projects) ---------- */
.status {
  display: inline-block;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.status-ongoing { background: #e6f7ff; color: #0c7fb5; }
.status-upcoming { background: #fff3d6; color: #a86b00; }
.status-awarded { background: #e6f6ec; color: #1f8a4c; }

.project-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
}
.project-photo {
  width: calc(100% + 52px);
  margin: -26px -26px 2px;
  height: 170px;
  overflow: hidden;
}
.project-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

.project-card .meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.85rem;
  color: var(--gray);
  border-top: 1px dashed var(--border);
  padding-top: 12px;
  margin-top: 4px;
}
.project-card .meta span { display: flex; align-items: center; gap: 6px; }
.project-card h3 { font-size: 1.05rem; }

.notice-banner {
  background: #fff8e6;
  border: 1px solid #f4d78a;
  color: #7a5c00;
  border-radius: var(--radius);
  padding: 16px 22px;
  font-size: 0.92rem;
  margin-bottom: 36px;
}

/* ---------- Tabs (Projects page) ---------- */
.tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.tab-btn {
  padding: 10px 22px;
  border-radius: 999px;
  border: 2px solid var(--border);
  background: var(--white);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.15s ease;
}
.tab-btn.active,
.tab-btn:hover {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ---------- Careers ---------- */
.job-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.job-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.job-card .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.job-card .tags span {
  background: var(--light-bg);
  color: var(--gray);
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

.perk-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.perk-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--gray);
  font-size: 0.95rem;
}
.perk-list li svg { flex-shrink: 0; width: 22px; height: 22px; color: var(--sky); margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}
.contact-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-item .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: var(--light-bg);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-item h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-item p, .contact-item a { color: var(--gray); font-size: 0.94rem; }
.contact-item a:hover { color: var(--sky); }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--navy), var(--navy-dark));
  color: var(--white);
  border-radius: 20px;
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { color: var(--white); margin-bottom: 14px; }
.cta-banner p { color: rgba(255, 255, 255, 0.78); max-width: 560px; margin: 0 auto 28px; }
.cta-banner .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 56px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.footer-brand span { font-family: 'Poppins', sans-serif; font-weight: 700; color: var(--white); font-size: 1.1rem; }
.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}
.footer-col ul li { margin-bottom: 10px; font-size: 0.92rem; }
.footer-col ul li a:hover { color: var(--gold); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  bottom: 26px;
  right: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  z-index: 90;
  transition: transform 0.15s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 28px; height: 28px; fill: var(--white); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-dark) 100%);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 24px;
  text-align: center;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(43, 42, 117, 0.91) 0%, rgba(30, 29, 82, 0.93) 100%);
  z-index: 0;
}
.page-hero > * { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255, 255, 255, 0.8); max-width: 620px; margin: 0 auto; }
.breadcrumb { font-size: 0.85rem; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--gold); }

/* ---------- Image Slider (Home banner) ---------- */
.slider {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: var(--navy-dark);
}
.slider-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
}
.slide {
  min-width: 100%;
  position: relative;
}
.slide img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
}
.slide .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(20, 19, 66, 0.88), rgba(20, 19, 66, 0.05));
  color: var(--white);
  padding: 30px 34px;
}
.slide .caption h3 { color: var(--white); font-size: 1.25rem; margin-bottom: 4px; }
.slide .caption p { color: rgba(255, 255, 255, 0.82); font-size: 0.95rem; max-width: 560px; }

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy-dark);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  z-index: 2;
  transition: background 0.15s ease;
}
.slider-arrow:hover { background: var(--white); }
.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }
.slider-arrow svg { width: 20px; height: 20px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 9px;
  z-index: 2;
}
.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  transition: background 0.15s ease, transform 0.15s ease;
}
.slider-dots button.active { background: var(--gold); transform: scale(1.2); }

@media (max-width: 720px) {
  .slide img { height: 280px; }
  .slider-arrow { width: 36px; height: 36px; }
}

/* ---------- Single image banner (About / Careers) ---------- */
.img-banner {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.img-banner img { width: 100%; height: 360px; object-fit: cover; display: block; }
.img-banner .caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(20, 19, 66, 0.88), rgba(20, 19, 66, 0.05));
  color: var(--white);
  padding: 26px 30px;
}
.img-banner .caption h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 4px; }
.img-banner .caption p { color: rgba(255, 255, 255, 0.82); font-size: 0.92rem; max-width: 560px; }

@media (max-width: 720px) {
  .img-banner img { height: 240px; }
}

/* ---------- Cards with photo ---------- */
.card-photo {
  width: calc(100% + 60px);
  margin: -30px -30px 20px;
  height: 190px;
  overflow: hidden;
}
.card-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (max-width: 720px) {
  .photo-banner img { height: 280px; }
}

/* ---------- Utilities ---------- */
.text-center { text-align: center; }
.mt-40 { margin-top: 40px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav-links, .nav-cta .btn-outline-navy { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 12px 24px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
  }
  .nav-links.open a { width: 100%; padding: 12px 14px; }
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .license-strip { flex-direction: column; align-items: flex-start; }
  .perk-list { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: 1fr 1fr; }
}
