:root {
    --light-purple: #DED9F6;
    --soft-purple: #C3B4E5;
    --medium-purple: #A083C9;
    --deep-purple: #8058AC;
    --dark-purple: #592986;
    --white: #ffffff;
    --light-gray: #f4f7fc;
    --dark-gray: #333333;
    --text-color: #E0E0E0;
}

[data-theme="dark"] {
    /* Dark theme variables */
    --light-purple: #2D2640;
    --medium-light-purple: #3D2E58;
    --medium-purple: #4D3777;
    --medium-dark-purple: #3A2359;
    --dark-purple: #281A3D;
    --accent-purple: #8A5FFF;
    --text-color: #E0E0E0;
    --bg-color: linear-gradient(135deg, #1D1A2F 0%, #261F3C 100%);
    --card-bg: rgba(30, 30, 40, 0.9);
    --section-bg: linear-gradient(135deg, #261F3C 0%, #372C54 100%);
    --tech-stack-bg: linear-gradient(135deg, #372C54 0%, #3A2359 100%);
    --tech-icon-color: #A083C9;
    --tech-text-color: #E0E0E0;
    --services-bg: linear-gradient(135deg, #261F3C 0%, #372C54 100%);
    --light-gray: #94a3b8;
}

[data-theme="dark"] .hero{
    background: var(--bg-color);
}
[data-theme="dark"] .hero-content{
    color: var(--text-color);
}
[data-theme="dark"] .about-card p{
    color: var(--light-gray);
}
[data-theme="dark"] .about-card h3{
    color: var(--accent-purple);
}

[data-theme="dark"] .hero-btn{
    background-color: var(--soft-purple);
    color: var(--light-purple);
}

[data-theme="dark"] .section-title h2{
    color: var(--accent-purple);
}

[data-theme="dark"] .services-heading{
    color: var(--accent-purple);
}

[data-theme="dark"] .services-intro{
    color: var(--text-purple);
}

[data-theme="dark"] .service-icon-container{
    color: var(--accent-purple);
}

[data-theme="dark"] .service-title{
    color: var(--accent-purple);
}

[data-theme="dark"] .service-text{
    color: var(--light-gray);
}

[data-theme="dark"] .services-footer{
    color: var(--light-gray);
}

[data-theme="dark"] .cta-content h2{
    color: var(--accent-purple);
}

[data-theme="dark"] .landing-tech-icon {
    color: var(--tech-icon-color, rgba(160, 131, 201, 0.3)) !important;
    opacity: 0.15;
  }
  
  [data-theme="dark"] .particle {
    background: rgba(255, 255, 255, 0.1);
  }

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-gray);
    color: var(--dark-gray);
    overflow-x: hidden;
}

header {
    background: linear-gradient(135deg, var(--dark-purple) 0%, #A083C9 100%);
    color: var(--white);
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 0.5rem 0;
    background: rgba(89, 41, 134, 0.95);
    backdrop-filter: blur(10px);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: var(--soft-purple);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--light-purple);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--light-purple);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: var(--white);
    margin: 5px;
    transition: all 0.3s ease;
}

.hero {
    background: linear-gradient(135deg, var(--medium-purple), var(--dark-purple));
    color: var(--white);
    position: relative;
    display: flex;
  align-items: center;
    min-height: 100vh;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: black;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    background-color: var(--light-purple);
    color: var(--dark-purple);
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background-color: var(--white);
}

.hero-background {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    z-index: 1;
    opacity: 0.1;
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  
  .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: floatAnimation 8s infinite ease-in-out;
  }
  
  @keyframes floatAnimation {
  
    0%,
    100% {
        transform: translateY(0) translateX(0);
    }
  
    50% {
        transform: translateY(-20px) translateX(10px);
    }
  }
  
  .landing-tech-icon {
    color: var(--text-color) !important;
    position: absolute;
    opacity: 0.1;
    animation: rotateAnimation 30s linear infinite;
    transition: color 0.3s ease, opacity 0.3s ease;
  }
  
  @keyframes rotateAnimation {
    from {
        transform: rotate(0deg);
    }
  
    to {
        transform: rotate(360deg);
    }
  }

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-purple);
    margin-bottom: 20px;
}

