/* Base Styles */
.founder-body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
  color: #ccd6f6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Background Elements */
.particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: float linear infinite;
}

.orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(60px);
  z-index: -1;
  opacity: 0.3;
}

.orb-1 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #4b86b4, transparent 70%);
  top: -100px;
  left: -100px;
  animation: orbFloat 15s ease-in-out infinite alternate;
}

.orb-2 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, #e6f1ff, transparent 70%);
  top: 50%;
  left: 30%;
  animation: orbFloat 12s ease-in-out infinite;
}

/* Main Container */
.founder-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 2;
  animation: fadeInUp 1s ease forwards;
}

/* Hero Section */
.founder-hero {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.3s;
}

.photo-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 30px;
}

.founder-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  position: relative;
  z-index: 3;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transition: transform 0.5s ease;
}

.photo-glow {
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: radial-gradient(circle, rgba(255,215,0,0.3) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
  animation: pulse-glow 4s ease infinite;
}

.photo-border {
  position: absolute;
  top: -15px;
  left: -15px;
  right: -15px;
  bottom: -15px;
  border: 3px solid transparent;
  border-top-color: #FFD700;
  border-radius: 50%;
  z-index: 2;
  animation: rotate-border 8s linear infinite;
}

/* Typography */
.founder-name {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 20px 0 10px;
  background: linear-gradient(90deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.signature {
  display: block;
  height: 60px;
  margin-top: 10px;
  background-image: url('../Assets/signature.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0;
  animation: signatureReveal 2s ease forwards;
  animation-delay: 1.5s;
}

.founder-role {
  font-size: 1.5rem;
  color: #64ffda;
  margin-bottom: 0;
}

/* Content Sections */
.founder-bio {
  margin: 60px 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.6s;
}

.founder-journey {
  margin: 60px 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 0.9s;
}

.founder-quotes {
  margin: 60px 0;
  animation: fadeInUp 1s ease forwards;
  animation-delay: 1.2s;
}

.highlight-text {
  background: linear-gradient(90deg, #64ffda, #4b86b4);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.year-highlight {
  color: #FFD700;
  font-weight: 700;
}

/* Timeline */
.timeline-container {
  position: relative;
  margin: 40px 0;
}

.timeline-bar {
  position: absolute;
  left: 50px;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(to bottom, #FFD700, #64ffda);
  transform-origin: top;
  transform: scaleY(0);
}

.milestones {
  position: relative;
  padding-left: 80px;
}

.milestone {
  margin-bottom: 40px;
  position: relative;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s ease;
}

.milestone.active {
  opacity: 1;
  transform: translateX(0);
}

.milestone-dot {
  position: absolute;
  left: -33px;
  top: 5px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #64ffda;
  box-shadow: 0 0 0 4px rgba(100, 255, 218, 0.2);
}

.milestone-content {
  background: rgba(23, 42, 69, 0.7);
  padding: 20px;
  border-radius: 10px;
  border-left: 3px solid #FFD700;
}

/* Quotes */
.quotes-carousel {
  perspective: 1000px;
}

.quote {
  background: rgba(23, 42, 69, 0.7);
  padding: 30px;
  border-radius: 15px;
  margin: 20px 0;
  border-left: 4px solid #64ffda;
  transform-style: preserve-3d;
  transition: all 0.8s ease;
  position: relative;
}

.voice-button {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background: rgba(100, 255, 218, 0.2);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: #64ffda;
  cursor: pointer;
  transition: all 0.3s ease;
}

.voice-button:hover {
  background: rgba(100, 255, 218, 0.4);
  transform: scale(1.1);
}

/* Floating Tools */
.floating-tools {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 4;
}

.tool {
  position: absolute;
  font-size: 1.5rem;
  color: #FFD700;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(23, 42, 69, 0.7);
  cursor: pointer;
  animation: float 6s ease-in-out infinite;
  transition: all 0.3s ease;
}

.tool:hover {
  background: rgba(100, 255, 218, 0.4);
  transform: scale(1.2);
}

.tool:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.tool:nth-child(2) {
  top: 70%;
  left: 80%;
  animation-delay: 1s;
}

/* Back Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 25px;
  margin: 60px auto 0;
  border-radius: 50px;
  background: rgba(23, 42, 69, 0.7);
  color: #64ffda;
  font-weight: 500;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(100, 255, 218, 0.2);
  transition: all 0.5s ease;
}

.link-hover {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(100, 255, 218, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.back-link:hover {
  background: rgba(30, 61, 107, 0.7);
  color: #ffffff;
  border-color: rgba(100, 255, 218, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.back-link:hover .link-hover {
  transform: translateX(100%);
}

/* Footer */
.founder-footer {
  background: rgba(10, 25, 47, 0.9);
  padding: 30px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.footer-social a {
  color: #64ffda;
  font-size: 1.5rem;
  margin: 0 10px;
  transition: all 0.3s ease;
}

.footer-social a:hover {
  color: #FFD700;
  transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes signatureReveal {
  0% { opacity: 0; background-size: 0% 100%; }
  100% { opacity: 1; background-size: contain; }
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.05); }
}

@keyframes rotate-border {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  25% { transform: translate(10px, -15px) rotate(5deg); }
  50% { transform: translate(-5px, 10px) rotate(-5deg); }
  75% { transform: translate(15px, 5px) rotate(3deg); }
}

@keyframes orbFloat {
  0% { transform: translate(0, 0); }
  25% { transform: translate(50px, 50px); }
  50% { transform: translate(100px, -30px); }
  75% { transform: translate(-20px, 80px); }
  100% { transform: translate(0, 0); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .founder-name {
    font-size: 2.5rem;
  }
  
  .founder-role {
    font-size: 1.2rem;
  }
  
  .timeline-container {
    margin-left: 20px;
  }
  
  .milestones {
    padding-left: 50px;
  }
  
  .milestone-dot {
    left: -23px;
  }
}

@media (max-width: 480px) {
  .founder-name {
    font-size: 2rem;
  }
  
  .founder-photo {
    width: 180px;
    height: 180px;
  }
  
  .tool {
    width: 30px;
    height: 30px;
    font-size: 1rem;
  }
}

