:root {
  --primary-dark: #0f0032;
  --primary-purple: #2d1b4e;
  --accent-color: #4a90e2;
  --text-light: #f7f8f5;
  --primary: #6e49e3;
  --primary-dark: #0f0032;
  --secondary: #26175e;
  --accent: #6877e0;
  --text-light: #f8f9fa;
  --card-bg: rgba(255, 255, 255, 0.95);
  --primary: #6e49e3;
  --light-green: #e8f5e9;
  --text-dark: #1a1a1a;
  --text-muted: #666;
  --bg-cream: #6877e0;
  --primary-dark: #0f0032;
}

body {
  font-family: 'Poppins', Arial, Helvetica, serif;
  text-wrap: pretty;
  font-weight: 300;
}

h1,
h2,
h3,
h5,
h6 {
  font-family: "Faustina", Arial, Helvetica, serif;
  font-optical-sizing: auto;
  font-weight: 600;
}

h2 {
  font-size: 2.5rem;
}

h5 {
  color: #6e49e3;
  font-size: 24px;
}

strong {
  font-weight: bold;
  color: #6877e0;
}

.btn {
  background-color: var(--primary-dark);
  color: #fff;
  font-weight: 500;
  border-radius: 5px;
  transition: all 0.3s;
  font-size: 0.875rem;
  padding: 0.5rem 0.75rem;

}

.btn:hover {
  background-color: var(--text-light);
  color: var(--primary-dark);
}

.rm-link {
  font-size: 0.875rem;
  text-decoration: none;
}

/* Navigation */
.navbar {
  background-color: var(--primary-dark) !important;
  padding: 1.5rem 0;
}

.navbar-brand {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  margin: 0 1rem;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-color) !important;
}
.ameya-banner img,
.about-content  img{
  border-radius: 0.625rem !important;
}

/* Hero Section */
.hero-section {
  background: var(--primary-dark);
  color: var(--text-light);
  padding: 10rem 0 0 0;
  position: relative;
}

.navbar-toggler {
  border: 0
}

.hero-title {
  font-size: 2.58rem;
  position: absolute;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  z-index: 999;

}

.hero-description {
  position: absolute;
  width: 18rem;
  right: 0;
  bottom: 0rem;
}

.hero-description:before {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 0.125rem;
  background: rgba(255, 255, 255, 0.5);
  top: -20px;
}

.scroll-indicator {
  text-align: center;
  margin-top: 3rem;
}

.scroll-indicator i {
  font-size: 2rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Science for Sustainability Section */
.sustainability-section {
  padding: 80px 0;
  background-color: #f8f9fa;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-dark);
}

.section-label {
  font-size: 0.875rem;
  color: #666;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* .sustainability-images img {
           height: 100%;
            object-fit: cover;
        } */

.download-btn i {
  margin-left: 0.25rem;
}



.competency-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #6e49e3;
  margin-top: 1rem;
}

.competencies-description-line {
  position: relative;
  flex-direction: column-reverse;
  display: flex;
}

.competencies-description-line::after {
  content: "";
  position: absolute;
  right: 0;
  width: 100%;
  height: 0.125rem;
  background: var(--primary-dark);
  bottom: 0;
}

/* Journey Section */
.journey-section {
  padding: 80px 0;
  background: var(--text-light);
}


.journey-images img {
  object-fit: cover;
}

.journey-list {
  list-style: none;
  padding: 0;
}

.journey-list li {
  padding: 0.25rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.journey-list li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-size: 2rem;
  line-height: 0.75;
}


/* Footer */
.footer {
  background-color: var(--primary-dark);
  color: var(--text-light);

}

.social-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

.social-links a:hover {
  color: var(--accent-color);
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-email {
  font-size: 1.2rem;
  color: var(--text-light);
}

.copyright {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  opacity: 0.7;
}

/** Work Experience **/


.work-impact {
  border-left: 4px solid #6e49e3;
  font-size: 0.875rem;
  padding: 1rem;
  margin-top: 1rem;
  background: #efefef;
  border-radius: 6px;
  /* margin-bottom: 1rem; */
}

.pill {
  border: 1px solid #ccc;
  background-color: rgba(0, 0, 0, 0.02);
  font-size: 0.875rem;
  padding: .25rem 1rem;
  border-radius: 30px;
}

/** About Us**/
.about-hero {
  background-color: var(--primary-dark);
  color: #fff;
}

.about-hero img {
  border-radius: 50rem;
  padding: 3rem;
}

.journey img {
  height: 100%;
  object-fit: cover;
}

.progress-bar {
  background-color: #6e49e3;
}

.logo-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}

.logo-item img {
  height: 2rem !important;
  margin: 2rem;
}

.logo-scroll {
  display: flex;
  white-space: nowrap;
}

.logo-scroll__wrapper {
  display: flex;
  animation: scroll-left 25s linear infinite;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}


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

@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Science for Sustainability */
.sustainability-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  margin-top: 3rem;
}

.sustainability-scroll {
  display: flex;
  white-space: nowrap;
}

.sustainability-scroll__wrapper {
  display: flex;
  animation: slide-scroll 30s linear infinite;
}

