/* General Body & Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    margin: 0;
    padding-top: 80px; /* Account for fixed navbar */
    line-height: inherit;
    color: #e2e8f0;
    background-color: #0f172a;
    overflow-y: visible;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Headings & Paragraphs */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', sans-serif;
    color: #ffffff;
    margin-bottom: 0.5em;
    letter-spacing: 1px;
}

p {
    margin-bottom: 1em;
    color: #cbd5e1;
}

a {
    color: inherit;
    text-decoration: inherit;
}

/* Header Section */
header {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

header h1 {
    font-size: 3.5em;
    color: #ffffff;
    margin-bottom: 10px;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header .intro-text {
    font-size: 1.1em;
    max-width: 800px;
    margin: 0 auto;
    color: #cbd5e1;
}

/* Timeline Section */
.timeline-section {
    padding: 60px 40px 10px 40px;
    background-color: #0f172a;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    transform: translateY(0);
    transition: transform 0.05s linear;
}

/* Central vertical line */
.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #8b5cf6 0%, #a78bfa 50%, #8b5cf6 100%);
    z-index: 0;
}

.timeline-item {
    position: relative;
    margin-bottom: 10px;
    display: flex;
    width: 100%;
    z-index: 1;
    opacity: 0;
    animation: fadeInUp 1s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.timeline-item:nth-child(1) { animation-delay: 0s; }
.timeline-item:nth-child(2) { animation-delay: 0.25s; }
.timeline-item:nth-child(3) { animation-delay: 0.5s; }
.timeline-item:nth-child(4) { animation-delay: 0.75s; }
.timeline-item:nth-child(5) { animation-delay: 1s; }
.timeline-item:nth-child(6) { animation-delay: 1.25s; }
.timeline-item:nth-child(7) { animation-delay: 1.5s; }
.timeline-item:nth-child(8) { animation-delay: 1.75s; }
.timeline-item:nth-child(9) { animation-delay: 2s; }
.timeline-item:nth-child(10) { animation-delay: 2.25s; }

/* Alternate layout for items */
.timeline-item:nth-child(odd) .timeline-content {
    margin-left: 0;
    margin-right: auto;
    width: calc(50% - 35px);
    text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
    margin-right: 0;
    width: calc(50% - 35px);
    text-align: left;
}

.timeline-marker {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.timeline-dot {
    width: 16px;
    height: 16px;
    background-color: #8b5cf6;
    border: 4px solid #0f172a;
    border-radius: 50%;
    box-shadow: 0 0 0 3px #8b5cf6;
    transition: all 0.3s ease;
}

.timeline-dot-future {
    background-color: #a78bfa;
    box-shadow: 0 0 0 3px #a78bfa, 0 0 15px rgba(167, 139, 250, 0.5);
}

.timeline-item:hover .timeline-dot {
    width: 20px;
    height: 20px;
    box-shadow: 0 0 0 3px #8b5cf6, 0 0 20px rgba(139, 92, 246, 0.6);
}

.timeline-content {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.8) 0%, rgba(15, 23, 42, 0.9) 100%);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 30px;
    transition: all 0.3s ease;
}

.timeline-content:hover {
    background: linear-gradient(135deg, rgba(30, 41, 59, 1) 0%, rgba(15, 23, 42, 1) 100%);
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 8px 32px rgba(139, 92, 246, 0.2);
}

.timeline-date {
    font-size: 0.9em;
    color: #a78bfa;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

.timeline-title {
    font-size: 1.5em;
    color: #ffffff;
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
}

.timeline-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1s ease;
}

.timeline-content:hover .timeline-details {
    max-height: 500px;
    opacity: 1;
    margin-top: 12px;
}

.timeline-subtitle {
    font-size: 0.9em;
    color: #8b5cf6;
    font-weight: 500;
    margin-bottom: 12px;
    font-style: italic;
}

.timeline-description {
    font-size: 0.95em;
    color: #cbd5e1;
    line-height: 1.6;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        margin-bottom: 30px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 70px;
        margin-right: 0;
        width: calc(100% - 70px);
        text-align: left;
    }

    .timeline-marker {
        left: 20px;
        width: 50px;
        height: 50px;
    }

    .timeline-dot {
        width: 14px;
        height: 14px;
        border-width: 3px;
    }

    .timeline-content {
        padding: 20px;
    }

    .timeline-title {
        font-size: 1.3em;
    }

    .timeline-description {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .timeline-section {
        padding: 40px 20px;
    }

    .timeline-marker {
        width: 40px;
        height: 40px;
    }

    .timeline-dot {
        width: 12px;
        height: 12px;
    }

    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 60px;
        width: calc(100% - 60px);
    }

    .timeline-title {
        font-size: 1.1em;
    }

    .timeline-description {
        font-size: 0.85em;
    }
}

/* ================================
   FOOTER STYLES
   ================================ */

.footer {
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(10px);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 4rem 3rem 2rem 3rem;
  color: #e2e8f0;
}

@media (min-width: 768px) {
  .footer {
    padding: 5rem 5rem 2rem 5rem;
  }
}

@media (min-width: 1024px) {
  .footer {
    padding: 5rem 8rem 2rem 8rem;
  }
}

@media (min-width: 1280px) {
  .footer {
    padding: 5rem 10rem 2rem 10rem;
  }
}

@media (min-width: 1536px) {
  .footer {
    padding: 5rem 12rem 2rem 12rem;
  }
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
}

/* Footer Grid */
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 3rem;
  }
}

/* Footer Column */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Footer Logo */
.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 40px;
  width: auto;
}

.footer-logo-text {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #8b5cf6;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer Description */
.footer-description {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0;
}

/* Social Media Links */
.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50%;
  color: #8b5cf6;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #8b5cf6;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

/* Footer Heading */
.footer-heading {
  font-family: 'Poppins', sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #8b5cf6;
  transform: translateX(5px);
}

/* Newsletter */
.footer-newsletter-text {
  font-size: 0.95rem;
  color: #cbd5e1;
  margin: 0 0 1rem 0;
  line-height: 1.5;
}

.footer-newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  padding: 0.75rem 1rem;
  background: rgba(30, 41, 59, 0.5);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.newsletter-input:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(30, 41, 59, 0.7);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.newsletter-input::placeholder {
  color: #94a3b8;
}

.newsletter-button {
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.newsletter-button:hover {
  background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Footer Contact */
.footer-contact {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #cbd5e1;
  font-size: 0.95rem;
  margin: 0.5rem 0;
}

.contact-item svg {
  width: 20px;
  height: 20px;
  color: #8b5cf6;
  flex-shrink: 0;
}

.contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #8b5cf6;
}

/* Footer Bottom */
.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.9rem;
  color: #94a3b8;
}

/* Mobile Responsive Footer */
@media (max-width: 640px) {
  .footer {
    padding: 3rem 1.5rem 1.5rem 1.5rem;
  }

  .footer-grid {
    gap: 2.5rem;
  }

  .footer-logo-text {
    font-size: 1.25rem;
  }

  .footer-heading {
    font-size: 1rem;
  }

  .footer-newsletter-form {
    width: 100%;
  }
}