.section-title p {
    font-size: 1.1rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.about-card {
    background-color: var(--light-purple);
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.about-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.about-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--soft-purple), var(--medium-purple));
}

.about-card i {
    font-size: 3rem;
    color: var(--deep-purple);
    margin-bottom: 25px;
}

.about-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--dark-purple);
}

.about-card p {
    color: var(--dark-gray);
    line-height: 1.6;
}


.social-links {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background-color: var(--light-purple);
    color: var(--deep-purple);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--deep-purple);
    color: var(--white);
    transform: translateY(-3px);
}

.timeline-section {
    position: relative;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--soft-purple);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 50px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
    margin-bottom: 30px;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--medium-purple);
    border: 4px solid var(--deep-purple);
    border-radius: 50%;
    top: 15px;
    z-index: 1;
}

.left {
    left: 0;
    text-align: right;
}

.right {
    left: 50%;
    text-align: left;
}

.left::after {
    right: -14px;
}

.right::after {
    left: -14px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--white);
    border-radius: 10px;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

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

.timeline-content h3 {
    color: var(--dark-purple);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.timeline-content span {
    display: block;
    font-size: 0.8rem;
    color: var(--medium-purple);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--dark-gray);
}

.stats-section {
    background: linear-gradient(135deg, var(--soft-purple), var(--medium-purple));
    color: var(--white);
    text-align: center;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.stat-item {
    padding: 20px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 1rem;
    opacity: 0.9;
}

.cta-section {
    padding: 100px 0;
    text-align: center;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2.5rem;
    color: var(--dark-purple);
    margin-bottom: 20px;
}

.cta-content p {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--medium-purple), var(--dark-purple));
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.cta-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}


.legacy-showcase {
    padding: 40px 0;
}

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

.story-layout {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.narrative-column {
    flex: 1;
    min-width: 300px;
}

.visual-column {
    flex: 1;
    min-width: 300px;
}

.visual-column img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.story-headline {
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.story-headline h2 {
    font-size: 36px;
    font-weight: 700;
    color: #666;
    margin-bottom: 10px;
}

.story-headline::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--deep-purple);
}

.narrative-column p {
    font-size: 17px;
    margin-bottom: 20px;
    color: #94a3b8;
}

.origin-date {
    font-weight: 600;
    color: #2c3e50;
}

.key-feature {
    color: var(--dark-purple);
    font-weight: 600;
}

.animate-reveal {
    opacity: 0;
    transform: translateY(20px);
    animation: revealElement 1s forwards;
}

.services-wrapper {
    padding: 30px 0;
  }
  
  .services-heading {
    color: var(--dark-purple);
    margin-bottom: 2rem;
    font-weight: 700;
    font-size: 2rem;
    text-align: center;
  }
  
  .services-intro {
    color: var(--medium-purple);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: center;
  }
  
  .services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
  }
  
  .service-card {
    background-color: var(--light-purple);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
  }
  
  .service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
  }
  
  .service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--medium-purple), var(--deep-purple));
  }
  
  .service-inner {
    padding: 25px;
    text-align: center;
  }
  
  .service-icon-container {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-purple);
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    color: var(--dark-purple);
    font-size: 28px;
    transition: all 0.3s ease;
  }
  
  .service-card:hover .service-icon-container {
    background-color: var(--deep-purple);
    color: var(--white);
  }
  
  .service-title {
    color: var(--dark-purple);
    font-weight: 600;
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }
  
  .service-text {
    color: var(--dark-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }
  
  .service-button {
    background-color: var(--medium-purple);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    text-decoration: none;
    display: inline-block;
  }
  
  .service-button:hover {
    background-color: var(--dark-purple);
    color: var(--white);
    text-decoration: none;
  }
  
  .services-footer {
    margin-top: 2.5rem;
    text-align: center;
    color: var(--dark-gray);
  }
  
  .services-footer a {
    color: var(--deep-purple);
    text-decoration: none;
    font-weight: 600;
  }
  
  /* Responsive Adjustments */
  @media (max-width: 992px) {
    .services-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }
  
  @media (max-width: 768px) {
    .services-grid {
      grid-template-columns: 1fr;
      gap: 20px;
    }
  }

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

@media (max-width: 768px) {
    .story-layout {
        flex-direction: column-reverse;
    }
    
    .story-headline h2 {
        font-size: 28px;
    }
    
    .narrative-column p {
        font-size: 16px;
    }
}

/* Responsive styles */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        margin: 100px;
        text-align: center;
    }

    .section-title h2 {
        font-size: 2rem;
    }

    .timeline::after {
        left: 31px;
    }

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

    .timeline-item.left {
        text-align: left;
    }

    .timeline-item.right {
        left: 0%;
    }

    .left::after,
    .right::after {
        left: 15px;
    }
}