.slide-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-item img {
  /* height: 100%;
  width: auto; */
  /* border-radius: 16px; */
  margin: 1rem;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.slide-item img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

@keyframes slide-scroll {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


/* Gallery */

.gallery-img {
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}
.gallery h2{
  color: var(--primary-dark) !important;
}
.gallery p{
  color: var(--primary-dark) !important;

}
.gallery .section-header{
  margin-bottom: 0 !important;
}

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

/* Modal Image */
.modal-body {
  text-align: center;
  position: relative;
  padding: 0;
}

.modal-body img {
  width: auto;
  height: auto;
  max-inline-size: 100%;
  max-block-size: 85vh;
  aspect-ratio: attr(width) / attr(height);
  transition: transform 0.4s ease;
  margin: 0 auto;
  display: block;
}

.modal-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #fff;
  font-size: clamp(1.8rem, 2vw + 0.5rem, 2.8rem);
  cursor: pointer;
  z-index: 1056;
  transition: 0.3s;
  opacity: 0.9;
}

.modal-arrow.left {
  left: calc(50% - min(48vw, 550px));
}

.modal-arrow.right {
  right: calc(50% - min(48vw, 550px));
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  filter: invert(1);
  width: 2.5rem;
  height: 2.5rem;
}



.initiatives-wrapper {
  width: 100%;
}

.initiatives:nth-of-type(odd) {
  background-color: #f3f3f3;
}

.initiatives {
  width: 100%;
}

.initiatives .container {
  padding: 4rem 0;
}

.overlay {
  background: rgba(0, 0, 0, 0.4);
  /* change opacity/color as needed */
  transition: background 0.3s ease;
}

.position-relative {
  overflow: hidden;
}

.footer li {
  list-style: none;
  line-height: 1.75;
}

.footer a {
  color: #fff;
  text-decoration: none;
}

.footer a:hover {
  color: #4a90e2;
}

.footer h4 {
  color: #6877e0;
  font-size: 1.125rem;
  font-weight: bold;
}

.footer img {
  border-radius: 0.625rem;
}

/* new-css-initiatives */

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.my-initiatives {
  background: var(--accent);
}

.initiatives-projects {
  background: var(--accent);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
  animation: fadeInUp 0.8s ease;
}

/* .section-title {
  font-family: 'Faustina', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  position: relative;
  display: inline-block;
} */
/* 
.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent);
  border-radius: 2px;
} */

.project-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 2.5rem;
  height: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(110, 73, 227, 0.3);
}

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

.card-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.pill {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.card-text {
  color: #555;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.work-impact {
  background: linear-gradient(135deg, rgba(110, 73, 227, 0.1), rgba(0, 217, 255, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

.initiative-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease;
}

.initiative-card:hover {
  box-shadow: 0 20px 60px rgba(110, 73, 227, 0.3);
}

.initiative-img {
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.4s ease;
  width: 100%;
  height: 300px;
  object-fit: cover;
}

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

.category-header {
  font-family: 'Faustina', serif;
  font-size: 2rem;
  color: white;
  margin: 4rem 0 2rem;
  padding-bottom: 1rem;
  border-bottom: 3px solid rgba(255, 255, 255, 0.3);
}

/* work-experience */

.work-experience {
  background-color: var(--bg-cream);
}

.experience-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.experience-card:hover::before {
  transform: scaleY(1);
}

.experience-card:nth-child(even) .row {
  flex-direction: row-reverse;
}

.logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: #fff;
  border-radius: 15px;
  transition: all 0.3s ease;
}

.logo-container img {
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.experience-card:hover .logo-container img {
  transform: scale(1.05);
}

.experience-content h5 {
  font-family: 'Faustina', serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 0.5rem;
}

.experience-content>p:not(.work-impact) {
  color: var(--text-muted);
  line-height: 1.8;
  margin: 1rem 0;
}

.work-impact {
  background: linear-gradient(135deg, rgba(110, 73, 227, 0.1), rgba(0, 217, 255, 0.1));
  padding: 1.5rem;
  border-radius: 12px;
  margin-top: 1.5rem;
  border-left: 4px solid var(--primary);
  animation: fadeIn 0.6s ease;
}

.work-impact strong {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 0.5rem;
}

.work-experience {
  min-height: 100vh;
  padding-top: 100px;
  position: relative;
}


.section-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 2rem 0;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
  animation: fadeInUp 0.8s ease;
}

.section-header p {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  max-width: 600px;
  margin: 0 auto;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.experience-card {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}
.home-work-experience{
  background-color: #fff;
}
.gallery .modal-backdrop.show {
    background-color: rgba(0, 0, 0, 0.9) !important;
}
.logo-container {
    width: 100%;
    overflow: hidden;
}


.logo-scroll__wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 30px;
    padding: 10px 0;
}

.logo-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-item img {
    height: 40px;
    width: auto;
}




@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/** Responsive**/
@media (max-width: 768px) {
  .hero-title {
    font-size: 1.75rem;
    margin: 8rem 0 0 -0.813rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .journey-images {
    flex-direction: column;
  }

  .hero-description {
    position: unset;
    width: 100%;
    margin-top: 2rem;
  }

  .hero-section {

    padding: 10rem 0 2.5rem;

  }

  .competency-title {
    font-size: 1rem;
  }

  br {
    display: none;
  }

  .slide-item img {
    height: 200px;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .initiative-card {
    padding: 2rem;
  }

  .initiative-img {
    margin-bottom: 2rem;
    height: 250px;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .experience-card {
    padding: 1.5rem;
  }

  .experience-card:nth-child(even) .row {
    flex-direction: row;
  }

  /* .logo-container {
    margin-bottom: 1.5rem;
  } */

  .experience-content h5 {
    font-size: 1.2rem;
  }
  .banner-image{
    margin-bottom: -3rem;
    margin-top: -3rem;
  }
}