/* ============================================
   SANDEEP PAREKH — Executive Leadership Website
   Design System & Global Styles
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Custom Properties ── */
:root {
  --navy: #0a1628;
  --navy-deep: #060e1a;
  --navy-light: #132238;
  --charcoal: #1a1a2e;
  --charcoal-light: #2d2d44;
  --steel: #8892a4;
  --steel-light: #b0b8c8;
  --gold: #c9a94e;
  --gold-light: #dfc573;
  --gold-dark: #a8892e;
  --gold-subtle: rgba(201, 169, 78, 0.1);
  --white: #ffffff;
  --off-white: #f4f5f7;
  --light-grey: #e8eaee;
  --text-primary: #0a1628;
  --text-secondary: #4a5568;
  --text-light: #8892a4;
  --bg-dark: #0a1628;
  --bg-section: #f7f8fa;
  --shadow-sm: 0 2px 8px rgba(10, 22, 40, 0.06);
  --shadow-md: 0 4px 20px rgba(10, 22, 40, 0.1);
  --shadow-lg: 0 8px 40px rgba(10, 22, 40, 0.15);
  --shadow-xl: 0 16px 60px rgba(10, 22, 40, 0.2);
  --shadow-gold: 0 4px 20px rgba(201, 169, 78, 0.25);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --container-max: 1280px;
  --container-narrow: 900px;
  --nav-height: 80px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--white);
  overflow-x: hidden;
}

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

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

ul, ol { list-style: none; }

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

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

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

/* ── Typography ── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-size: 1.05rem;
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.8;
}

.gold-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-bottom: 24px;
  border-radius: 2px;
}

.gold-line--center {
  margin-left: auto;
  margin-right: auto;
}

/* ── Password Gate ── */
.access-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.access-gate__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('../images/sandeep-parekh-1-720x405.jpg') center/cover no-repeat;
  filter: blur(12px) brightness(0.3);
  transform: scale(1.1);
}

.access-gate__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(10, 22, 40, 0.92), rgba(26, 26, 46, 0.88));
}

.access-gate__panel {
  position: relative;
  z-index: 2;
  width: 440px;
  max-width: 90%;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 56px 44px;
  text-align: center;
  animation: panelAppear 0.8s var(--transition-base) both;
}

@keyframes panelAppear {
  from { opacity: 0; transform: translateY(30px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.access-gate__icon {
  width: 56px;
  height: 56px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 28px;
  color: var(--gold);
}

.access-gate__icon svg {
  width: 24px;
  height: 24px;
}

.access-gate__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
}

.access-gate__subtitle {
  font-size: 0.9rem;
  color: var(--steel-light);
  margin-bottom: 36px;
  letter-spacing: 0.5px;
}

.access-gate__field {
  position: relative;
  margin-bottom: 24px;
}

.access-gate__input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  transition: all var(--transition-fast);
  outline: none;
}

.access-gate__input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.access-gate__input:focus {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(201, 169, 78, 0.15);
}

.access-gate__toggle {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color var(--transition-fast);
  background: none;
  border: none;
  padding: 4px;
}

.access-gate__toggle:hover {
  color: var(--gold);
}

.access-gate__submit {
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.access-gate__submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transition: left 0.5s;
}

.access-gate__submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.access-gate__submit:hover::before {
  left: 100%;
}

.access-gate__error {
  margin-top: 16px;
  padding: 12px 16px;
  background: rgba(220, 53, 69, 0.12);
  border: 1px solid rgba(220, 53, 69, 0.25);
  border-radius: var(--radius-sm);
  color: #ff7b8a;
  font-size: 0.875rem;
  display: none;
  animation: shakeError 0.4s ease;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-5px); }
  80% { transform: translateX(5px); }
}

.access-gate__error.visible {
  display: block;
}

