:root {
  --primary: #2a3f9d;
  --secondary: #6a35ff;
  --accent: #00c9ff;
  --dark: #0a0e23;
  --light: #f8f9ff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--light);
  color: var(--dark);
  overflow-x: hidden;
}

/* Header Styles */
.header {
  height: 100vh;
  /* min-height: 800px; */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: white;
  position: relative;
  overflow: hidden;
  padding: 0 2rem;
}

.header-content {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.header .section-title {
  color: rgba(255, 255, 255);
  font-size: 5.5rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.3s;
  position: relative;
  display: inline-block;
}

.header .section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.5);
}

.tagline {
  font-size: 2.8rem;
  font-weight: 600;
  margin-bottom: 2rem;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.6s;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-divider {
  width: 80px;
  height: 3px;
  background: var(--accent);
  margin: 2rem auto;
  opacity: 0;
  animation: fadeIn 1s ease forwards 0.9s;
}

.header-description {
  max-width: 700px;
  font-size: 1.2rem;
  line-height: 1.8;
  opacity: 0;
  animation: fadeIn 1s ease forwards 1.2s;
  margin: 0 auto;
  font-weight: 300;
}

/* Animated Background Elements */
.bg-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  animation: float 5s infinite ease-in-out; /* changed from 18s to 8s */
  backdrop-filter: blur(1px);
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-40px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .tagline {
    font-size: 2rem;
  }

  .header-description {
    font-size: 1rem;
  }
}

/* Section Styles */

/* Second part styling starts */

@media (max-width: 768px) {
  .header {
    padding: 0 2rem;
  }

  .logo {
    width: 200px;
  }

  .tagline {
    font-size: 1.4rem;
  }

  .section {
    padding: 1rem 5%;
  }

  .story-container {
    flex-direction: column;
  }

  .story-timeline {
    margin-top: 3rem;
    padding-left: 20px;
  }

  .timeline-item:before {
    left: -20px;
  }

  .timeline-item:after {
    left: -13px;
  }
}

/* Second part styling ends */
section {
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 50px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

.story-text {
  margin-top: 1.5rem;
  opacity: 0;
  transform: translateX(-50px);
  transition: all 1s ease;
}

.story-text.animate {
  opacity: 1;
  transform: translateX(0);
}

.story-timeline {
  position: relative;
  padding-left: 1rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s ease;
}

.timeline-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.timeline-item:before {
  content: "";
  position: absolute;
  left: -1rem;
  top: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid white;
  box-shadow: 0 0 0 4px var(--secondary);
}

.timeline-item:after {
  content: "";
  position: absolute;
  left: -0.7rem;
  top: 24px;
  bottom: -10px;
  width: 2px;
  background: var(--secondary);
}

.timeline-item:last-child:after {
  display: none;
}

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.3rem;
  margin-left: 10px;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  .story-timeline {
    padding-left: 0.2rem;
  }
  .timeline-item:before {
    left: -0.2rem;
  }
  .timeline-item:after {
    left: -0.8rem;
  }
}

/* Why Choose Us Section */
.why-us {
  background-color: #ffffff;
  /* padding: 2vh 4vw; */
  padding: 5rem 10%;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.benefit-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.benefit-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

.benefit-title {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

/* Team Section */
#team {
  /* padding: 2vh 2vw; */
  padding: 5rem 10%;
  text-align: left;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 3rem;
  justify-items: center;
}

.team-card {
  background: white;
  border-radius: 10px;
  width: 100%;
  max-width: 380px;
  height: auto;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: scale(0.9);
  margin: 0 auto 60px auto;
}

.team-card.animate {
  opacity: 1;
  transform: scale(1);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);

}

.team-image {
  height: 250px;
  width: 100%;
  object-fit: cover;
  background-size: cover;
  background-position: center;
  transition: border-color 2s ease, transform 0.5s ease;
}



.team-info {
  padding: 2rem;
}

