/* ===== Base Styles & Variables ===== */
:root {
    --primary-color: #5587c5;
    --primary-dark: #2A6EC6;
    --secondary: #2C3E50;
    --primary: #4A90E2;

    --secondary: #2C3E50;
    --accent: #A5C8F5;
    --light: #F9F9F9;
    --dark: #333333;
    --gray: #E0E0E0;
    --primary-light: rgba(85, 135, 197, 0.1);
    --primary-lighter: rgba(85, 135, 197, 0.05);
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --transitions: all 0.4s ease;
  }
  * {
    padding:0;
    margin: 0;
    
    box-sizing: border-box;
}
   
  body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background-color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    
    
}

  
  .navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 10vh;
    padding: 0;
    background-color: #CCDBED;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition);
  }
  
  .navbar.scrolled {
    background-color: #CCDBED;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }
  
  .navbar .container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
   
  }
  
  /* Logo */
  .navbar-brand img {
    height: 200px;
    width: 200px;
    padding-top: 20px;
    object-fit: contain;
  }
  
  /* Menu Items */
  .menu-items {
    display: flex;
    align-items: center;
    gap: 50px;
    font-size: 18px;
    padding-top: 20px;
  }
  
  .menu-items a {
    color: var(--dark);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: var(--transitions);
  }
  
  .menu-items a:hover {
    color: var(--primary-color);
  }
  
  .menu-items a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transitions);
  }
  
  .menu-items a:hover::after {
    width: 100%;
  }
 .request{
    background-color: var(--primary-color);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: bolder;
    cursor: pointer;
    transition: var(--transitions);
    font-size: 20px;
    

  }
 .request:hover{
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);

  }
  
  /* CTA Button */
  .cta-button {
    background-color: var(--primary-color);
    color: white;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    
    border: none;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: bolder;
    cursor: pointer;
    transition: var(--transitions);
    font-size: 20px;
    margin-top: 30px;
    margin-left: 20px;
  }
  
  .cta-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
  }
  
  .nav-cta {
    margin-left: 10px;
  }
  
  
  /* Mobile Menu Toggle */
  .mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--secondary);
    cursor: pointer;
  }


  /* ===== Animation Keyframes ===== */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  @keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
  }
  
  @keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
  }
  
  @keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
  }
  
  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 8px 20px rgba(85, 135, 197, 0.2); }
    50% { transform: scale(1.05); box-shadow: 0 8px 25px rgba(85, 135, 197, 0.3); }
    100% { transform: scale(1); box-shadow: 0 8px 20px rgba(85, 135, 197, 0.2); }
  }
  
  @keyframes pulse-glow {
    0% { box-shadow: 0 0 10px rgba(19, 194, 194, 0.5); }
    100% { box-shadow: 0 0 25px rgba(19, 194, 194, 0.8); }
  }
  
  /* ===== Main Container Styles ===== */
  .container-stage {
    padding-top: 80px;
    max-width: 100%;
    margin: 30px auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
    animation: fadeIn 0.8s ease-out;
  }
  
  /* ===== Progress Bar Styles ===== */
  .progress-container {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    position: relative;
    overflow: hidden;
  }
  
  .progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), #6da8e8);
    width: 33.33%;
    transition: var(--transitions);
    position: relative;
  }
  
  .progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
                    rgba(255,255,255,0.8) 0%, 
                    rgba(255,255,255,0) 50%, 
                    rgba(255,255,255,0.8) 100%);
    animation: shimmer 2s infinite;
    opacity: 0.3;
  }
  
  /* ===== Tab Navigation Styles ===== */
  .tabs {
    display: flex;
    background: var(--primary-lighter);
  }
  
  .tab {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    flex: 1;
    text-align: center;
    padding: 18px 0;
    cursor: pointer;
    transition: var(--transitions);
    font-weight: 600;
    color: #666;
    position: relative;
    letter-spacing: 0.5px;
  }
  
  .tab:hover {
    background: rgba(255,255,255,0.5);
    color: var(--primary-color);
  }
  
  .tab.active {
    color: white;
    background: var(--primary-color);
  }
  
  .tab.active::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid white;
    animation: bounce 0.8s ease-out;
  }
  
  /* ===== Content Section Styles ===== */
  .content-container {
    padding-top: 0;
    position: relative;
    overflow: hidden;
    min-height: 550px;
  }
  
  .content {
    padding: 30px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: var(--transitions);
    will-change: transform, opacity;
  }
  
  .content.slide-in-right {
    animation: slideInRight 0.8s forwards;
  }
  
  .content.slide-in-left {
    animation: slideInLeft 0.8s forwards;
  }
  
  .content.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
  }
  
  .content h2 {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 32px;
    font-weight: 700;
  }
  
  .content p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-bottom: 16px;
    font-size: 20px;
    color: #555;
  }
  
  .content-details {
    background: #cacaca;
    padding: 25px;
    border-radius: 12px;
    margin-top: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-color);
    animation: fadeIn 0.8s 0.2s both;
  }
  
  .content-details p {
    margin-bottom: 12px;
    display: flex;
  }
  
  .content-details strong {
    min-width: 140px;
    display: inline-block;
    color: #444;
  }
  
  .icon-placeholder {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    width: 80px;
    height: 80px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto 30px;
    color: var(--primary-color);
    font-size: 32px;
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(85, 135, 197, 0.2);
    animation: pulse 2s infinite;
  }
  
  /* ===== Flowchart Section Styles ===== */
  .flowchart-section {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
    color: white;
    overflow-x: hidden;
    padding: 20px 0;
  }
  
  .flowchart-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    position: relative;
  }
  
  .flowchart-title {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
  }
  
  .flowchart-title h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, #5587c5, #8bb3f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
  }
  
  .flowchart-title::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #5587c5, transparent);
  }
  
  .flowchart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 60px;
    position: relative;
  }
  
  .flowchart::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, transparent, #5587c5, transparent);
    z-index: 1;
  }
  
  /* ===== Node Styles ===== */
  .node {
    width: 280px;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.1);
    border: 2px solid rgba(85, 135, 197, 0.3);
    background: rgba(15, 30, 60, 0.7);
    backdrop-filter: blur(10px);
  }
  
  .node.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  .node::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    padding: 2px;
    background: linear-gradient(135deg, #5587c5, transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
  
  .node h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #d4e3ff;
    font-size: 1.3rem;
  }
  
  .node p {
    margin: 0;
    color: #b8c7e0;
    line-height: 1.5;
  }
  
  .node.start {
    background: linear-gradient(135deg, rgba(85, 135, 197, 0.2), rgba(15, 30, 60, 0.8));
  }
  
  .node.stage1 {
    background: linear-gradient(135deg, rgba(250, 140, 22, 0.2), rgba(15, 30, 60, 0.8));
  }
  
  .node.stage2 {
    background: linear-gradient(135deg, rgba(255, 122, 69, 0.2), rgba(15, 30, 60, 0.8));
  }
  
  .node.stage3 {
    background: linear-gradient(135deg, rgba(146, 84, 222, 0.2), rgba(15, 30, 60, 0.8));
  }
  
  .node.result {
    background: linear-gradient(135deg, rgba(19, 194, 194, 0.3), rgba(15, 30, 60, 0.8));
    animation: pulse-glow 2s infinite alternate;
  }
  
  /* ===== Connector Styles ===== */
  .connector {
    position: absolute;
    width: 4px;
    background: linear-gradient(to bottom, #5587c5, #7fa5dd);
    z-index: 1;
    opacity: 0;
    transition: all 1s ease-out;
  }
  
  .connector.visible {
    opacity: 1;
  }
  
  .connector.horizontal {
    height: 4px;
    width: 100px;
  }
  
  .connector.curve-right {
    width: 120px;
    height: 80px;
    border-radius: 0 0 60px 0;
    border-right: 4px solid #5587c5;
    border-bottom: 4px solid #5587c5;
    top: 50%;
    right: -120px;
    transform: translateY(-50%);
  }
  
  .connector.curve-left {
    width: 120px;
    height: 80px;
    border-radius: 0 0 0 60px;
    border-left: 4px solid #5587c5;
    border-bottom: 4px solid #5587c5;
    top: 50%;
    left: -120px;
    transform: translateY(-50%);
  }
  
  /* ===== Branch Container Styles ===== */
  .branch-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
    width: 100%;
  }
  
  .branch-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    position: relative;
  }
  
  .branch-node {
    width: 220px;
  }
  
  /* ===== Responsive Styles ===== */
  @media (max-width: 768px) {
    .navbar {
      height: 8vh;
      padding: 0 15px;
      
    }
  
    .navbar .container {
      padding: 0 15px;
    }
  
    .navbar-brand img {
      height: 120px;
      width: 120px;
    }
  
    .menu-items {
      display: none;
      flex-direction: column;
     background-color:black;
     opacity: 1;
     
     position: absolute;
     top: 80px; /* adjust as per your navbar height */
     left: 0;
     width: 100%;
     padding: 20px 0;
     text-align: center;
     z-index: 1000;
    }
    .menu-items a
    {
      color: white;
      padding: 10px 0;
      text-decoration: none;
      border: none;
      background: none;
    }
    .menu-items .request{
      background-color: var(--primary-color);
      border-radius: 10px;
      color: white;
      padding: 10px 10px;
     


    }

   
   


    .menu-items.show {
      display: flex;
    }
  
    .mobile-menu-toggle {
      display: block;
      background: none;
      border: none;
      color: #333;
      font-size: 24px;
      cursor: pointer;
    }
  
    .cta-button, .request {
      padding: 8px 16px;
      font-size: 16px;
      margin-left: 0;
    }
    .content-container{
      padding-top: 0;
    }



    .flowchart-section {
      padding: 20px 0;
  }
  
  .flowchart-container {
      padding: 100px 20px;
  }
  
  .flowchart-title h2 {
      font-size: 2.5rem;
  }
  
  .flowchart::before {
      left: 50%;
      transform: translateX(-50%);
  }
  
  .node {
      width: 280px;
      margin-left: 0;
  }
  
  .branch-container {
      flex-direction: row;
  }
  
  .branch-node {
      width: 220px;
      margin-left: 0;
  }
  
  .connector.vertical {
      left: 50%;
      transform: translateX(-50%);
  }
  
  .branch-container .connector.vertical {
      display: block;
  }
  }