@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

:root {
  --navbar-height: 140px; /* Adjust this value to match your navbar's height */
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html, body {
  scroll-behavior: smooth;
  font-family: 'Inter', sans-serif;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

p {
    font-weight: 300;
    line-height: 1.2;
}

header {
  position: relative; /* Position for pseudo-element */
  padding: 2rem;
  color: #fff; /* Text color for better visibility */
  overflow: hidden; /* Ensures pseudo-element stays within bounds */
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/images/dashboard.png');
  object-fit: cover;
  object-position: center;
  background-size: cover; /* Ensures the image covers the entire background */
  background-position: center; /* Center the image */
  filter:drop-shadow(10px); /* Blurs the background image */
  z-index: -10; /* Places the pseudo-element behind the text */
  opacity: 2; /* Fully visible background image */
}

.container {
    max-width: 1150px;
    margin: auto;
    padding: 0 1rem; /* Added padding for better layout on smaller screens */
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #000;
  padding: 1rem 0;
}

section {
  scroll-margin-top: var(--navbar-height); /* Prevent the navbar from overlapping section headers */
}

.nav-items {
  max-width: 1150px;
  margin: auto;
  display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    background: #000;
    padding: 1.rem;
    border-radius: 50px;
    height: 100%;
}

.nav-items a {
  color: #fff;
}

.logo img {
    width: 120px;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.nav-link {
    margin-left: 1.6rem;
    font-family: 'Lexend', sans-serif;
    font-weight: 300;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: #ccc;
}

.btn {
    padding: 0.85rem 1.6rem;
    background: #8a8a8a;
    border-radius: 50px;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background: #007bff;
    color: #fff;
}

.btn-primary:hover {
    background: #00c5e6;
    color: #fff;
}

.btn-secondary {
    background: #000;
    color: #fff;
}

.hero {
    margin: 5rem 15rem 0 0;
}

.hero-heading {
    font-size: 3rem;
    font-weight: 600;
}

.hero-subheading {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    margin-top: 2rem;
}

.buttons {
    display: flex;
    align-items: center;
    justify-content: start;
    gap: 1rem;
    margin: 3rem 0 5rem 0;
}

/* Service */

.services-section {
    background-color: #fff;
    color: #333;
    margin-top: 8rem;
  }
  
  .services-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 4rem;
  }
  
  .text-container {
    display: flex;
    gap: 40px;
  }
  
  .services-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin: 0;
  }
  
  .services-header p {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
    margin: 0;
    max-width: 600px; /* Keeps text aligned */
  }
  
  .services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    justify-content: space-between;
}
  
  .service-item {
    flex: 1 1 calc(25% - 20px); /* Four items in a row */
    border: solid 0.1rem #e0e0e0;
    border-radius: 8px;
    padding: 1rem;
  }
  
  .service-icon {
    background: #007bff;
    height: 100px;
    border-radius: 50%;
  }
  
  .service-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    font-weight: bold;
    color: #000;
  }
  
  .service-item p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
  }

  /* CTA */

  .get-started-section {
    color: white;
    margin-top: 8rem;
  }
  
  .content-container {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensures responsiveness */
    padding: 40px;
    gap: 20px;
    background-color: #4B005A; /* Dark purple */
    border-radius: 2rem;
  }
  
  .text-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    max-width: 500px;
  }

  .text-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    margin: 0 0 20px;
    line-height: 1.2;
    font-family: 'Inter', sans-serif;
  }
  
  .text-content p {
    font-size: 1rem;
    line-height: 1.5;
    margin: 0 0 30px;
    font-family: 'Inter', sans-serif;
  }
 
  .cta-button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: normal;
    transition: background-color 0.3s ease;
  }
  
  .cta-button:hover {
    background-color: #00c5e6;
  }
  
  .image-container {
    flex: 1;
    text-align: center;
    max-width: 600px; /* Optional: Control the max width of the div */
    height: auto; /* Automatically adjust height */
    overflow: hidden; /* Ensures the image does not overflow the div */
  }
  
  .image-container img {
    width: 100%; /* Make the image fit the div width */
    height: auto; /* Maintain aspect ratio */
    object-fit: cover; /* Ensures the image fills the div without stretching */
    border-radius: 10px; /* Optional: Adds rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Optional: Adds shadow */
  }

  /* Tech Stack */
  
  .tech-section {
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 40px;
    margin-top: 8rem;
    background-color: #fff;
    color: #333;
  }
  
  .tech-text {
    flex-direction: column;
    min-width: 200px;
    line-height: 1.2;
  }

  .tech-text h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
  }

  .btn-work {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 15px 30px;
    margin-top: 2rem;
    font-size: 1rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: normal;
    transition: background-color 0.3s ease;
  }

  .btn-work:hover {
    background: #00c5e6;
  }
  
  .tech-icons {
    display: flex;
    flex-wrap: wrap; /* Ensures responsiveness */
    gap: 40px;

  }
  
  .tech-category h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    font-weight: bold;
  }
  
  .icon-row {
    display: flex;
    gap: 15px;
  }
  
  .icon-box {
    width: 65px;
    height: 65px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .icon-box img {
    max-width: 35px;
  }

  /* Benefits */

  .benefits-section {
    background-color: #f0f0f0;
    color: #333;
    padding: 2rem;
    margin: 8rem 0;
    border-radius: 2rem;
  }
  
  .benefits-header {
    margin-bottom: 50px;
    text-align: center;
  }
  
  .benefits-header h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #000;
    margin: 0;
  }
  
  .benefits-header p {
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    color: #555;
    margin: 0;
    max-width: 600px; /* Keeps text aligned */
  }
  
  .benefits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
  }
  
  .benefit-item {
    flex: 1 1 calc(25% - 20px); /* Four items in a row */
    border-radius: 8px;
  }
  
  .icon {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #000;
  }
  
  .benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: bold;
    color: #000;
  }
  
  .benefit-item p {
    font-size: 0.85rem;
    font-weight: 400;
    line-height: 1.5;
    color: #555;
  }

  /* Process */

  .dev-process-section {
    text-align: center;
    background-color: #fff;
    margin-bottom: 6rem;
    padding: 2rem; /* Add padding for better spacing */
  }
  
  .dev-process-title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 4rem;
    color: #333;
  }
  
  .dev-process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Center align steps */
    align-items: flex-start; /* Ensure steps align at the top */
    gap: 2rem; /* Add more spacing for better alignment */
  }
  
  .dev-step {
    text-align: center;
    flex: 1 1 1 100px; 
    max-width: 300px; /* Allow for slightly larger steps */
  }
  
  .dev-step .dev-icon-container {
    width: 100px;
    height: 100px;
    border: 0.1rem solid #007bff;
    background-color: #9fcaff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 15px; /* Add more spacing between icon and text */
  }
  
  .dev-step .dev-icon-container img {
    width: 50px; /* Increase icon size */
    height: 50px;
  }
  
  .dev-step .dev-step-title {
    font-size: 1.1rem; /* Slightly larger font for better readability */
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
  }
  
  .dev-step .dev-step-duration {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 1rem;
  }
  
  .dev-step .dev-step-description {
    font-size: 0.8rem;
    color: #5e5e5e;
    line-height: 1.2; /* Improve text readability */
  }
  
  /* .dev-process-steps .dev-arrow {
    width: 10px;
    height: 1px;
    background-color: #fff;
    transform: rotate(0deg);
    margin: 0 10px; 
  } */
  