/* ── Navigation ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  transition: all var(--transition-base);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  height: 70px;
}

.navbar__inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__logo {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.navbar__logo span {
  color: var(--gold);
}

.navbar__menu {
  display: flex;
  align-items: center;
  gap: 8px;
}

.navbar__link {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 14px;
  position: relative;
  letter-spacing: 0.3px;
  transition: color var(--transition-fast);
}

.navbar__link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
  border-radius: 1px;
}

.navbar__link:hover,
.navbar__link.active {
  color: var(--white);
}

.navbar__link:hover::after,
.navbar__link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger */
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.navbar__hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition-base);
  border-radius: 1px;
}

.navbar__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.navbar__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ── Hero Section ── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-deep);
}

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(10, 22, 40, 0.88) 0%,
    rgba(10, 22, 40, 0.7) 40%,
    rgba(10, 22, 40, 0.5) 100%
  );
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 40px;
}

.hero__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.3s both;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.5s both;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  line-height: 1.6;
  max-width: 600px;
  margin-bottom: 40px;
  opacity: 0;
  animation: fadeInUp 0.8s 0.7s both;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  opacity: 0;
  animation: fadeInUp 0.8s 0.9s both;
}

.hero__cta:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.hero__cta svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.hero__cta:hover svg {
  transform: translateX(4px);
}

/* ── Page Banner ── */
.page-banner {
  position: relative;
  height: 50vh;
  min-height: 380px;
  max-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0a1628 0%, #132238 30%, #1a1a2e 60%, #0d1b30 100%);
}

.page-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.04) 0%, transparent 70%);
  border-radius: 50%;
}

.page-banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.page-banner__label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.page-banner__title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  color: var(--white);
  font-weight: 700;
  margin-bottom: 16px;
}

.page-banner__subtitle {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.6);
  max-width: 550px;
  margin: 0 auto;
}

/* ── Counters Section ── */
.counters {
  padding: 80px 0;
  background: var(--navy);
  position: relative;
}

.counters::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.counter-item {
  padding: 20px;
}

.counter-item__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--gold);
  font-weight: 700;
  line-height: 1;
  margin-bottom: 8px;
}

.counter-item__suffix {
  font-size: 0.7em;
  color: var(--gold-light);
}

.counter-item__label {
  font-size: 0.85rem;
  color: var(--steel-light);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Section Blocks ── */
.section {
  padding: 100px 0;
}

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

.section--dark {
  background: var(--navy);
}

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

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

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .gold-line {
  margin-left: auto;
  margin-right: auto;
}

/* ── Executive Summary ── */
.exec-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.exec-summary__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.exec-summary__image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: center top;
  transition: transform var(--transition-slow);
}

.exec-summary__image:hover img {
  transform: scale(1.03);
}

.exec-summary__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}

.exec-summary__text .section-label {
  margin-bottom: 16px;
}

.exec-summary__text h2 {
  margin-bottom: 24px;
}

.exec-summary__text p {
  margin-bottom: 16px;
}

/* ── Expertise Grid ── */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.expertise-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.expertise-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.expertise-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.expertise-card:hover::before {
  transform: scaleX(1);
}

.expertise-card__icon {
  width: 52px;
  height: 52px;
  background: var(--gold-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--gold);
}

.expertise-card__icon svg {
  width: 24px;
  height: 24px;
}

.expertise-card h4 {
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.expertise-card p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* ── Firm Strip ── */
.firm-strip {
  background: linear-gradient(135deg, var(--navy), var(--charcoal));
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.firm-strip::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.06) 0%, transparent 70%);
  border-radius: 50%;
}

.firm-strip__inner {
  display: flex;
  align-items: center;
  gap: 60px;
}

.firm-strip__text {
  flex: 1;
}

.firm-strip__text h3 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 16px;
}

.firm-strip__text p {
  color: var(--steel-light);
  font-size: 1.05rem;
  line-height: 1.8;
}

.firm-strip__badge {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  border: 2px solid rgba(201, 169, 78, 0.3);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.firm-strip__badge-year {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--gold);
  font-weight: 700;
}