@media (max-width: 768px) {
    

    .hero {
        text-align: center;
        padding: 120px 0 80px;
    }

    .hero-content {
        margin: 100px;
        text-align: center;
    }

    .section {
        padding: 70px 0;
    }
}

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

    .hero-content {
        margin: 100px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }

    .about-card,
    .team-member {
        padding: 25px 20px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.fade-in {
    animation: fadeIn 1s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}
/* Body background fix for dark mode */
[data-theme="dark"] body {
    background-color: #1D1A2F;
    color: var(--text-color);
}

/* Header dark mode adjustments */
[data-theme="dark"] header {
    background: linear-gradient(135deg, var(--dark-purple) 0%, var(--medium-dark-purple) 100%);
}

[data-theme="dark"] header.scrolled {
    background: rgba(40, 26, 61, 0.95);
}

/* Hero button hover state fix for dark mode */
[data-theme="dark"] .hero-btn:hover {
    background-color: var(--accent-purple);
    color: var(--white);
}

/* Timeline dark mode fixes */
[data-theme="dark"] .timeline::after {
    background-color: var(--accent-purple);
}

[data-theme="dark"] .timeline-item::after {
    background-color: var(--medium-dark-purple);
    border-color: var(--accent-purple);
}

[data-theme="dark"] .timeline-content {
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .timeline-content:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .timeline-content h3 {
    color: var(--accent-purple);
}

[data-theme="dark"] .timeline-content p {
    color: var(--text-color);
}

[data-theme="dark"] .timeline-content span {
    color: var(--light-gray);
}

/* Stats section dark mode */
[data-theme="dark"] .stats-section {
    background: linear-gradient(135deg, var(--medium-dark-purple), var(--dark-purple));
}

/* Cards and sections dark mode fixes */
[data-theme="dark"] .about-card {
    background-color: var(--card-bg);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .about-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .about-card:before {
    background: linear-gradient(90deg, var(--medium-dark-purple), var(--accent-purple));
}

[data-theme="dark"] .about-card i {
    color: var(--accent-purple);
}

/* Social links dark mode */
[data-theme="dark"] .social-links a {
    background-color: var(--medium-dark-purple);
    color: var(--accent-purple);
}

[data-theme="dark"] .social-links a:hover {
    background-color: var(--accent-purple);
    color: var(--white);
}

/* CTA button dark mode */
[data-theme="dark"] .cta-btn {
    background: linear-gradient(135deg, var(--medium-dark-purple), var(--dark-purple));
}

[data-theme="dark"] .cta-btn:hover {
    background: linear-gradient(135deg, var(--accent-purple), var(--medium-dark-purple));
}

/* Service cards dark mode */
[data-theme="dark"] .service-card {
    background-color: var(--card-bg);
}

[data-theme="dark"] .service-card::before {
    background: linear-gradient(to right, var(--medium-dark-purple), var(--accent-purple));
}

[data-theme="dark"] .service-icon-container {
    background-color: var(--medium-dark-purple);
}

[data-theme="dark"] .service-button {
    background-color: var(--medium-dark-purple);
}

[data-theme="dark"] .service-button:hover {
    background-color: var(--accent-purple);
}
[data-theme="dark"] .origin-date {
    color: var(--accent-purple) !important;
    font-weight: 600;
}

/* Optional: You can also enhance the key-feature class for better consistency */
[data-theme="dark"] .key-feature {
    color: var(--accent-purple) !important;
    font-weight: 600;
}

/* Story headline color fix for dark mode */
[data-theme="dark"] .story-headline h2 {
    color: var(--text-color);
}

/* Visual column image styling for dark mode */
[data-theme="dark"] .visual-column img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}