* {
    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%;
    }
}

.why-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937; /* gray-800 */
  align-items: center;
  text-align: center;
  padding-bottom: 0%;
}
  /* Necessary CSS for the sub-page upto here */


  /* Web Maintainan  */
/* Base layout */
.why-section {
  padding: 4rem 1.5rem;
  background-color: white;
}

.why-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2.5rem;
  align-items: start;
}

.why-container {
  width: 100%;
}

.why-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.why-paragraph {
  color: #333;
  line-height: 1.6;
}

.why-list {
  color: #000;
  list-style: circle;
  margin-left: 40px;
}

.why-animation {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.card {
  background: white;
  padding: 1.5rem;
  color: #000;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
  border-top: 4px solid #2653ce;
  border-radius: 8px;
}


@media (min-width: 768px) {

  .why-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 460px) {
  .hero h1 {
        font-size: 2rem;
      }

  .why-wrapper {
    display: flex;
    flex-direction: column;
  }
  
}

/* Left content */
.why-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.why-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937; /* gray-800 */
}

.why-paragraph {
  color: #4b5563; /* gray-600 */
  line-height: 1.75;
}

/* Button */
.why-button {
  background-color: #2563eb; /* blue-600 */
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 9999px;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.why-button:hover {
  background-color: #1d4ed8; /* blue-700 */
}

/* Animation area */
.why-animation {
  display: flex;
  justify-content: center;
}

.why-animation lottie-player {
  width: 100%;
  max-width: 400px;

}



/* contact page  */

.container {
  max-width: 100%;
  margin: 0 auto;
  padding: 40px 20px;
  background: #ffffff;
}

/* Contact Header Section */
.contact-header {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 60px;

}

.contact-info {
  flex: 1;
  min-width: 300px;
}

.contact-image {
  flex: 1;
  width: 200px;
  height: 400px;
  margin: 0 auto;
  /* border: 1px solid #000000; Visual boundary */
}

.contact-image img {
  height: 400px;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

h2 {
  color: #2a2a72;
  font-size: 2.5rem;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
}


.info-item {
  margin-top: 50px;
  margin-left: 100px;
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  gap: 55px;
  color: var(--space);
  font-size: 2rem;
}

.info-item:hover {
  color: #5d04a1;
}

.info-item i {
  color: #5d04a1;
  font-size: 2.5rem;
  width: 30px;
  text-align: center;
}

.info-item i:hover {
  color: var(--secondary);
}

/* Contact Form Section */
.contact-form-section {
  background: #f8f9ff;
  padding: 60px 0;
}

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

.contact-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

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

.form-group.full-width {
  grid-column: span 2;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #2a2a72;
}

input, textarea, select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border 0.3s ease;
}

input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4e54c8;
  box-shadow: 0 0 0 3px rgba(78, 84, 200, 0.1);
}

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

.submit-btn {
  background: #4e54c8;
  color: white;
  border: none;
  padding: 14px 30px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
  grid-column: span 2;
  justify-self: center;
  width: 200px;
}

.submit-btn:hover {
  background: #3a40b0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .contact-form {
      grid-template-columns: 1fr;
  }
  
  .form-group.full-width {
      grid-column: span 1;
  }
  
  .submit-btn {
      grid-column: span 1;
      width: 100%;
  }
  .contact-header {
    margin-left: 0;
    margin-top: 20px;
    font-size: 1.5rem;
    display: flex;
    flex-direction: column-reverse;
  }

  .contact-info {
    margin-left: 0;
    margin-bottom: 20px;
  }

  h2{
    font-size: 1.25rem;
    margin-bottom: 20px;
  }

  .info-item{
    font-size: 1.1rem;
    margin-left: 0;
    margin-top: 10px;
  }

  .info-item i{
    font-size: 1.1rem;
  }
  
}


/* client pages */

.client-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

}

.client-item {
  background: var(--space);
  text-align: center;
  padding: 20px;
  border-bottom: 1px solid #000679;
}


.client-item:last-child {
  border-bottom: none;
}

.client-logo {
  max-width: 180px;
  max-height: 80px;
  margin-bottom: 15px;
}

.client-name {
  font-weight: bold;
  font-size: 1.3rem;
  color: #ffffff;
}



@media (min-width: 768px) {
  .client-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
  }
  
  .client-item {
      border-bottom: none;
      padding: 25px;
      background: var(--space);
      border-radius: 8px;
      transition: transform 0.3s ease;
  }
  
  .client-item:hover {
      transform: translateY(-5px);
      background: #29007c;
  }
}
