/* Margam AI - Final Stylesheet */
:root {
    --primary-color: #F59E0B; /* Amber */
    --secondary-color: #D97706; /* Darker Amber */
    --accent-color: #ffffff; /* White Text */
    --light-color: rgba(255,255,255,0.05); /* Light Glass */
    --dark-color: #1F2937; /* Charcoal */
}

/* General */
body {
    font-family: 'Inter', sans-serif;
    background: transparent;
    color: var(--accent-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, p, li {
    color: var(--accent-color);
}

/* Global section styles to show global background */
section {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* Section Headings */
.section-heading {
    text-align: center;
    margin-bottom: 3rem;
}
.section-heading h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}
.section-heading p {
    font-size: 1.2rem;
    color: #e5e7eb;
}

/* Navbar */
.navbar {
    background: var(--dark-color) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.navbar-brand {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color) !important;
}
.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    transition: color 0.3s;
}
.nav-link:hover {
    color: #facc15 !important;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    color: var(--dark-color);
    font-weight: 600;
}
.btn-primary:hover {
    background-color: var(--secondary-color);
    color: #ffffff;
}
.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 600;
}
.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: #121212;
}

/* Hero */
.hero {
    padding: 130px 0 100px;
}
.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
}
.hero p {
    font-size: 1.25rem;
}

/* Hero Image */
.hero-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    filter: grayscale(100%);
    transition: 0.3s;
}
.hero-image:hover {
    filter: grayscale(60%);
}

/* Feature, Pricing, Team Cards */
.features, .how-it-works, .pricing, .team {
    padding: 80px 0;
    background: transparent;
}
.feature-card, .step-card, .pricing-card, .team-member {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(6px);
    border-radius: 15px;
    padding: 30px;
    border: 1px solid rgba(245,158,11,0.3);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.feature-card:hover, .step-card:hover, .pricing-card:hover, .team-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
}
.feature-icon, .step-number {
    color: var(--primary-color);
}
.step-number {
    background: var(--primary-color);
    color: var(--dark-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equal-height {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Roadmap SVG */
#roadmap {
    background-color: #0f172a;
    position: relative;
    padding: 80px 0;
    overflow: hidden;
}
#particles-roadmap, #particles-contact {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1F2937;
    top: 0;
    left: 0;
    z-index: 0;
}
#roadmap svg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}

.roadmap-svg-wrapper {
    width: 100%;
    height: 250px;
    position: relative;
}
.roadmap-icon {
    position: absolute;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 120px;
    pointer-events: auto;
    z-index: 2; /* Ensure icons are above the path */
}
.roadmap-icon .step-label.below {
    margin-top: 18px;
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translate(-50%, 0);
    width: max-content;
    white-space: nowrap;
}
.roadmap-steps {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}
.roadmap-step {
    width: 20%;
    pointer-events: auto;
}
.road-pin.transparent {
    background: #1F2937;
    border: none;
    color: #F59E0B;
    font-size: 38px;
    padding: 0;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.8);
    transition: transform 0.2s ease;
    margin: 0 auto;
}
.road-pin.transparent:hover {
    color: #fff;
    transform: scale(1.2);
    text-shadow: 0 0 12px #fff;
}
.step-label {
    margin-top: 10px;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}
@media (max-width: 768px) {
    .roadmap-svg-wrapper {
        height: 400px;
    }
    .roadmap-steps {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        position: static;
        height: auto;
        margin-top: 16px;
    }
    .roadmap-step {
        width: 100%;
        margin-bottom: 24px;
    }
    .roadmap-icon {
        position: static;
        transform: none;
        width: 100%;
        margin-bottom: 24px;
    }
    .roadmap-icon .step-label.below {
        position: static;
        left: auto;
        top: auto;
        transform: none;
        margin-top: 10px;
        width: 100%;
        text-align: center;
    }
}

/* Step Elements */
.road-pin {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    border: 4px solid #0f172a;
    margin: 0 auto;
    z-index: 1;
}
.step-label {
    margin-top: 10px;
    font-size: 16px;
    font-weight: 500;
    color: #f9fafb;
    z-index: 1;
}