/* Portfolio */

/* Portfolio Section */
.portfolio-section {
  margin-bottom: 6rem;
  text-align: center;
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns:  repeat(3, 1fr);
  gap: 20px;
}

/* Portfolio Items */
.portfolio-item {
  border: 0.1rem solid #ccc;
  background: #fff;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  transition: transform 0.3s ease;
}

/* Portfolio Header */
.portfolio-header h2 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.portfolio-header p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 4rem;
}

.portfolio-item:hover {
  transform: translateY(-5px);
}

.portfolio-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  margin-bottom: 25px;
}

.portfolio-item p {
  font-size: 1rem;
  font-weight: normal;
  color: #333;
  margin-bottom: 1.5rem;
}

.portfolio-item .btn-more {
  font-size: 0.75rem;
  background: #fff;
  border: 0.1rem solid #000;
  color: #000;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

/* FAQ */

.faq-section {
  margin-bottom: 6rem;
  padding: 2rem 0;
}

.faq-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 6rem;
  color: #333;
}

.faq-accordion {
  max-width: 1150px;
  margin: 0 auto;
  border: 0.1rem solid #ccc;
  border-radius: 2rem;
  background: #fff;
}

.faq-item {
  border-bottom: 0.1rem solid #ddd;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  width: 100%;
  text-align: center;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: #f1f1f1;
}

.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 1rem;
  display: none;
  background: #f9f9f9;
  font-size: 0.95rem;
  color: #555;
}

