@import url("https://fonts.googleapis.com/css2?family=Baloo+2&display=swap");

/* DIRECTORS IMAGE FIX – MOBILE VIEW */
@media (max-width: 991px) {
  .postcard .postcard__img {
    max-height: none !important;
    height: auto !important;
    width: 100%;
    object-fit: contain !important;
    /* NO CUT */
    background: #f3f5f7;
    /* clean look */
  }

  [style*="min-height"] {
    min-height: auto !important;
  }

  section,
  .container,
  .container-xxl,
  .container-fluid {
    /* padding-top: 15px !important; */
    /* padding-bottom: 15px !important; */
  }

  /* MOBILE VIEW LOGO SIZE */
  .logo img {
    height: 55px;
    /* logo image chhoti */
    width: auto;
  }


}

.about-title {
  /* background: linear-gradient(to right, var(--primary), var(--primary-hover));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text; */
  color: white;
}

.about-section {
  background-image: url('../img/about_page_header.jpeg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  position: relative;
  padding: 10px 30px;
}

.about-img {
  max-height: 550px;
  /* Increase image size */
  width: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.about-section p {
  color: black;
}

.explore-btn {
  border-radius: 50px;
  /* Rounded button */
  font-size: 1.1rem;
  /* Slightly larger text */
  padding: 15px 30px;
  /* Bigger button size */
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.explore-btn:hover {
  background-color: var(--primary);
  transform: scale(1.05);
  /* Slight zoom on hover */
}

/* Animation for whole section */
.achievements-section {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUpSection 1s ease forwards;
}

@keyframes fadeInUpSection {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Achievements Pill Style */
.achievements-pill {
  display: inline-block;
  padding: 12px 25px;
  font-size: 1rem;
  border-radius: 50px;
  background-color: var(--primary);
  color: white;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.achievements-pill:hover {
  background-color: var(--cta);
  transform: scale(1.05);
}

/* This pen */
.light {
  background: #f3f5f7;
}

a,
a:hover {
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}

#pageHeaderTitle {
  margin: 2rem 0;
  text-transform: uppercase;
  text-align: center;
  font-size: 2.5rem;
}

/* Cards */
.postcard {
  flex-wrap: wrap;
  display: flex;
  box-shadow: 0 4px 21px -12px rgba(0, 0, 0, 0.66);
  border-radius: 10px;
  margin: 0 0 2rem 0;
  overflow: hidden;
  position: relative;
  color: #ffffff;
}

.postcard.light {
  background-color: #e1e5ea;
}

.postcard .t-dark {
  color: #18151f;
}

.postcard a {
  color: inherit;
}

.postcard h1,
.postcard .h1 {
  margin-bottom: 0.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.postcard .small {
  font-size: 80%;
}

.postcard .postcard__title {
  font-size: 1.75rem;
}

.postcard .postcard__img {
  max-height: 180px;
  width: 100%;
  object-fit: cover;
  position: relative;
}

.postcard .postcard__img_link {
  display: contents;
}

.postcard .postcard__bar {
  width: 50px;
  height: 10px;
  margin: 10px 0;
  border-radius: 5px;
  background-color: #424242;
  transition: width 0.2s ease;
}

.postcard .postcard__text {
  padding: 2.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.postcard .postcard__preview-txt {
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: justify;
  height: 100%;
}

.postcard .postcard__tagbox {
  display: flex;
  flex-flow: row wrap;
  font-size: 24px;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: center;
}

.postcard .postcard__tagbox .tag__item {
  display: inline-block;
  border-radius: 3px;
  padding: 2.5px 10px;
  margin: 0 5px 5px 0;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s;
}

.postcard .postcard__tagbox .tag__item:hover {
  color: var(--primary);
}

.postcard:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-image: linear-gradient(-70deg, #424242, transparent 50%);
  opacity: 1;
  border-radius: 10px;
}

.postcard:hover .postcard__bar {
  width: 100px;
}

@media screen and (min-width: 500px) {
  .postcard .postcard__img {
    max-height: 550px;
    width: 100%;
    object-fit: cover;
    position: relative;
  }
}

@media screen and (min-width: 769px) {
  .postcard {
    flex-wrap: inherit;
  }

  .postcard .postcard__title {
    font-size: 2rem;
  }

  .postcard .postcard__tagbox {
    justify-content: start;
  }

  .postcard .postcard__img {
    max-width: 300px;
    max-height: 100%;
    transition: transform 0.3s ease;
  }

  .postcard .postcard__text {
    padding: 3rem;
    width: 100%;
  }

  .postcard .media.postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    background: #18151f;
    top: -20%;
    height: 130%;
    width: 55px;
  }

  .postcard:hover .postcard__img {
    transform: scale(1.1);
  }

  .postcard:nth-child(2n+1) {
    flex-direction: row;
  }

  .postcard:nth-child(2n+0) {
    flex-direction: row-reverse;
  }

  .postcard:nth-child(2n+1) .postcard__text::before {
    left: -12px !important;
    transform: rotate(4deg);
  }

  .postcard:nth-child(2n+0) .postcard__text::before {
    right: -12px !important;
    transform: rotate(-4deg);
  }
}

@media screen and (min-width: 1024px) {
  .postcard__text {
    padding: 2rem 3.5rem;
  }

  .postcard__text:before {
    content: "";
    position: absolute;
    display: block;
    top: -20%;
    height: 130%;
    width: 55px;
  }

  .postcard.dark .postcard__text:before {
    background: #18151f;
  }

  .postcard.light .postcard__text:before {
    background: #e1e5ea;
  }
}

/* COLORS */
.postcard .postcard__tagbox .blue.play:hover {
  background: var(--secondary);
}

.blue .postcard__title:hover {
  color: var(--secondary);
}

.blue .postcard__bar {
  background-color: var(--secondary);
}

.blue::before {
  background-image: linear-gradient(-30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.blue:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(0, 118, 189, 0.1), transparent 50%);
}

.postcard .postcard__tagbox .red.play:hover {
  background: var(--cta-hover);
}

.red .postcard__title:hover {
  color: var(--cta-hover);
}

.red .postcard__bar {
  background-color: var(--cta-hover);
}

.red::before {
  background-image: linear-gradient(-30deg, rgba(189, 21, 11, 0.1), transparent 50%);
}

.red:nth-child(2n)::before {
  background-image: linear-gradient(30deg, rgba(189, 21, 11, 0.1), transparent 50%);
}

@media screen and (min-width: 769px) {
  .green::before {
    background-image: linear-gradient(-80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }

  .green:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(121, 221, 9, 0.1), transparent 50%);
  }

  .blue::before {
    background-image: linear-gradient(-80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .blue:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(0, 118, 189, 0.1), transparent 50%);
  }

  .red::before {
    background-image: linear-gradient(-80deg, rgba(189, 21, 11, 0.1), transparent 50%);
  }

  .red:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(189, 21, 11, 0.1), transparent 50%);
  }

  .yellow::before {
    background-image: linear-gradient(-80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }

  .yellow:nth-child(2n)::before {
    background-image: linear-gradient(80deg, rgba(189, 187, 73, 0.1), transparent 50%);
  }
}

.social-list {
  display: flex;
  list-style: none;
  justify-content: center;
  padding: 0;
}

.social-list li {
  padding: 10px;
  color: var(--primary);
  font-size: 19px;
}

.about-section {
  background-color: #f9f9f9;
}

.about-image {
  border-radius: 15px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.about-image:hover {
  transform: scale(1.02);
}

.about-text h1 {
  color: var(--primary);
}

.about-text p {
  font-size: 1rem;
  color: #555;
  line-height: 1.8;
}

.lead {
  font-size: 1.2rem;
  font-weight: 500;
  color: #333;
}

.feature-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E6F2F7;
  /* light logo shade */
  border-radius: 50%;
  font-size: 24px;
  color: var(--secondary);
  /* main logo color */
  transition: 0.3s ease;
}

/* Hover Effect */
.feature-icon:hover {
  background: var(--secondary);
  color: #ffffff;
}

/* =========================================
   ABOUT TIMELINE & MANIFESTO (CUSTOM CSS)
========================================= */

.about-timeline-section {
  padding: 5rem 1rem;
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
  font-family: 'Inter', sans-serif;
}

.timeline-container {
  max-width: 1120px;
  margin: 0 auto;
}

/* Header */
.timeline-header {
  text-align: center;
  margin-bottom: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.timeline-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 12px;
}

.timeline-badge .line {
  height: 2px;
  width: 40px;
  background-color: #D4A94E;
}

.timeline-badge .text {
  color: #D4A94E;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.timeline-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #12305B;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.timeline-header p {
  color: #475569;
  font-size: 1.125rem;
  margin-top: 1rem;
  line-height: 1.625;
}

/* Timeline Wrapper */
.timeline-wrapper {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-spine {
  display: none;
  position: absolute;
  left: 50%;
  top: 1rem;
  bottom: 2rem;
  width: 4px;
  transform: translateX(-50%);
  background-color: #e2e8f0;
  border-radius: 9999px;
}

.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 3rem;
}

.timeline-content-left,
.timeline-content-right {
  width: 100%;
}

/* On mobile, left-align items have their text (right content) stacked above the card (left content) */
.left-align .timeline-content-right {
  order: -1;
}

.timeline-center {
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10;
}

/* Nodes */
.timeline-node {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.875rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.node-gold {
  background-color: #12305B;
  border: 4px solid #D4A94E;
  color: #D4A94E;
  box-shadow: 0 0 15px rgba(212, 169, 78, 0.3);
}

.node-midblue {
  background-color: #14477a;
  border: 4px solid #ffffff;
  color: #ffffff;
}

.node-gold-border {
  background-color: #12305B;
  border: 4px solid #D4A94E;
  color: #D4A94E;
}

.node-deepblue-border {
  background-color: #060315;
  border: 4px solid #12305B;
  color: #12305B;
}

.icon-gold {
  color: #D4A94E;
  width: 20px;
  height: 20px;
}

.icon-white {
  color: #ffffff;
  width: 20px;
  height: 20px;
}

/* Phases & Titles */
.timeline-phase {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
  background-color: rgba(18, 48, 91, 0.05);
  border: 1px solid rgba(18, 48, 91, 0.15);
  color: #12305B;
}

.phase-midblue {
  background-color: rgba(20, 71, 122, 0.1);
  border-color: rgba(20, 71, 122, 0.2);
  color: #14477a;
}

.phase-deepblue {
  background-color: rgba(18, 48, 91, 0.05);
  border-color: rgba(18, 48, 91, 0.15);
  color: #12305B;
}

.timeline-item h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #12305B;
  margin: 0;
}

.timeline-date {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
  color: #D4A94E;
}

.date-midblue {
  color: #14477a;
}

.date-gold {
  color: #D4A94E;
}

.text-slate {
  color: #64748b;
}

.text-deepblue {
  color: #12305B;
}

/* Cards */
.timeline-card {
  background-color: #f8f9fa;
  border: 1px solid rgba(226, 232, 240, 0.8);
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border-left-width: 4px;
  border-left-style: solid;
}

.timeline-card:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.timeline-card p {
  color: #060315;
  font-size: 1rem;
  line-height: 1.625;
  margin: 0;
}

.border-gold {
  border-left-color: #D4A94E;
}

.border-midblue {
  border-left-color: #14477a;
}

.border-deepblue {
  border-left-color: #12305B;
}

/* Desktop overrides */
@media (min-width: 768px) {
  .timeline-spine {
    display: block;
  }

  .timeline-item {
    flex-direction: row;
    gap: 1.5rem;
  }

  .timeline-content-left {
    width: 41.666667%;
  }

  .timeline-center {
    display: flex;
    width: 16.666667%;
  }

  .timeline-content-right {
    width: 41.666667%;
  }

  .right-align .timeline-content-left {
    text-align: right;
  }

  .left-align .timeline-content-right {
    text-align: right;
  }

  /* Order swapping for left-align items */
  .left-align .timeline-content-left {
    order: 3;
  }

  .left-align .timeline-center {
    order: 2;
  }

  .left-align .timeline-content-right {
    order: 1;
  }

  /* Adjust border for swapped cards */
  .left-align .timeline-card {
    border-left-width: 1px;
    border-right-width: 4px;
    border-right-style: solid;
    text-align: right;
  }

  .left-align .border-midblue {
    border-right-color: #14477a;
  }

  .left-align .border-deepblue {
    border-right-color: #12305B;
  }
}

/* Manifesto Callout */
.manifesto-card {
  position: relative;
  max-width: 896px;
  margin: 3.5rem auto 0;
  background: linear-gradient(to right, #12305B, #14477a, #12305B);
  border-radius: 1rem;
  padding: 2rem;
  color: #ffffff;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 2px solid rgba(212, 169, 78, 0.4);
  overflow: hidden;
}

@media (min-width: 640px) {
  .manifesto-card {
    padding: 3rem;
  }
}

.quote-mark {
  position: absolute;
  color: rgba(212, 169, 78, 0.2);
  font-family: serif;
  font-weight: 900;
  font-size: 6rem;
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

@media (min-width: 640px) {
  .quote-mark {
    font-size: 8rem;
  }
}

.mark-left {
  top: -1rem;
  left: -0.5rem;
}

.mark-right {
  bottom: -2.5rem;
  right: -0.5rem;
}

.manifesto-content {
  position: relative;
  z-index: 10;
}

.manifesto-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #D4A94E;
  margin-bottom: 0.75rem;
}

.manifesto-badge svg {
  width: 16px;
  height: 16px;
}

.manifesto-text {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.625;
  color: #ffffff;
}

@media (min-width: 640px) {
  .manifesto-text {
    font-size: 1.5rem;
  }
}

.highlight-gold {
  color: #D4A94E;
}

.highlight-border {
  border-bottom: 1px solid rgba(212, 169, 78, 0.5);
}

.manifesto-footer {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 640px) {
  .manifesto-footer {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.hq-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hq-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #D4A94E;
  color: #12305B;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.hq-title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
}

.hq-subtitle {
  font-size: 0.75rem;
  color: #cbd5e1;
}

.specialist-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #D4A94E;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
  text-decoration: none;
}

.specialist-link:hover {
  color: #ffffff;
}

/* Feature Item Hover Effect */
.feature-item-card {
  transition: all 0.3s ease-in-out;
  background-color: transparent;
  border: 1px solid transparent;
}

.feature-item-card:hover {
  background-color: #ffffff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transform: translateY(-5px);
  border-color: #f1f1f1;
  border-radius: 10px;
}

.feature-item-card:hover .feature-icon i {

  /* assuming --primary is defined */
  transform: scale(1.1);
  transition: all 0.3s ease;
}