/* Pricing */
.pricing-card.featured {
    transform: scale(1.05);
    border: 2px solid var(--primary-color);
}
.pricing-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.pricing-card ul {
    flex-grow: 1;
    margin-bottom: 1.5rem;
}

/* CTA */
.cta {
    background: var(--dark-color);
}

/* Contact Section */
#contact {
    position: relative;
    z-index: 1;
    background-color: transparent;
}

/* Footer */
footer {
    color: #ffffff;
    padding: 60px 0 30px;
    border-radius: 16px 16px 0 0;
  }
  
footer h5 {
    color: var(--accent-color);
}
footer a {
    color: var(--primary-color);
    text-decoration: none;
}
footer a:hover {
    text-decoration: underline;
}
#footer-section {
    min-height: 300px;
    position: relative;
  }
  
.social-links a {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 10px;
}
.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.8rem;
    }
}
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.2rem;
    }
}

/* Fixes */
h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}
.feature-card h3, .step-card h3 {
    color: #ffffff !important;
}
.pricing-card h3, .pricing-card .price, .pricing-card .price span {
    color: #ffffff !important;
}
.cta h2 {
    color: #ffffff;
}
footer p, footer small {
    color: #ffffff;
}
.text-muted {
    color: rgba(255, 255, 255, 0.5) !important;
}
.team-member p.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.95rem;
}
.testimonial-card {
    min-height: 180px;
    max-width: 95%;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
@media (min-width: 992px) {
    .testimonial-card {
        min-height: 180px;
        max-width: 500px;
        font-size: 1.05rem;
    }
}
@media (max-width: 991.98px) {
    .testimonial-card {
        min-height: 120px;
        max-width: 100%;
        font-size: 0.98rem;
    }
}
#testimonials-contact .row.align-items-start > div {
    display: flex;
    flex-direction: column;
    height: 100%;
}
#testimonialCarousel {
    height: 100%;
}
@media (min-width: 992px) {
    #testimonials-contact .row.align-items-start {
        align-items: stretch !important;
    }
}
@media (max-width: 991.98px) {
    .testimonial-card {
        height: auto;
    }
}
.testimonial-card p {
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    position: relative;
    padding-left: 2rem;
  } 
  
  .testimonial-card small {
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-top: 1rem;
    display: block;
    text-align: right;
  }

  #cta-section {
    position: relative;
    background-color: transparent;
    z-index: 1;
  }
  #particles-cta {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #1F2937;
    top: 0;
    left: 0;
    z-index: 0;
  }
  
/* Full-page particles background */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #1F2937;
    z-index: -1;
    top: 0;
    left: 0;
}

  body {
    background: #0F172A;
    font-family: Arial, sans-serif;
    margin: 0;
  }
  .stepper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    padding-top: 40px;
  }
  .step-group {
    align-items: center;
    text-align: left;
    margin-left: -10px;
  }  
  .step {
    text-align: center;
    cursor: pointer;
  }
  .circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #1F2937;
    border: 3px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: 0.3s;
    color: white;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transform-style: preserve-3d;
    perspective: 600px;
    will-change: transform;
    margin-left: 20px;
    margin-bottom: 16px;
  }
  .step.active .circle {
    background-color: #F59E0B;
    border-color: #F59E0B;
    color: #0F172A;
  }
  .label {
    font-weight: bold;
    color: white;
  }
  .desc {
    font-size: 0.85rem;
    color: #cbd5e1;
    width: 120px;
    text-align: center;
  }
  .arrow {
    width: 50px;
    height: 30px;
  }
  .arrow line {
    stroke: #94a3b8;
    stroke-width: 2;
    stroke-dasharray: 6 4;
    transition: 0.3s;
  }
  .arrow.active line {
    stroke: white;
    stroke-dasharray: 0;
  }
  @keyframes float {
    0%, 100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
    50% { transform: translateY(-10px) rotateX(3deg) rotateY(3deg); }
  }