:root {
  --dr-purple: #00c9e9;
  --dr-dark-purple: #02adc7;
  --dr-light-purple: #EDE9FE;
  --dr-accent: #EB5633;
  --dr-text-dark: #1F1F2E;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--dr-purple);
  color: white;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  background-color: var(--dr-dark-purple);
  padding: 0.8rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.navbar-brand,
.nav-link {
  color: var(--dr-light-purple) !important;
  transition: color 0.3s;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.8rem;
}

.nav-link {
  font-weight: 500;
  margin: 0 0.5rem;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-brand:hover,
.nav-link:hover {
  color: white !important;
}

.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}



/* Digital Card Link Styling */
.digital-card-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}

.digital-card-link::before {
  content: "📇";
  font-size: 1.1rem;
}

.digital-card-link:hover::before {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}
/* Hero Section with Left/Right Layout - FIXED FOR MOBILE */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--dr-dark-purple), var(--dr-purple));
  padding-top: 76px;
}

.hero-container {
  display: flex;
  width: 100%;
  height: 100%;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.hero-content {
  flex: 1;
  padding-right: 3rem;
  text-align: left;
  max-width: 600px;
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-left: 3rem;
}

.hero-img {
  width: 100%;
  max-width: 500px;
  height: auto;
  max-height: 85vh;
  object-fit: cover;
  border-radius: 15px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
  border: 8px solid rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.25);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.1;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  background: linear-gradient(135deg, white, var(--dr-light-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: var(--dr-light-purple);
  font-weight: 400;
  line-height: 1.4;
}

.hero-content p {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.hero-separator {
  width: 4px;
  height: 350px;
  background: linear-gradient(to bottom, transparent, var(--dr-accent), var(--dr-accent), transparent);
  margin: 0 3rem;
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(196, 181, 253, 0.3);
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.btn-hero {
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.btn-primary-hero {
  background-color: white;
  color: var(--dr-dark-purple);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary-hero:hover {
  background-color: var(--dr-light-purple);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.4);
}

.btn-outline-hero {
  border: 3px solid white;
  color: white;
  background: transparent;
  backdrop-filter: blur(10px);
}

.btn-outline-hero:hover {
  background-color: white;
  color: var(--dr-dark-purple);
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(255, 255, 255, 0.3);
}

/* Responsive adjustments - FIXED FOR MOBILE */
@media (max-width: 1200px) {
  .hero-container {
    padding: 0 1.5rem;
  }

  .hero-content {
    padding-right: 2rem;
    max-width: 500px;
  }

  .hero-image {
    padding-left: 2rem;
  }

  .hero-img {
    max-width: 450px;
  }

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

@media (max-width: 992px) {
  #hero {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .hero-container {
    flex-direction: column-reverse;
    text-align: center;
    padding: 0 2rem;
    justify-content: center;
    gap: 2rem;
    height: auto;
  }

  .hero-content {
    padding-right: 0;
    padding-top: 0;
    text-align: center;
    max-width: 100%;
  }

  .hero-image {
    padding-left: 0;
  }

  .hero-separator {
    width: 80%;
    max-width: 300px;
    height: 3px;
    margin: 1rem auto;
    background: linear-gradient(to right, transparent, var(--dr-accent), transparent);
  }

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

  .hero-subtitle {
    font-size: 1.5rem;
  }

  .hero-img {
    max-width: 400px;
    max-height: 60vh;
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .hero-subtitle {
    font-size: 1.3rem;
  }

  .hero-content p {
    font-size: 1.1rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .btn-hero {
    width: 100%;
    max-width: 280px;
    padding: 0.9rem 2rem;
  }

  .hero-img {
    max-width: 350px;
    max-height: 50vh;
  }
}

@media (max-width: 576px) {
  .hero-container {
    padding: 0 1rem;
  }

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

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .hero-img {
    max-width: 300px;
    max-height: 45vh;
    border-width: 5px;
  }
}

/* Vision & Mission */
#vision {
  background-color: var(--dr-light-purple);
  color: var(--dr-text-dark);
  padding: 6rem 1rem;
}

.vision-container {
  max-width: 900px;
  margin: 0 auto;
}

.vision-title {
  color: var(--dr-dark-purple);
  margin-bottom: 2rem;
  font-weight: 700;
}

.vision-text {
  font-size: 1.2rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.highlight {
  color: var(--dr-dark-purple);
  font-weight: 600;
  background-color: rgba(139, 92, 246, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Timeline (Milestones Section) - FIXED FOR MOBILE */
#milestones {
  background: linear-gradient(to bottom, var(--dr-purple), var(--dr-dark-purple));
  position: relative;
  padding: 6rem 1rem;
  overflow: hidden;
}

.milestones-title {
  margin-bottom: 4rem;
  font-weight: 700;
}

.timeline-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
}

.timeline-container::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: rgba(255, 255, 255, 0.3);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
  border-radius: 2px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  width: 50%;
  opacity: 0;
  box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
  left: 0;
}

.timeline-item:nth-child(even) {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: white;
  border: 4px solid var(--dr-accent);
  border-radius: 50%;
  z-index: 1;
  top: 15px;
}

.timeline-item:nth-child(even) .timeline-dot {
  left: -10px;
}

.timeline-content {
  padding: 20px 25px;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  position: relative;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(196, 181, 253, 0.3);
}

.timeline-content h4 {
  color: var(--dr-accent);
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.timeline-content p {
  margin-bottom: 0;
  line-height: 1.6;
}

/* Mobile Timeline */
@media screen and (max-width: 768px) {
  .timeline-container::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item:nth-child(even) {
    left: 0;
  }

  .timeline-dot {
    left: 21px;
    right: auto;
  }

  .timeline-item:nth-child(even) .timeline-dot {
    left: 21px;
  }
}

/* Team Sections */
.team-section {
  padding: 6rem 1rem;
  text-align: center;
}

.team-container {
  max-width: 900px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.team-member:nth-child(even) {
  flex-direction: row-reverse;
}

.team-img {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: cover;
  border: 5px solid var(--dr-accent);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.team-info {
  flex: 1;
  text-align: left;
}

.team-member:nth-child(even) .team-info {
  text-align: right;
}

.team-name {
  color: var(--dr-dark-purple);
  margin-bottom: 1rem;
  font-weight: 700;
}

.team-role {
  color: var(--dr-purple);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.team-bio {
  color: var(--dr-text-dark);
  line-height: 1.7;
}

@media (max-width: 768px) {

  .team-member,
  .team-member:nth-child(even) {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .team-info,
  .team-member:nth-child(even) .team-info {
    text-align: center;
  }

  .team-img {
    width: 200px;
    height: 200px;
  }
}

/* Contact */
#contact {
  background-color: var(--dr-light-purple);
  color: var(--dr-text-dark);
  padding: 6rem 1rem;
}

.contact-container {
  max-width: 700px;
  margin: 0 auto;
}

.contact-title {
  color: var(--dr-dark-purple);
  margin-bottom: 1rem;
  font-weight: 700;
}

.contact-subtitle {
  color: var(--dr-text-dark);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.contact-btn {
  background-color: var(--dr-purple);
  color: white;
  font-weight: 600;
  padding: 0.8rem 2.5rem;
  border-radius: 50px;
  border: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-btn:hover {
  background-color: var(--dr-dark-purple);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Footer */
footer {
  background: linear-gradient(to right, var(--dr-dark-purple), var(--dr-purple));
  color: white;
  padding: 3rem 1rem 2rem;
  text-align: center;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  margin: 1.5rem 0;
}

footer a {
  color: var(--dr-accent);
  text-decoration: none;
  margin: 0 0.75rem;
  transition: color 0.3s;
  font-weight: 500;
}

footer a:hover {
  color: white;
}

.copyright {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Fade Up Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

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

.fade-up {
  opacity: 0;
}

.animated {
  animation: fadeUp 1s ease forwards;
}

/* Loading state for images */
.img-placeholder {
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #888;
  font-weight: 500;
}