:root {
  --bg: #0d1b2a;
  --card-bg: rgba(255, 255, 255, 0.05);
  --accent: #4158d0;
  --accent-glow: #ffcc70;
  --accent-light: #8b5cf6;
  --radius: 16px;
  --max-width: 1200px;
  --font: 'Poppins', sans-serif;
  --transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Floating Particles */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  background: var(--accent-glow);
  border-radius: 50%;
  opacity: 0.3;
  animation: float 15s infinite linear;
}

@keyframes float {
  0% {
    transform: translateY(100vh) translateX(0) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(-100vh) translateX(100px) scale(1.5);
    opacity: 0;
  }
}

/* Hero Section */
.hero {
  position: relative;
  padding: 150px 20px 100px;
  text-align: center;
  overflow: hidden;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.gradient-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
}

.gradient-circle:nth-child(1) {
  width: 400px;
  height: 400px;
  background: var(--accent);
  top: -150px;
  left: -150px;
  animation: floatCircle 20s infinite ease-in-out;
}

.gradient-circle:nth-child(2) {
  width: 500px;
  height: 500px;
  background: var(--accent-glow);
  bottom: -200px;
  right: -200px;
  animation: floatCircle 25s infinite ease-in-out reverse;
}

.gradient-circle:nth-child(3) {
  width: 300px;
  height: 300px;
  background: var(--accent-light);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: floatCircle 30s infinite ease-in-out;
}

@keyframes floatCircle {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.1); }
  66% { transform: translate(-20px, 20px) scale(0.9); }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.hero h1 {
  font-size: clamp(2.0rem, 5vw, 4rem);
  margin-bottom: 30px;
  font-weight: 700;
  line-height: 1.2;
}

.gradient-text {
  background: linear-gradient(135deg, var(--accent-glow), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  position: relative;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 40px;
  color: #c7d2fe;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-indicator {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.hero-indicator span {
  display: block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.hero-indicator span:nth-child(2) {
  width: 24px;
  border-radius: 4px;
  background: var(--accent-glow);
}

/* Story Section */
.story {
  padding: 100px 20px;
  background: rgba(255, 255, 255, 0.02);
  position: relative;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .container {
    grid-template-columns: 1fr 1fr;
  }
}

.story-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: #fff;
  position: relative;
  display: inline-block;
}

.story-text h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-glow);
  border-radius: 2px;
}

.story-text p {
  font-size: 1.0rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.story-img {
  position: relative;
}

.img-container {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.img-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: var(--transition);
}

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

.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(13, 27, 42, 0.9), rgba(13, 27, 42, 0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.img-container:hover .img-overlay {
  opacity: 1;
}

.overlay-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: scale(0.8);
  transition: var(--transition);
}

.img-container:hover .overlay-icon {
  transform: scale(1);
}

.overlay-icon i {
  font-size: 2rem;
  color: var(--accent-glow);
}

/* Mission/Vision Section */
.mission-vision {
  padding: 100px 20px;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #fff;
}

.section-divider {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.section-divider span {
  display: block;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.2);
}

.section-divider span:nth-child(2) {
  width: 60px;
  background: var(--accent-glow);
}

.mv-cards {
  display: grid;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .mv-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.mv-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mv-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.mv-card:hover::before {
  transform: translateX(0);
}

.mv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(111, 66, 193, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.icon-bg {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  background: rgba(111, 66, 193, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
}

.mv-card:hover .icon-bg {
  background: rgba(255, 204, 112, 0.15);
  transform: scale(1.1);
}

.icon-bg i {
  font-size: 2rem;
  color: var(--accent-glow);
  transition: var(--transition);
}

.mv-card:hover .icon-bg i {
  transform: scale(1.1);
  color: var(--accent-glow);
}

.mv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #fff;
}

.mv-card p {
  color: #cbd5e1;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  position: relative;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
}

.testimonial-track::-webkit-scrollbar {
  height: 6px;
}

.testimonial-track::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.testimonial-card {
  flex: 0 0 320px;
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.quote-icon {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-glow);
  font-size: 1.2rem;
}

.quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1.75rem;
  color: #cbd5e1;
  padding-left: 20px;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  font-size: 1.5rem;
}

.author .name {
  display: block;
  font-weight: 600;
  color: #fff;
}

.author .role {
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Team Section */
.team {
  padding: 100px 20px;
  text-align: center;
  position: relative;
}

.team-grid {
  display: grid;
  gap: 2rem;
  justify-items: center;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  max-width: 400px;
  width: 100%;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--accent), var(--accent-glow));
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.team-card:hover::before {
  transform: translateX(0);
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(111, 66, 193, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.team-card .img-container {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.team-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-card .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: rgba(13, 27, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.team-card:hover .img-overlay {
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 15px;
}

.social-icons a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition);
}

.social-icons a:hover {
  background: var(--accent);
  transform: translateY(-5px);
}

.team-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.team-card span {
  color: var(--accent-glow);
  font-weight: 600;
  font-size: 1rem;
  display: block;
  margin-bottom: 1rem;
}

/* Footer */
footer {
  padding: 40px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 2;
}

.footer-content {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.footer-content p {
  color: #64748b;
  font-size: 0.9rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cbd5e1;
  transition: var(--transition);
}

.social-link:hover {
  background: var(--accent);
  color: #fff;
  transform: translateY(-5px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  .story-text h2 {
    font-size: 2rem;
  }
  
  .mv-card {
    padding: 2rem;
  }
  
  .testimonial-card {
    flex: 0 0 280px;
    padding: 1rem;
  }
}


.testimonial-card {
  padding: 20px;
  max-width: 500px;
  border-radius: 10px;
  background: #0d1b2a;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: auto; /* Or set a max-height if needed */
}

.quote {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 16px;
  max-height: 300px; /* Optional, to trim very long quotes */
  overflow: hidden;
  text-overflow: ellipsis;
}

.author img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

.author {
  display: flex;
  align-items: center;
  font-size: 14px;
  gap: 10px;
}

.author .name {
  font-weight: 600;
  font-size: 14px;
}

.author .role {
  font-size: 12px;
  color: #666;
}