.team-name {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.team-role {
  color: #243686;
  margin-bottom: 1rem;
  font-weight: 500;
}

.team-bio {
  font-style: italic;
  color: #666;
  position: relative;
  padding-left: 2px;
}

.team-bio:before {
  position: absolute;
  left: 0;
  top: 0;
  font-size: 2rem;
  color: var(--secondary);
  line-height: 1;
}

/* Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
  padding: 1rem;
  border-radius: 8px;
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--primary);
}
*/

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(5deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .header {
    padding: 0 2rem;
  }

  .logo {
    width: 200px;
  }

  .tagline {
    font-size: 1.4rem;
  }

  section {
    padding: 3rem 2rem;
  }

  .story-container {
    flex-direction: column;
  }

  .story-timeline {
    margin-top: 3rem;
    padding-left: 20px;
  }

  .timeline-item:before {
    left: -20px;
  }

  .timeline-item:after {
    left: -13px;
  }
}

.values-container .container-fluid {
  /* padding:2vh 4vw; */
  padding: 5rem 10%;
}

@keyframes fadeSlideDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

@keyframes slideInLeft {
  0% {
    transform: translateX(-100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes expandWidth {
  0% {
    width: 0;
  }
  100% {
    width: 80px;
  }
}

@keyframes letterSpacing {
  0% {
    letter-spacing: -10px;
    opacity: 0;
  }
  100% {
    letter-spacing: normal;
    opacity: 1;
  }
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 40px;
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}

header {
  margin-bottom: 20px;
  position: relative;
}

.header-content {
  position: relative;
  padding: 1px 0;
  overflow: hidden;
}

.header-wrapper {
  position: relative;
}

.header-bg {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: linear-gradient(
    135deg,
    rgba(69, 104, 220, 0.1),
    rgba(176, 106, 179, 0.1)
  );
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
}

.title-mask {
  overflow: hidden;
}

.header-title-span {
  color: #4568dc;
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: -5px;
  opacity: 0;
  display: block;
}

.header-title-main {
  font-size: 4rem;
  font-weight: 900;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  opacity: 0; /* GSAP will control this */
}

.header-line {
  height: 4px;
  width: 0; /* GSAP will control this */
  background: linear-gradient(90deg, #4568dc, #b06ab3);
  margin: 15px 0;
}

.header-subtitle {
  font-size: 1.1rem;
  color: #666;
  font-weight: 300;
  max-width: 80%;
  opacity: 0; /* GSAP will control this */
}

.cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 60px;
  padding: 20px 20px;
}

.card {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  gap: 15px;
  opacity: 0;
  animation: fadeIn 0.8s ease-out forwards;
  transition: transform 0.3s ease;
}

.card:nth-child(1) {
  animation-delay: 0.3s;
}
.card:nth-child(2) {
  animation-delay: 0.5s;
}
.card:nth-child(3) {
  animation-delay: 0.7s;
}
.card:nth-child(4) {
  animation-delay: 0.9s;
}
.card:nth-child(5) {
  animation-delay: 1.1s;
}
.card:nth-child(6) {
  animation-delay: 1.3s;
}

.card:hover {
  transform: translateY(-5px);
}

.icon-box {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #4f5bff, #252525, #000000);
  background-size: 200% 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.card:hover .icon-box {
  animation: pulseGradient 2s ease infinite;
  box-shadow: 0 5px 15px rgba(70, 104, 220, 0.3);
}

.arrow {
  font-size: 1.2rem;
  font-weight: bold;
  color: white;
}

.content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
  transition: color 0.3s ease;
}

.card:hover .content h2 {
  color: #4568dc;
}

.content h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 10px;
  color: #333;
}

.content p {
  font-size: 0.9rem;
  color: #666;
  font-weight: 300;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulseGradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* Responsive Design */
@media (max-width: 992px) {
  .cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cards-container {
    grid-template-columns: 1fr;
  }

  .card {
    flex-direction: row;
    align-items: center;
  }

  .icon-box {
    width: 36px;
    height: 36px;
  }

  .content h2 {
    font-size: 1rem;
  }

  .content p {
    font-size: 0.85rem;
  }
}
footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  animation: fadeIn 1s ease-out 1.7s forwards;
  opacity: 0;
}

.footer-left h2 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 1px;
}

.footer-right {
  text-align: right;
  font-size: 0.9rem;
}
@media (max-width: 600px) {
  footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }

  .footer-right {
    text-align: left;
    color: black;
  }

  .container {
    padding: 30px 20px;
    border-radius: 0;
  }
}
@media (max-width: 768px) {
  .ri-map-pin-line,
  .ri-phone-fill,
  .ri-mail-open-line {
    margin-right: 8px; /* Adjust margin on smaller screens */
  }
  p {
    font-size: 14px; /* Adjust font size on mobile */
  }
  .ri-map-pin-line {
    margin-bottom: 5px; /* Add some space for the address */
  }
}
.quick-link {
  color: black;
  text-decoration: none;
}

.quick-link:hover {
  color: #0ba34e;
}

/* last section */

.section-title-last {
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 1rem;
  color: white;
}

.section-title-last::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background-color: var(--accent);
  margin-top: 10px;
  border-radius: 2px;
}

