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

:root {
    --primary: #4B3F72;
    --secondary: #F45B69;
    --space: #0A1128;
    --text: #ffffff;
}

body {
    background: linear-gradient(to right, #003a80, #6436ed);
    color: var(--text);
    overflow-x: hidden;
    height: 40vh;
}

#code-loader {
    position: fixed;
    inset: 0;
    background: #0d0d0d;
    color: #00ff00;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: left;
  }
  
  #typing-area {
    white-space: pre-wrap;
    line-height: 1.5;
    max-width: 90%;
  }
  

/* Navbar */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to bottom, rgba(10, 17, 40, 1), rgba(10, 17, 40, 0));
    padding: 1rem;
    z-index: 1000;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo svg {
    color: var(--secondary);
}
.logo-text {
    color: var(--text);
}

 /* Nav Bar Effect */
 #navbar {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 1rem;
    background: transparent;
    transition: background 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  }
  
  #navbar.scrolled {
    background: linear-gradient(to right, #5050f9, #031694); /* Light blue-green */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  }

  


.nav-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-links button {
    background: none;
    border: none;
    color: var(--text);
    padding: 0.5rem 1rem;
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s;
}

.nav-links button:hover {
    color: var(--secondary);
}

.cta-button {
    background-color: var(--secondary) !important;
    border-radius: 0.375rem;
}

.cta-button:hover {
    background-color: #d14050 !important;
    color: var(--text) !important;
}

/* Dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: var(--space);
    min-width: 200px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    border-radius: 0.375rem;
    z-index: 1;
}

.dropdown-content a {
    color: var(--text);
    padding: 0.75rem 1rem;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s;
}

.dropdown-content a:hover {
    background-color: var(--primary);
}

.dropdown:hover .dropdown-content {
    display: block;
}


/* REQUEST QUOTE */

.modal {
    display: none;
    position: fixed;
    z-index: 99;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
  }

  .modal-content {
    color: #000;
    background-color: #fff;
    margin: 10% auto;
    padding: 2rem;
    border: 1px solid #ccc;
    width: 90%;
    max-width: 400px;
    border-radius: 8px;
    position: relative;
  }

  .modal-content input,
  .modal-content textarea,
  .modal-content select {
    width: 100%;
    padding: 0.8rem;
    margin: 0.5rem 0;
    border: 1px solid #ccc;
    border-radius: 6px;

  }

  .modal-content button {
    background-color: #2653ce;
    color: white;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 6px;
    cursor: pointer;
  }

  .modal-content button:hover {
    background-color: #1d3aa5;
  }

  .close {
    position: absolute;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #aaa;
  }

  .close:hover {
    color: black;
  }


/* Hero */
.hero {
    position: relative;
    background: linear-gradient(to right, #0f0c29, #302b63, #24243e);
    color: white;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10rem 1rem;
  }

  a {
    color: var(--text);
    text-decoration: none;
  }

  .bubble {
    position: absolute;
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(0, 123, 255, 0.7), rgba(0, 123, 255, 0.3));
    border-radius: 50%;
    pointer-events: none;
    transition: transform 0.1s linear;
    opacity: 70%;
  }
  
  .bubble1 { top: 10%; left: 15%; }
  .bubble2 { top: 30%; right: 20%; }
  .bubble3 { bottom: 25%; left: 25%; }
  .bubble4 { bottom: 10%; right: 10%; }

  .hero h1 {
    font-size: 4rem;
  }
  .breadcrumb {
    margin-top: 0.5rem;
    font-size: 1rem;
  }
  .breadcrumb span {
    color: #ff9933;
  }
  
  

/* Services Section */
.services {
    padding: 5rem 2rem;
    background: linear-gradient(to bottom, var(--space) 0%, #1C1C54 100%);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background-color: rgba(28, 28, 84, 0.6);
    backdrop-filter: blur(8px);
    padding: 2rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(75, 63, 114, 0.3);
    transition: all 0.3s;
}

.service-card:hover {
    border-color: rgba(244, 91, 105, 0.3);
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: #9CA3AF;
}


  #rocketBtn {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    font-size: 28px;
    background-color: #0c1a2b;
    color: white;
    border: none;
    outline: none;
    padding: 14px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: none; /* Hidden by default */
    transition: transform 0.3s ease;
  }
  
  #rocketBtn:hover {
    transform: translateY(-10px);
    background-color: #1c2e4a;
  }

  @keyframes rocket-launch {
    0% {
      transform: translateY(0);
      opacity: 1;
    }
    100% {
      transform: translateY(-300px) scale(1.2);
      opacity: 0;
    }
  }
  
  #rocketBtn.launch {
    animation: rocket-launch 2s forwards;
  }
  

  /* Footer */
footer {
    background-color: var(--space);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(75, 63, 114, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section p {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(75, 63, 114, 0.3);
    color: #9CA3AF;
}

.fot-link{
    color: var(--secondary);
    text-decoration: none;
}

.fot-link:hover{
    color: var(--text);
    text-decoration: underline;
}

/* Mobile Menu */
#mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Media Queries */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    #mobile-menu-btn {
        display: block;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

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

    .hero-content p {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .astronaut {
        width: 350px;
    }

    .planet1, .planet2 {
        width: 230px;
        height: 230px;
    }

    .why-content{
        margin-top: 0%;
    }
}
  /* Necessary CSS for the sub-page upto here */


  /* Branding Start  */
  .servicess-container {
  
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}

.servicess-header {
    text-align: center;
    margin-bottom: 60px;
}

.servicess-header h1 {
    font-size: 2.8rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.servicess-header p {
    color: #636e72;
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.servicess-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
}

.servicess-content {
    flex: 1;
    padding: 20px;
}

.servicess-image {
    flex: 1;
    width: 150px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #dcc5cf;
}

.lottie-animation {
    width: 100%;
    height: 100%;
    max-width: 400px;
}

h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
}

h2:after {
    content: '';
    position: absolute;
    width: 60px;
    height: 4px;
    background: var(--accent);
    bottom: -10px;
    left: 0;
}

p {
    color: #636e72;
    font-size: 1rem;
    line-height: 1.6;
}

.services-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary);
    font-size: 1.2rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--dark);
}

.feature-text p {
    color: #636e72;
    font-size: 0.95rem;
}

.process-steps {
    margin-top: 40px;
}

.process-step {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    padding-left: 40px;
}

.step-number {
    position: absolute;
    left: 0;
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

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

.step-content p {
    color: #636e72;
}

.lottie-animation {
    width: 80%;
    height: 80%;
    max-width: 400px;
}

@media (max-width: 992px) {
    .process-step, .step-even {
        flex-direction: column;
    }
    
    .step-image {
        width: 100%;
        min-height: 300px;
        order: -1;
    }
}

@media (max-width: 992px) {

    .element.style { 
        flex-direction: column;
    }

    
    .servicess-image {
        flex-direction: column-reverse;
        width: 100%;
        min-height: 300px;
        order: -1;
    }
    
    .servicess-features {
        grid-template-columns: 1fr;
    }
}