:root {
    --primary: #000000;
    --secondary: #333333;
    --dark: #222222;
    --light: #f9f9f9;
    --accent: #888888;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Poppins, sans-serif;
}

body {
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
}

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

header {
    background-color: var(--white);
    color: var(--primary);
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: -100px;
    transition: top 0.3s;
    z-index: 100;
    border-bottom: 1px solid var(--accent);
}

header.visible {
    top: 0;
}

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

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    height: 40px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

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

.nav-links li {
    margin-left: 30px;
}

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

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

.hero {
    background-color: var(--white);
    color: var(--primary);
    padding: 200px 0 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-logo {
    margin-bottom: 30px;
    max-width: 200px;
    height: auto;
    opacity: 0.9;
}

.hero h1 {
    font-size: 72px;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    font-size: 24px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: var(--secondary);
}

.btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary);
    transform: translateY(-3px);
}

section {
    padding: 100px 0;
}

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

.section-title h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 15px;
}

.section-title p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--secondary);
}

.services {
    background-color: var(--light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

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

.service-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 22px;
}

.service-card i {
    font-size: 40px;
    color: var(--secondary);
    margin-bottom: 20px;
    display: block;
}

.case-studies {
    background-color: var(--white);
}

.case-study-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-btn:hover:not(.active) {
    color: var(--primary);
}

.case-study-content {
    display: none;
}

.case-study-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.case-study-card {
    background-color: var(--light);
    padding: 30px;
    border-radius: 8px;
    margin-bottom: 30px;
    border: 1px solid #eee;
}

.case-study-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 24px;
}

.challenge, .solution, .results {
    margin-bottom: 20px;
}

.challenge h4, .solution h4, .results h4 {
    color: var(--secondary);
    margin-bottom: 10px;
    font-size: 18px;
}

.stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.stat-item {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px 20px;
    border-radius: 6px;
    min-width: 200px;
}

.stat-item h5 {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.stat-item p {
    font-size: 24px;
    font-weight: 700;
}

.about {
    background-color: var(--light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-text h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 36px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--secondary);
}

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

.why-choose-us {
    background-color: var(--white);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
}

.feature-card i {
    font-size: 50px;
    color: var(--secondary);
    margin-bottom: 20px;
}

.feature-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
}

.contact {
    background-color: var(--light);
    color: var(--primary);
    text-align: center;
}

.contact h2 {
    margin-bottom: 20px;
}

.contact p {
    max-width: 700px;
    margin: 0 auto 30px;
    color: var(--secondary);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--secondary);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    transition: border 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--primary);
    outline: none;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

footer {
    background-color: var(--primary);
    color: var(--white);
    padding: 30px 0;
    text-align: center;
}

/* Timeline Styles */
.timeline-container {
    font-family: Helvetica, sans-serif;
    padding: 40px 20px;
    text-align: center;
  }
  
  .timeline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .timeline::before {
    content: '';
    position: absolute;
    top: 25px; /* centers the line on the circles */
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--secondary);
    z-index: 0;
  }
  
  .timeline-item {
    position: relative;
    text-align: center;
    z-index: 1;
    flex: 1 1 25%;
    padding: 10px;
    cursor: pointer;
  }
  
  .timeline-item .circle {
    width: 30px;
    height: 30px;
    background-color: var(--secondary);
    border-radius: 50%;
    margin: 0 auto 8px auto;
    border: 3px solid white;
    box-shadow: 0 0 0 2px var(--secondary);
    transition: transform 0.2s ease;
  }
  
  .timeline-item:hover .circle {
    transform: scale(1.1);
  }
  
  .timeline-item p {
    margin: 0;
    font-size: 0.9rem;
  }
  
  .timeline-text {
    margin-top: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    min-height: 30px;
    transition: opacity 0.3s ease;
  }

@media (max-width: 600px) {
    .nav-links {
        display: none;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-image {
        order: -1;
    }

    .timeline-container {
        padding: 20px 10px;
      }
      
    .timeline {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 40px;
        justify-content: flex-start; /* Align items to the left */
        margin: 0; /* Remove auto margin to stick to left */
        max-width: 100%; /* Take full width */
    }

      .timeline::before {
        visibility: hidden;
      }
      
      .timeline-item {
        flex: 0 0 auto;
        text-align: left;
        padding: 15px 15px 15px 30px;
        min-width: auto;
        width: 100%;
        display: flex;
        align-items: center;
      }
      
      .timeline-item .circle {
        margin: 0 15px 0 -45px;
        position: relative;
        flex-shrink: 0;
        transform: translateX(-10px);
      }
      
      .timeline-item p {
        font-size: 1rem;
        text-align: left;
      }
      
      .timeline-text {
        margin-top: 20px;
        font-size: 1rem;
        padding: 0 10px;
      }
}

  