.faq-item.active .faq-answer {
  display: block;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

  /* How it works */

  .how-it-works {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 8rem;
    border:0.2rem solid #eeeeee;
    padding: 2rem;
    border-radius: 2rem;
  }

  .process-steps {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: space-between;
    flex: 1;
    max-width: 500px;
  }

  .process-steps h2 {
    font-size: 2rem;
    margin-bottom: 4rem;
  }

  .step h3 {
    margin-bottom: 1rem;
    font-weight: normal;
  }

  .step p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .contact-info {
    margin-top: 2rem;
  }

  .contact-info, .email, .phone{
    font-size: 1rem;
    margin-bottom: 0.2rem;
  }

  .btn-cta {
    margin-top: 2rem;
    background-color: #007bff;
    color: #fff;
    transition: background-color 0.3s ease;
  }

  .btn-cta:hover {
    background: #00c5e6;
  }

  .form {
    flex: 1;
    margin: 0 auto;
    padding: 2rem;
    font-family: Arial, sans-serif;
    background: #fff;
    border: solid 0.1rem #ccc;
    border-radius: 10px;
}

/* Form group styling */
.form-group {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
}

/* Label styling */
.form-group label {
    margin-bottom: 5px;
    color: #333;
}

/* Input and textarea styling */
.form-group input,
.form-group textarea {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

/* Focus state for input and textarea */
.form-group input:focus,
.form-group textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Button styling */
button[type="submit"] {
    padding: 0.85rem 1.8rem;
    border: none;
    border-radius: 5px;
    background-color: #007bff;
    border-radius: 50px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 2rem;
}

/* Hover state for button */
button[type="submit"]:hover {
    background-color: #00c5e6;
}

/* Footer */

.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 20px;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1150px;
    margin: 0 auto;
  }
  
  .footer-section {
    flex: 1 1 calc(25% - 20px);
    margin: 10px;
  }
  
  .footer-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 10px;
  }
  
  .footer-text {
    font-size: 0.8565rem;
    line-height: 1.5;
  }
  
  .footer-heading {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  .footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-links li {
    margin: 5px 0;
  }
  
  .footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 300;
    font-size: 0.85rem;
  }
  
  .footer-icons {
    display: flex;
    gap: 10px;
  }

  .footer-icon {
    width: 30px;
    height: 30px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.5s ease;
  }

  .footer-icon:hover {
    background-color: #007bff;
  }

  .footer-icon img {
    width: 16px;
  }
  
  .footer-divider {
    border: 0;
    border-top: 0.1rem solid #666;
    margin: 40px 0;
  }
  
  .footer-bottom {
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
  }
 
/* Mobile */

@media screen and (max-width: 960px) {

    header {
        padding: 0;
    }

    .container {
        padding: 0 1rem; /* Ensure content does not touch screen edges */
    }

    .nav-items {
        padding: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        display: none; /* Adjust for hamburger menu functionality later */
    }

    .hero {
        margin: 2rem 0;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 0.85rem;
    }
}

@media screen and (max-width: 768px) {

    
    header {
        padding: 2rem 0;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-items {
        padding: 0.2rem 1rem;
    }

    .logo img {
      width:120px;
  }
  

    .nav-links {
        display: none;
    }

    .hero {
        margin-top: 4rem;
        text-align: center;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 0.85rem;
    }

    .buttons {
        flex-direction: column;
        gap: 0.5rem; /* Align buttons vertically for smaller screens */
    }

    .services-header h1 {
        font-size: 1.5rem;
      }
    
      .services-header p {
        font-size: 0.9rem;
      }
    
      .service-item h3 {
        font-size: 1rem;
      }
    
      .service-item p {
        font-size: 0.95rem;
      }
       
      .text-container {
        flex-direction: column;
      }

      .services-list {
        flex-direction: column;
      }

      .benefits-list {
        flex-direction: column;
      }

      .content-container {
        flex-direction: column; /* Stacks content vertically */
        text-align: center;
      }
    
      .text-content {
        margin-bottom: 20px;
      }

      .form {
        padding: 15px;
    }

    button[type="submit"] {
        width: 100%;
        font-size: 14px;
    }

    .how-it-works {
        flex-direction: column;
      }
      
      .form {
        margin: 0;
        padding: 2rem;
        width: 100%;
      }
      
      .container {
        flex-direction: column;
        align-items: center;
      }
    
      .footer-section {
        flex: 1 1 100%;
        text-align: center;
        margin: 20px 0;
      }
    
      .footer-icons {
        justify-content: center;
      }

      .dev-process-steps {
        flex-direction: column;
        align-items: center;
      }
    
      .dev-process-steps .dev-arrow {
        transform: rotate(0);
        width: 40px;
        height: 2px;
      }

      .portfolio-grid {
        grid-template-columns: repeat(3, 1fr);
      }

      .portfolio-grid {
        grid-template-columns: 1fr; /* Adjust to even smaller columns for small screens */
      }
}
