/* ============================================
   SARVANSH BHAGWATI — STYLESHEET
   css/style.css
   ============================================ */

/* ---- VARIABLES ---- */
:root {
  --navy:        #0b1a2e;
  --navy-mid:    #112240;
  --navy-light:  #1a3458;
  --gold:        #c9a84c;
  --gold-light:  #e8c97a;
  --gold-pale:   #f5e8c0;
  --cream:       #faf8f2;
  --text-dark:   #0b1a2e;
  --text-mid:    #3a4a60;
  --text-light:  #7a8fa8;
  --white:       #ffffff;
  --border:      rgba(201,168,76,0.25);
  --section-pad: 6rem 2rem;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.2;
  font-weight: 600;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ---- NAV ---- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,26,46,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border); 
  padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.nav-logo {
  display: flex; flex-direction: column; gap: 1px;
}
.nav-logo .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.03em;
}
.nav-logo .sub {
  font-size: 0.65rem; color: var(--text-light);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.nav-links {
  display: flex; gap: 2.2rem; list-style: none;
}
.nav-links a {
  font-size: 0.82rem; letter-spacing: 0.05em;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--gold); }
.nav-cta {
  background: var(--gold) !important;
  color: var(--navy) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.8rem !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; }
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--gold); margin: 5px 0; transition: 0.3s;
}

/* ---- HERO ---- */
#hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding-top: 68px;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 50%, rgba(201,168,76,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 40% 80% at 10% 80%, rgba(26,52,88,0.8) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 900px; margin: 0 auto;
  padding: 4rem 2rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--border);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.75rem; color: var(--gold);
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 2rem;
}
.hero-badge::before {
  content: ''; display: block;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.8); }
}
.hero-content h1 {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 800px;
}
.hero-content h1 em {
  font-style: normal;
  color: var(--gold);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.65);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.hero-actions {
  display: flex; gap: 1rem; flex-wrap: wrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--navy);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.3);
  color: rgba(255,255,255,0.85);
  padding: 0.85rem 2rem;
  border-radius: 3px;
  font-size: 0.9rem;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats {
  display: flex; gap: 3rem; margin-top: 4rem;
  flex-wrap: wrap;
}
.stat-item .num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700;
  color: var(--gold);
}
.stat-item .label {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-top: 2px;
}
.hero-scroll {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px; color: rgba(255,255,255,0.35);
  font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase;
  animation: fadeInUp 1.5s ease 1s both;
}
.scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollPulse 2s infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.5; height: 40px; }
  50%       { opacity: 1;   height: 55px; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---- SHARED SECTION ---- */
section { padding: var(--section-pad); }
.section-label {
  display: inline-block;
  font-size: 0.7rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  margin-bottom: 1rem;
  max-width: 640px;
}
.section-sub {
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.8;
}
.section-title-white { color: var(--white); }
.section-sub-white   { color: rgba(255,255,255,0.6); }
.gold-rule {
  width: 48px; height: 2px;
  background: var(--gold);
  margin: 1.2rem 0 1.8rem;
}
.container { max-width: 1160px; margin: 0 auto; }

/* ---- ABOUT ---- */
#about { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-text p {
  color: var(--text-mid); font-size: 1rem;
  line-height: 1.9; margin-bottom: 1.2rem;
}
.about-visual {
  position: relative;
  padding: 2.5rem;
  background: var(--navy);
  border-radius: 4px;
}
.about-visual::before {
  content: '';
  position: absolute; top: -12px; left: -12px;
  right: 12px; bottom: 12px;
  border: 1px solid var(--border);
  border-radius: 4px; z-index: 0;
}
.about-pillars {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem;
}
.pillar {
  padding: 1.5rem;
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 3px;
  background: rgba(255,255,255,0.03);
}
.pillar .icon { font-size: 1.4rem; margin-bottom: 0.6rem; }
.pillar h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem; color: var(--gold); margin-bottom: 0.4rem;
}
.pillar p { font-size: 0.82rem; color: rgba(255,255,255,0.5); line-height: 1.6; }