/* Values Section */
.values-container {
  background: linear-gradient(135deg, var(--primary), var(--dark));
  color: white;
  /* padding: 0rem 3%; */
  border-radius: 10px;
  /* margin: 2rem 0; */
  width: 100%;
  display: flex;
  flex-direction: column;
  /* align-items: center; */
  text-align: left;
}

.value-card-para {
  max-width: 800px;
  margin-bottom: 2rem;
  opacity: 0.9;
  color: white;
  text-align: left;
}

.value-row {
  display: flex;
  flex-wrap: wrap;
  margin-top: 2rem;
  max-width: 1200px;
  /* margin-left: auto; */
  margin-right: auto;
  text-align: left;
}

.all-column,
.col-12 {
  padding: 0.6rem;
  box-sizing: border-box;
}

.all-column {
  flex: 10px;
  margin-bottom: 1rem;
}

@media (max-width: 768px) {
  .all-column {
    flex: 10px;
  }
}

@media (max-width: 576px) {
  .all-column {
    flex: 0 0 100%;
  }
}

.value-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.value-card.animate {
  opacity: 1;
  transform: translateY(0);
}

.value-card:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.value-title {
  font-size: 1.1rem;
  margin-bottom: 0.8rem;
  color: white;
}

.value-card p {
  font-size: 0.9rem;
  color: white;
  opacity: 0.9;
  flex-grow: 1;
}

.stats-container {
  padding: 3rem 5%;
  width: 100%;
  margin: 3rem 0;
  text-align: center;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
}

.stat-item {
  opacity: 0;
  transform: translateY(30px);
  padding: 1rem;
  border-radius: 8px;
}

.stat-item.animate {
  opacity: 1;
  transform: translateY(0);
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.3rem;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--primary);
}
.leadership-img-container {
  padding: 1rem;
  background: linear-gradient(135deg, #4f5bff, #252525, #000000);
  display: flex;
  /* border-radius: 50%; */
  justify-content: center;
   transition:all 4s ease;
}
.team-image {
    border: solid 5px white;
    border-radius: 50%;
    height: 250px;
    width: 250px;
    object-fit: cover;
    background-size: cover;
    transition: border-color 0.4s ease-in-out,   transform 0.1s ease;
}


.team-card:hover .team-image {
  border-color: transparent;
  transform: scale(1.05);
}

 #story
{
  padding-left: 7rem; 
  padding-right: 7rem;

}

@media(max-width:768px){
  #story
  {
  padding-left:  2rem; 
  padding-right: 2rem;

  }
}

@media(max-width:1000px){
  #story
  {
  padding-left: 2rem; 
  padding-right: 2rem;
  }
} 