/* hero section */
.hero {
  /* position: fixed; */
  height: 70vh;
  background: url('../assets/images/about/about.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  overflow: hidden;
  margin-top: 0;
  padding-top: 4rem;
  /* background-position: 100%; */
}

/* Adjust spacing for single button in hero section */
.buttons {
  margin: 25px 0;
  display: flex;
  justify-content: center;
}

/* Dark Theme Styles for About Page */
.dark-theme {
  --about-bg-primary: #121212;
  --about-bg-secondary: #1e1e1e;
  --about-text-primary: #ffffff;
  --about-text-secondary: #cccccc;
  --about-card-bg: #2d2d2d;
  --about-section-bg: #1a1a1a;
  --about-border-color: #444;
  --about-gradient-btn-bg: linear-gradient(135deg, #4d9fff 0%, #a777e3 100%);
  --about-stat-bg: linear-gradient(135deg, #204080, #663399);
}

/* Adjust spacing for about text section without the button */
.about-text p:last-child {
  margin-bottom: 0;  /* Remove bottom margin on the last paragraph */
}

.dark-theme .hero::before {
  background: rgba(0, 0, 0, 0.7); /* Darker overlay for dark mode */
}

.dark-theme .about-section {
  background: var(--about-bg-secondary);
}

.dark-theme .about-text p {
  color: var(--about-text-secondary);
}

.dark-theme .about-heading {
  color: var(--about-text-primary);
}

.dark-theme .gradient-button {
  background: var(--about-gradient-btn-bg);
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.3);
}

.dark-theme .stats {
  background: var(--about-stat-bg);
}

.dark-theme .team-section {
  background: var(--about-bg-secondary);
}

.dark-theme .mentor {
  background: var(--about-card-bg);
  border-color: var(--about-border-color);
}
.dark-theme .mentor p {
  color: var(--about-text-secondary);
}

.dark-theme .section {
  background: var(--about-bg-primary);
}

.dark-theme .right-content h2,
.dark-theme .right-content h3 {
  color: var(--about-text-primary);
}

.dark-theme .right-content p {
  color: var(--about-text-secondary);
}

.dark-theme .btn-primary {
  background: var(--about-gradient-btn-bg);
}

/* Fix for navbar toggle button position in mobile view */
@media (max-width: 991.98px) {
  #main-navbar .container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  #main-navbar .navbar-brand {
    flex: 0 0 auto;
    margin-right: 0;
  }
  
  #main-navbar .navbar-toggler {
    flex: 0 0 auto;
    position: relative;
    z-index: 1031;
    order: 2;
  }
  
  #main-navbar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
  }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.7); /* Opacity layer */
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  font-size: 50px;
}

.hero h1 {
  font-size: 50px;
  font-weight: 700;
  color: white;
  animation: slideDown 1s ease forwards;
}

/* Remove gradient text style and change to white */
.hero h1 {
  background: none;
  -webkit-background-clip: initial;  
  -webkit-text-fill-color: white;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .main-heading {
    font-size: 2.1rem;
    text-align: center;
  }

  .heading {
    font-size: 1.1rem;
    text-align: center;
  }
/* 
  .btn {
    width: 70%;
    text-align: center;
  } */

  .buttons {
    flex-direction: column;
  }

  .hero-image {
    max-width: 100%;
    background-position: 100%;
  }
}
/* Add the missing styles for icon-counter and achievement-icon */
.icon-counter {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.achievement-icon {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 10px;
  transition: transform 0.3s ease;
}

.counter-box:hover .achievement-icon {
  transform: scale(1.2);
}

/* Add styles for cofounder section */
.cofounder-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 60px 10%;
  background: #f8f9fa;
}

.cofounder-text {
  flex: 1;
  padding-right: 40px;
}

.cofounder-text h2 {
  font-size: 40px;
  margin-bottom: 10px;
}

.cofounder-text h2 span.krati {
  color: #6e8efb;
  font-weight: 700;
}

.cofounder-text h2 span.yadav {
  color: #a777e3;
  font-weight: 700;
}

.cofounder-text h3 {
  font-size: 24px;
  color: #555;
  margin-bottom: 15px;
}

.cofounder-text p {
  font-size: 16px;
  line-height: 1.6;
}

.cofounder-image {
  flex: 1;
  text-align: center;
}