.firm-strip__badge-text {
  font-size: 0.8rem;
  color: var(--steel-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 4px;
}

/* ── Quote Section ── */
.quote-section {
  padding: 100px 0;
  background: var(--bg-section);
  text-align: center;
}

.quote-section__icon {
  font-family: var(--font-heading);
  font-size: 5rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 24px;
  opacity: 0.5;
}

.quote-section blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 24px;
  font-weight: 400;
}

.quote-section__author {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ── Biography Sections ── */
.bio-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 80px 0;
}

.bio-section:nth-child(even) {
  direction: rtl;
}

.bio-section:nth-child(even) > * {
  direction: ltr;
}

.bio-section__image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.bio-section__image img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center top;
}

.bio-section__text h3 {
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.bio-section__text p {
  margin-bottom: 16px;
}

/* ── Timeline ── */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light), var(--gold));
}

.timeline-item {
  position: relative;
  display: flex;
  align-items: flex-start;
  margin-bottom: 60px;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  padding-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  padding-left: calc(50% + 40px);
  text-align: left;
}

.timeline-item__dot {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 18px;
  height: 18px;
  background: var(--gold);
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(201, 169, 78, 0.2);
  z-index: 2;
}

.timeline-item__content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-grey);
  transition: all var(--transition-base);
}

.timeline-item__content:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.timeline-item__year {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.timeline-item__title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.timeline-item__desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── SEBI / Regulatory Cards ── */
.reg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.reg-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--light-grey);
  transition: all var(--transition-base);
  position: relative;
}

.reg-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.reg-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reg-card:hover::after {
  transform: scaleX(1);
}

.reg-card__number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(201, 169, 78, 0.2);
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1;
}

.reg-card h4 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.reg-card p {
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ── Finsec Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  text-align: center;
  transition: all var(--transition-base);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 78, 0.3);
  transform: translateY(-6px);
}

.service-card__icon {
  width: 60px;
  height: 60px;
  border: 2px solid rgba(201, 169, 78, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--gold);
  transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
  background: rgba(201, 169, 78, 0.1);
  border-color: var(--gold);
}

.service-card__icon svg {
  width: 24px;
  height: 24px;
}

.service-card h4 {
  color: var(--white);
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--steel);
}

/* ── Thought Leadership ── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.philosophy-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 44px 36px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--gold);
  transition: all var(--transition-base);
}

.philosophy-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.philosophy-card h4 {
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.philosophy-card p {
  font-size: 0.95rem;
  line-height: 1.8;
}

.philosophy-card__number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 12px;
  font-weight: 700;
}

/* ── Gallery ── */
.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
  object-fit: cover;
  object-position: center top;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-item__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-item__overlay {
  opacity: 1;
}

.gallery-item__overlay span {
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 500;
}

/* Lightbox */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(12px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox__img {
  max-width: 85vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox__close {
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold);
  color: var(--gold);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lightbox__nav:hover {
  background: rgba(201, 169, 78, 0.2);
  border-color: var(--gold);
}

.lightbox__nav--prev { left: 30px; }
.lightbox__nav--next { right: 30px; }

/* ── Contact Page ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--light-grey);
}

.contact-form h3 {
  margin-bottom: 8px;
}

.contact-form .gold-line {
  margin-bottom: 30px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--light-grey);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--off-white);
  transition: all var(--transition-fast);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 169, 78, 0.1);
  background: var(--white);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.form-submit {
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  width: 100%;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.contact-info {
  padding: 20px 0;
}

.contact-info h3 {
  margin-bottom: 8px;
}

.contact-info .gold-line {
  margin-bottom: 30px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
  padding: 20px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.contact-detail:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.contact-detail__icon {
  width: 48px;
  height: 48px;
  background: var(--gold-subtle);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail__icon svg {
  width: 20px;
  height: 20px;
}

.contact-detail h5 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 1rem;
  color: var(--text-primary);
  font-weight: 500;
}

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

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 30px;
}

.contact-social a {
  width: 48px;
  height: 48px;
  background: var(--off-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-base);
}

.contact-social a:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

.contact-social a svg {
  width: 20px;
  height: 20px;
}

/* ── Footer ── */
.footer {
  background: var(--navy-deep);
  padding: 50px 0 30px;
  border-top: 1px solid rgba(201, 169, 78, 0.15);
}

.footer__inner {
  text-align: center;
}

.footer__brand {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer__brand span {
  color: var(--gold);
}

.footer__tagline {
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 24px;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.footer__social a {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--steel);
  transition: all var(--transition-base);
}

.footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201, 169, 78, 0.08);
  transform: translateY(-2px);
}

.footer__social a svg {
  width: 18px;
  height: 18px;
}

.footer__divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.06);
  margin: 20px 0;
}