/* ---- SERVICES ---- */
#services { background: var(--cream); }
.services-header { margin-bottom: 3.5rem; }
.service-tabs {
  display: flex; gap: 0; margin-bottom: 3rem;
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
  width: fit-content;
}
.tab-btn {
  padding: 0.75rem 1.6rem;
  font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.04em;
  background: transparent;
  border: none; cursor: pointer;
  color: var(--text-mid);
  border-right: 1px solid var(--border);
  transition: background 0.2s, color 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active { background: var(--navy); color: var(--gold); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(11,26,46,0.1);
  border-radius: 4px;
  padding: 2rem 1.6rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(11,26,46,0.08);
}
.service-card .service-icon {
  width: 44px; height: 44px;
  background: rgba(201,168,76,0.1);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  margin-bottom: 1.2rem;
}
.service-card h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 0.6rem; }
.service-card p  { font-size: 0.85rem; color: var(--text-mid); line-height: 1.7; }

/* ---- WHY CHOOSE US ---- */
#why { background: var(--navy); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2px;
  margin-top: 3.5rem;
  border: 1px solid rgba(201,168,76,0.15);
  border-radius: 4px; overflow: hidden;
}
.why-item {
  padding: 2.5rem 2rem;
  border-right: 1px solid rgba(201,168,76,0.1);
  background: rgba(255,255,255,0.02);
  transition: background 0.2s;
}
.why-item:last-child { border-right: none; }
.why-item:hover { background: rgba(201,168,76,0.05); }
.why-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 700;
  color: rgba(201,168,76,0.15);
  line-height: 1; margin-bottom: 0.8rem;
}
.why-item h3 { font-size: 1.1rem; color: var(--gold); margin-bottom: 0.6rem; }
.why-item p  { font-size: 0.85rem; color: rgba(255,255,255,0.5); line-height: 1.7; }

/* ---- INDUSTRIES ---- */
#industries { background: var(--white); }
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.industry-card {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--cream);
  border: 1px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.25s;
}
.industry-card::after {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--gold);
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 0.3s;
}
.industry-card:hover { border-color: rgba(201,168,76,0.3); }
.industry-card:hover::after { transform: scaleY(1); }
.industry-icon { font-size: 2rem; margin-bottom: 1rem; }
.industry-card h3 { font-size: 1.3rem; color: var(--navy); margin-bottom: 0.5rem; }
.industry-card p  { font-size: 0.87rem; color: var(--text-mid); line-height: 1.7; }

/* ---- CONTACT ---- */
#contact { background: var(--navy); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: var(--white); margin-bottom: 1rem;
}
.contact-info p {
  font-size: 0.95rem; color: rgba(255,255,255,0.55);
  line-height: 1.8; margin-bottom: 2.5rem;
}
.contact-detail {
  display: flex; align-items: flex-start; gap: 1rem;
  margin-bottom: 1.5rem;
}
.contact-detail .d-icon {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(201,168,76,0.12);
  border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.contact-detail .d-text .label {
  font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 2px;
}
.contact-detail .d-text .val {
  font-size: 0.9rem; color: rgba(255,255,255,0.7);
}
.contact-form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 4px;
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block; font-size: 0.78rem;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,168,76,0.2);
  border-radius: 3px; color: var(--white);
  padding: 0.75rem 1rem; font-size: 0.9rem;
  font-family: 'DM Sans', sans-serif;
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select option { background: var(--navy-mid); }
.form-submit {
  width: 100%;
  background: var(--gold);
  color: var(--navy);
  border: none; cursor: pointer;
  padding: 0.9rem 2rem;
  border-radius: 3px;
  font-size: 0.92rem; font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  margin-top: 0.5rem;
}
.form-submit:hover { background: var(--gold-light); transform: translateY(-1px); }
.form-note {
  text-align: center; margin-top: 0.8rem;
  font-size: 0.75rem; color: rgba(255,255,255,0.3);
}

