:root {
  --brand-dark: #4a4a4a;
  --brand-accent: #e77829;
  --brand-line: #e4ddd5;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--brand-dark);
  background: #fff;
}

a {
  color: var(--brand-dark);
}

a:hover,
a:focus {
  color: var(--brand-accent);
}

.navbar {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(74, 74, 74, 0.08);
}

.site-logo {
  height: 54px;
  width: auto;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 9rem 0 6rem;
  background:
    radial-gradient(
      circle at top right,
      rgba(231, 120, 41, 0.12),
      transparent 26rem
    ),
    linear-gradient(180deg, #fff 0%, #fff 70%, #fbf8f4 100%);
}

.eyebrow,
.section-kicker {
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--brand-accent);
  font-weight: 700;
}

.hero h1,
.section-title {
  letter-spacing: -0.03em;
}

.hero-copy {
  max-width: 40rem;
}

.section-head {
  margin-bottom: 3rem;
}

.section-head .section-title {
  margin-bottom: 0;
}

.hero-card,
.content-card,
.news-card,
.education-card {
  border: 1px solid var(--brand-line);
  background: #fff;
  box-shadow: 0 24px 50px rgba(74, 74, 74, 0.06);
}

.hero-card {
  padding: 2rem;
}

.hero-image-card {
  padding: 0;
  overflow: hidden;
}

.hero-portrait {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
}

.hero-image-name {
  margin-top: 1rem;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--brand-dark);
}
.designation {
  color: var(--brand-accent);
  font-size: 18px;
  letter-spacing: 1px;
  margin-top: 5px;
}

@media (max-width: 991.98px) {
  .hero-content {
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }
}

.experience-intro {
  padding: 0;
  position: static;
  top: auto;
}

.experience-card {
  position: relative;
  height: 100%;
  padding: 1.75rem;
  border: 1px solid var(--brand-line);
  border-radius: 1.25rem;
  background:
    linear-gradient(
      180deg,
      rgba(231, 120, 41, 0.08) 0%,
      rgba(231, 120, 41, 0) 45%
    ),
    #fff;
  box-shadow: 0 20px 40px rgba(74, 74, 74, 0.05);
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.experience-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 120, 41, 0.45);
  box-shadow: 0 24px 50px rgba(74, 74, 74, 0.08);
}

.experience-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(231, 120, 41, 0) 0%,
    rgba(231, 120, 41, 0.95) 50%,
    rgba(231, 120, 41, 0) 100%
  );
  transform: translateX(-110%);
  opacity: 0;
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.experience-card:hover::after {
  transform: translateX(110%);
  opacity: 1;
}

.experience-card-wide {
  min-height: 100%;
}

.experience-card-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1.25rem;
  height: 100%;
}

.experience-copy {
  min-width: 0;
  flex: 1 1 auto;
}