.footer__contact {
  font-size: 0.85rem;
  color: var(--steel);
  margin-bottom: 12px;
}

.footer__contact a {
  color: var(--steel-light);
  transition: color var(--transition-fast);
}

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

.footer__credit {
  font-size: 0.8rem;
  color: var(--steel);
}

.footer__credit a {
  color: var(--gold);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer__credit a:hover {
  color: var(--gold-light);
}

/* ── Scroll Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.reveal--left {
  transform: translateX(-30px);
}

.reveal--left.visible {
  transform: translateX(0);
}

.reveal--right {
  transform: translateX(30px);
}

.reveal--right.visible {
  transform: translateX(0);
}

/* ── CTA Block ── */
.cta-block {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy), var(--charcoal));
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(201, 169, 78, 0.04) 0%, transparent 70%);
}

.cta-block h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-block p {
  color: var(--steel-light);
  max-width: 500px;
  margin: 0 auto 30px;
}

.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--navy);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
}

.cta-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-gold);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .counters__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .expertise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gallery-grid {
    columns: 2;
  }
  .exec-summary {
    gap: 40px;
  }
  .bio-section {
    gap: 40px;
  }
  .timeline-item:nth-child(odd) {
    padding-right: calc(50% + 25px);
  }
  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 25px);
  }
}

@media (max-width: 768px) {
  .container { padding: 0 24px; }
  .container--narrow { padding: 0 24px; }
  .section { padding: 70px 0; }

  .navbar__menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 100px 30px 30px;
    gap: 0;
    transition: right var(--transition-base);
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
  }

  .navbar__menu.open {
    right: 0;
  }

  .navbar__link {
    font-size: 1rem;
    padding: 14px 0;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }

  .navbar__hamburger {
    display: flex;
  }

  .hero { min-height: 600px; }
  .hero__title { font-size: clamp(2rem, 8vw, 3rem); }

  .counters__grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .exec-summary {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .exec-summary__image img { height: 350px; }

  .expertise-grid { grid-template-columns: 1fr; }
  .reg-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .philosophy-grid { grid-template-columns: 1fr; }

  .bio-section {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 50px 0;
  }

  .bio-section:nth-child(even) { direction: ltr; }
  .bio-section__image img { height: 300px; }

  .timeline::before { left: 20px; }
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    padding-left: 50px;
    padding-right: 0;
    text-align: left;
    flex-direction: row;
  }
  .timeline-item__dot {
    left: 20px;
  }

  .gallery-grid { columns: 2; column-gap: 12px; }
  .gallery-item { margin-bottom: 12px; }

  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }

  .firm-strip__inner {
    flex-direction: column;
    text-align: center;
  }

  .page-banner {
    height: 40vh;
    min-height: 280px;
  }
}

@media (max-width: 480px) {
  .counters__grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .counter-item { padding: 12px; }
  .counter-item__number { font-size: 2rem; }
  .gallery-grid { columns: 1; }
  .contact-form { padding: 30px 24px; }
  .hero { min-height: 500px; }
  .navbar__inner { padding: 0 20px; }
  .access-gate__panel { padding: 40px 28px; }
}

/* ── Page Loader ── */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--navy-deep);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s, visibility 0.5s;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader__spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(201, 169, 78, 0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ── Misc Utilities ── */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-white { color: var(--white); }
.mb-0 { margin-bottom: 0; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