/* ---- FOOTER ---- */
footer {
  background: #070f1c;
  padding: 3rem 2rem 2rem;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.footer-grid {
  max-width: 1160px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 2.5rem;
}
.footer-brand .brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.4rem; color: var(--gold); font-weight: 700;
}
.footer-brand p {
  font-size: 0.83rem; color: rgba(255,255,255,0.4);
  line-height: 1.7; margin-top: 0.7rem; max-width: 260px;
}
.footer-col h4 {
  font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a {
  font-size: 0.84rem; color: rgba(255,255,255,0.4);
  transition: color 0.2s;
}
.footer-col ul a:hover { color: var(--gold); }
.footer-bottom {
  max-width: 1160px; margin: 0 auto;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,0.25); }

/* ---- TOAST ---- */
.toast {
  position: fixed; bottom: 2rem; right: 2rem;
  background: var(--gold); color: var(--navy);
  padding: 1rem 1.5rem; border-radius: 4px;
  font-size: 0.9rem; font-weight: 600;
  transform: translateY(100px); opacity: 0;
  transition: transform 0.4s, opacity 0.4s;
  z-index: 200;
}
.toast.show { transform: translateY(0); opacity: 1; }

/* ---- WHATSAPP BUTTON ---- */
#wa-btn {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}
#wa-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.55);
}
#wa-tooltip {
  position: fixed;
  bottom: 5.8rem;
  right: 1.8rem;
  z-index: 998;
  background: var(--navy);
  color: var(--white);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  white-space: nowrap;
  border: 1px solid rgba(201,168,76,0.3);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}
#wa-tooltip.show {
  opacity: 1;
  transform: translateY(0);
}

/* ---- SCROLL REVEAL ANIMATION ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  :root { --section-pad: 4rem 1.3rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: var(--navy-mid);
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 1.2rem;
  }
  .nav-toggle { display: block; }

  .about-grid        { grid-template-columns: 1fr; gap: 2.5rem; }
  .contact-grid      { grid-template-columns: 1fr; gap: 2.5rem; }
  .industry-grid     { grid-template-columns: 1fr; }
  .form-row          { grid-template-columns: 1fr; }
  .footer-grid       { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .hero-stats        { gap: 2rem; }
  .why-item          { border-right: none; border-bottom: 1px solid rgba(201,168,76,0.1); }
  .service-tabs      { flex-direction: column; width: 100%; }
  .tab-btn           { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ============================================
   SOCIAL MEDIA — FOOTER ICONS
   ============================================ */

.footer-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.social-icon {
  width: 36px;
  height: 36px;
  border-radius: 3px;
  border: 1px solid rgba(201,168,76,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.45);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.social-icon:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Footer bottom social links */
.footer-bottom-socials {
  display: flex;
  gap: 1.2rem;
  align-items: center;
}
.social-icon-sm {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: rgba(255,255,255,0.3);
  transition: color 0.2s;
}
.social-icon-sm:hover { color: var(--gold); }

/* ============================================
   SOCIAL MEDIA — FLOATING SIDEBAR (LEFT)
   ============================================ */

.social-sidebar {
  position: fixed;
  left: 1.5rem;
  bottom: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.sidebar-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.55);
  background: rgba(11,26,46,0.85);
  border: 1px solid rgba(201,168,76,0.2);
  backdrop-filter: blur(6px);
  transition: background 0.2s, color 0.2s, transform 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
}
.sidebar-social-btn:hover {
  color: var(--navy);
  transform: translateY(-2px);
  border-color: transparent;
}
.sidebar-social-btn.linkedin:hover  { background: #0077B5; color: #fff; }
.sidebar-social-btn.facebook:hover  { background: #1877F2; color: #fff; }

/* Hidden label — tooltip on hover */
.sidebar-label {
  position: absolute;
  left: 110%;
  top: 50%;
  transform: translateY(-50%);
  background: var(--navy);
  color: var(--gold);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.7rem;
  border-radius: 3px;
  white-space: nowrap;
  border: 1px solid rgba(201,168,76,0.25);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s, transform 0.2s;
  transform: translateY(-50%) translateX(-4px);
}
.sidebar-social-btn:hover .sidebar-label {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

.sidebar-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(201,168,76,0.4), transparent);
  margin-top: 0.2rem;
}

/* Hide sidebar on small screens so it doesn't clash with content */
@media (max-width: 768px) {
  .social-sidebar { display: none; }
  .footer-bottom-socials { width: 100%; justify-content: center; }
}