.experience-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3rem;
  height: 3rem;
  margin-bottom: 1.25rem;
  padding: 0 0.85rem;
  border-radius: 999px;
  background: rgba(231, 120, 41, 0.12);
  color: var(--brand-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.experience-card h3 {
  color: var(--brand-dark);
}

.experience-years {
  color: var(--brand-accent);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.experience-location {
  color: rgba(74, 74, 74, 0.7);
  font-size: 0.98rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.experience-copy h3 {
  font-size: 18px;
  color: #e77829;
  font-weight: 600;
}
.experience-logo-slot {
  width: 120px;
  min-width: 120px;
  height: 110px;
  margin-left: auto;
  border-radius: 1rem;
  border: 1px solid rgba(231, 120, 41, 0.18);
  background: rgba(251, 248, 244, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem;
  align-self: flex-start;
}

.experience-logo-slot span {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(74, 74, 74, 0.42);
}

.experience-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 575.98px) {
  .experience-card-layout {
    flex-direction: column;
  }

  .experience-logo-slot {
    width: 100%;
    min-width: 0;
    height: 76px;
  }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
  .experience-logo-slot {
    width: 84px;
    min-width: 84px;
    height: 66px;
    padding: 0.55rem;
  }
}

.section-shell {
  padding: 5.5rem 0;
}

.section-shell.alt {
  background: linear-gradient(180deg, #fbf8f4 0%, #fbf8f4 100%);
}

.content-card,
.news-card,
.education-card {
  border-radius: 1rem;
  padding: 1.5rem;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card {
  border-top: 3px solid var(--brand-accent);
  text-align: center;
}

.service-icon {
  width: 3.25rem;
  height: 3.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 999px;
  background: rgba(231, 120, 41, 0.1);
  color: var(--brand-accent);
  font-size: 1.35rem;
}

.events-head {
  max-width: 100%;
}

.event-summary-card,
.event-card {
  border: 1px solid var(--brand-line);
  border-radius: 1.25rem;
  background:
    linear-gradient(
      180deg,
      rgba(231, 120, 41, 0.08) 0%,
      rgba(231, 120, 41, 0) 45%
    ),
    #fff;
  box-shadow: 0 20px 40px rgba(74, 74, 74, 0.05);
  position: relative;
  overflow: hidden;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.event-summary-card {
  padding: 1.75rem;
}

.event-card {
  padding: 1.75rem;
}

.event-card-accent {
  background: linear-gradient(
    180deg,
    rgba(231, 120, 41, 0.14) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.event-summary-card:hover,
.event-card:hover {
  transform: translateY(-4px);
  border-color: rgba(231, 120, 41, 0.45);
  box-shadow: 0 24px 50px rgba(74, 74, 74, 0.08);
}

.event-summary-icon,
.event-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.1rem;
  height: 3.1rem;
  margin-bottom: 1.1rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  background: rgba(231, 120, 41, 0.12);
  color: var(--brand-accent);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.event-summary-icon {
  font-size: 1.15rem;
}

.event-year {
  font-size: 0.82rem;
}

.event-meta {
  color: var(--brand-dark);
  font-weight: 600;
}

.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-list li {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(74, 74, 74, 0.1);
}

.item-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.item-list li:first-child {
  padding-top: 0;
}

.number-badge {
  width: 2.25rem;
  height: 2.25rem;
  background: rgba(231, 120, 41, 0.12);
  color: var(--brand-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
}

.news-card a {
  text-decoration: none;
}

.news-card .link-offset-2 {
  color: var(--brand-accent);
}

.news-card {
  display: flex;
  flex-direction: column;
}

.news-card .link-offset-2 {
  margin-top: auto;
}

.news-card:hover {
  transform: translateY(-4px);
  transition: transform 0.25s ease;
}

.content-card::after,
.news-card::after,
.education-card::after,
.hero-card::after,
.contact-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    120deg,
    rgba(231, 120, 41, 0) 0%,
    rgba(231, 120, 41, 0.95) 50%,
    rgba(231, 120, 41, 0) 100%
  );
  transform: translateX(-110%);
  opacity: 0;
  transition:
    transform 0.5s ease,
    opacity 0.3s ease;
  pointer-events: none;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.content-card:hover::after,
.news-card:hover::after,
.education-card:hover::after,
.hero-card:hover::after,
.contact-panel:hover::after {
  transform: translateX(110%);
  opacity: 1;
}
#contact .action {
  background-color: var(--brand-accent);
  color: #fff;
}
#contact p {
  font-size: 24px;
}
.partner-card {
  height: 100%;
  padding: 1.25rem;
  border: 1px solid var(--brand-line);
  border-radius: 1.25rem;
  background: #fff;
  box-shadow: 0 20px 40px rgba(74, 74, 74, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.85rem;
  text-align: center;
}

.partner-card-text {
  background: #fff;
}

.partner-logo {
  width: 100%;
  max-width: 150px;
  height: 68px;
  object-fit: contain;
}

.partner-name {
  font-weight: 600;
  color: var(--brand-dark);
}

.education-card-featured {
  background: linear-gradient(
    180deg,
    rgba(231, 120, 41, 0.1) 0%,
    rgba(255, 255, 255, 1) 100%
  );
}

.education-year {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(231, 120, 41, 0.12);
  color: var(--brand-accent);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.journey-stop {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(251, 248, 244, 0.9);
  border: 1px solid rgba(228, 221, 213, 0.9);
}

.journey-stop strong {
  display: block;
  margin-bottom: 0.2rem;
}

.journey-stop p {
  color: rgba(74, 74, 74, 0.76);
}

.journey-dot,
.journey-line-dot {
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  background: var(--brand-accent);
  flex-shrink: 0;
}

.journey-timeline {
  position: relative;
  display: grid;
  gap: 1.5rem;
  padding-left: 1.5rem;
}

.journey-timeline::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: rgba(231, 120, 41, 0.28);
}

.journey-step {
  position: relative;
}

.journey-step .education-card {
  margin-left: 1rem;
}

.journey-step .journey-line-dot {
  position: absolute;
  left: -0.05rem;
  top: 1.35rem;
  box-shadow: 0 0 0 6px #fbf8f4;
}

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

.contact-panel {
  background: #e77829;
  color: #fff;
  border-radius: 1.5rem;
  overflow: hidden;
}

.contact-panel .highlight {
  color: #ffb276;
}

.contact-panel .btn-light {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.contact-panel .btn-light:hover,
.contact-panel .btn-light:focus {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 30px rgba(74, 74, 74, 0.18);
}

footer {
  background: var(--brand-accent);
  color: #fff;
}

.btn-brand {
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
}

.btn-brand:hover,
.btn-brand:focus {
  background: #cf6520;
  border-color: #cf6520;
  color: #fff;
}

.btn-outline-brand {
  border-color: rgba(74, 74, 74, 0.18);
  color: var(--brand-dark);
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  border-color: var(--brand-accent);
  background: rgba(231, 120, 41, 0.08);
  color: var(--brand-dark);
}

footer {
  border-top: 1px solid rgba(74, 74, 74, 0.08);
}

@media (max-width: 991.98px) {
  .hero {
    padding-top: 7.5rem;
  }

  .site-logo {
    height: 46px;
  }

  .experience-intro {
    position: static;
    padding: 0;
  }
}