.cofounder-image img {
  width: 80%;
  max-width: 350px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.icon-container{
  display: flex;
  margin: 5px;
  gap: 5px;
}
.icon {
  width: 50px;
  height: 50px;
  background-color: #ddd;
  color: #444;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  transition: background-color 0.3s, color 0.3s;
  font-size: 20px;
}

/* Hover styles with brand colors */
.icon.linkedin:hover {
  background-color: #0077B5;
  color: white;
}

.icon.phone:hover {
  background-color: #28a745;
  color: white;
}

.icon.whatsapp:hover {
  background-color: #25D366;
  color: white;
}

.icon.youtube:hover {
  background-color: #FF0000;
  color: white;
}

.icon.instagram:hover {
  background-color: #724646;
  color: white;
}
/* Responsive scaling on smaller screens */
@media (max-width: 500px) {
  .icon {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }
}

.contact-button-container {
  margin-top: 30px;
  display: flex;
  align-items: center;
}

.contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 30px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white !important;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(110, 142, 251, 0.4);
  position: relative;
}

.contact-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(110, 142, 251, 0.6);
  color: white !important;
  text-decoration: none;
  background: linear-gradient(135deg, #a777e3, #6e8efb); /* Reversed gradient on hover */
}

.contact-button:focus, 
.contact-button:active {
  color: white !important;
  text-decoration: none;
  outline: none;
  background: linear-gradient(135deg, #a777e3, #6e8efb);
}

.contact-button i {
  margin-right: 8px;
  color: white !important;
}

/* Dark theme styling for contact button */
.dark-theme .contact-button {
  background: linear-gradient(135deg, #4d9fff, #a777e3);
  box-shadow: 0 4px 15px rgba(77, 159, 255, 0.3);
  color: white !important;
}

.dark-theme .contact-button:hover {
  box-shadow: 0 8px 25px rgba(77, 159, 255, 0.5);
  color: white !important;
  background: linear-gradient(135deg, #a777e3, #4d9fff); /* Reversed gradient on hover */
}

.dark-theme .contact-button:focus,
.dark-theme .contact-button:active {
  color: white !important;
  background: linear-gradient(135deg, #a777e3, #4d9fff);
}

/* Fix mission section styling */
.mission-section {
  padding: 60px 10%;
  text-align: center;
  background: #fff;
}

.mission h2 {
  font-size: 40px;
  margin-bottom: 30px;
  color: #333;
}

.mission span {
  color: #6e8efb;
  font-weight: 700;
}

.mission img {
  width: 100%;
  max-width: 900px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.button-group {
  display: flex;
  gap: 20px;
  justify-content: center; /* center horizontally */
  margin-top: 60px;
}

.btn {
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 30px;
  margin: 5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-explore {
  margin-top: 30px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
}

.btn-explore:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(110, 142, 251, 0.5);
}

.btn-secondary {
  margin-top: 30px;
  background: linear-gradient(135deg, #f6d365, #b6634c);
  color: white;
}

.btn-secondary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(253, 160, 133, 0.5);
}

/* button */
.hero p {
  margin-top: 10px;
  font-size: 22px; 
  animation: fadeIn 2s ease forwards; 
}

@keyframes slideDown {
  0% { transform: translateY(-100px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

section {
  padding: 60px 10%;
}
/* hero section end */

/* team */
.team-section {
  background: rgb(255, 255, 255);
  text-align: center;
  padding: 60px 5%;
}

.mentor {
  /* border: 1px solid rgba(0,0,0,0.1); */
  /* width: 90%; */
  /* height: auto; */
  /* border-radius: 12px; */
  /* box-shadow: 0 4px 10px rgba(0,0,0,0.2); */
  /* padding: 10px; */
 background-color:  #f8f9fa;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.dark-theme .mentor
{
  background-color: var(--about-bg-secondary);
}


.mentor:hover {
  transform: translateY(-10px);
}

.mentor p {
  margin-top: 7px;
  color: #777272;
  text-align: center;
  line-height: 1.5;
}

.team-section h2 {
  font-size: 42px;
  margin-bottom: 30px;
  background: linear-gradient(120deg, blue, green, red, gold, purple);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: slideDown 1s ease forwards;
}

.team-grid {
  display: grid;
  background-color: var(--about-bg-primary#121212);
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.dark-theme .krati{
  color: var(--about-text-primary);
}


.dark-theme .yadav{
  color: var(--about-text-primary);
}


.dark-theme .AaoSeekhe{
  color: var(--about-text-primary);
}

.krati
{
  font-size: 30px;
  color: #663399;
}

.yadav
{
  font-size: 30px;
  color: #0d0d0e;
}
.AaoSeekhe{
  font-size: 18px;
  margin-top: 1px;
  color: var(--about-card-bg #2d2d2d);
}
.team-grid img {
  width: 100%;
  height: 340px;
  object-fit: cover;

}

.team-grid img:hover {
  transform: scale(1.05);
}


/* about */
.about-section {
  min-height: 50vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 10%;
  background: #f1f1f1;
}

.about-content {
  display: flex;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  max-width: 700px;
  max-height: 1400px;
  /* border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); */
  animation: fadeIn 2s;
}

.about-text {
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  font-size: 42px;
  text-align: center;
  color: #111;
  margin-bottom: 20px;
  font-weight: 700;
  animation: slideRight 1.2s ease forwards;
}
.about-headin g {
  position: relative;
  display: inline-block;
  font-size: 36px;
  color: #333;
  margin-top: 5px;
  margin-bottom: 20px;
}

.about-heading::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 4px;
  background: linear-gradient(270deg, #ff6ec4, #7873f5, #4ade80);
  background-size: 400% 400%;
  animation: animateBorder 5s ease infinite;
  border-radius: 2px;
}

@keyframes animateBorder {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.about-text p {
  font-size: 18px;
  color: #555;
  line-height: 1.7;
  animation: fadeIn 2s ease forwards;
}

@keyframes slideRight {
  0% { transform: translateX(-100px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

@media (max-width: 992px) {
  .about-content {
    flex-direction: column;
    text-align: center;
  }
  .about-image img {
    max-width: 100%;
  }
  .about-text h2 {
    font-size: 36px;
    margin-left: 0;
  }
  .about-text p {
    font-size: 16px;
  }
}

.gradient-button {
  background: linear-gradient(135deg, #6e8efb 0%, #a777e3 100%);
  color: white;
  border: none;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  margin-top: 20px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-size: 200% auto;
  animation: gradientMove 3s ease infinite;
}

.gradient-button:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(110, 142, 251, 0.5);
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* stats section */
.stats {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 40px 5%;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.stat {
  flex: 1;
  padding: 20px;
  min-width: 200px;
  position: relative;
}

.stat:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.3);
}

.stat h2 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 10px;
}

.stat p {
  font-size: 16px;
  opacity: 0.9;
  margin: 0;
}

@media (max-width: 768px) {
  .stat {
    flex: 1 1 50%;
    min-width: unset;
  }
  
  .stat:not(:first-child)::before {
    display: none;
  }
  
  .stat h2 {
    font-size: 32px;
  }
}

@media (max-width: 576px) {
  .stat {
    flex: 1 1 100%;
  }
}

body {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem; /* Matching the home page font size */
  line-height: 1.6;
  color: #333;
  overflow-x: hidden;
}

/* Mission section styles */
.btn-primary {
  display: inline-block;
  padding: 12px 30px;
  background: linear-gradient(135deg, #6e8efb, #a777e3);
  color: white;
  text-decoration: none;
  border-radius: 30px;
  transition: all 0.3s ease;
  font-weight: 600;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(110, 142, 251, 0.5);
}

.section {
  padding: 80px 0;
  overflow: hidden;
}

.container {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  position: relative;
}

.left-content, .right-content {
  flex-basis: 48%;
  transition: all 0.6s ease;
  opacity: 0;
  transform: translateY(20px);
}

.left-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.left-content img, .left-content video {
  max-width: 100%;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  height: auto;
  max-height: 400px;
}


.right-content {
  color: #333;
}

.right-content h3 {
  font-size: 1rem;
  color: #6e8efb;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
  font-weight: 700;
  background: linear-gradient(90deg, #6e8efb, #a777e3);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.right-content h2 {
  font-size: 2.5rem;
  color: #333;
  margin-bottom: 20px;
  position: relative;
  font-weight: 700;
}

.right-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #666;
  line-height: 1.8;
}

.right-content ul {
  list-style: none;
  margin-top: 20px;
  padding: 0;
}

.right-content ul li {
  margin-bottom: 15px;
  padding-left: 30px;
  position: relative;
  color: #555;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
}

.right-content ul img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.show {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 992px) {
  .container {
    flex-direction: column-reverse;
  }
  
  .left-content, .right-content {
    flex-basis: 100%;
    margin-bottom: 40px;
  }
  
  .right-content {
    text-align: center;
    margin-bottom: 30px;
  }
  
  .right-content h2 {
    font-size: 2rem;
  }
  
  .right-content p {
    font-size: 1rem;
  }
  
  .left-content {
    margin-top: 30px;
  }
}

/* Add animation styles for mission section */
.mission img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.mission h2 {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.dark-theme .cofounder-text h3 {
  color: var(--about-text-secondary);
}

.dark-theme .cofounder-text h4 {
  color: var(--about-text-secondary);
}
.dark-theme .cofounder-text p {
  color: var(--about-text-secondary);
}

/* Dark theme styles for mission section */
.dark-theme .mission-section {
  background: var(--about-bg-secondary);
}

.dark-theme .mission h2 {
  color: var(--about-text-primary);
}

.dark-theme .mission span {
  color: #6e8efb;
}

