@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Orbitron:wght@400..900&display=swap');
body {
    margin: 0;
    padding: 0;
    background-color: #0b0b0c;
    color: #00ff00; /* Green text */
}

/*Apply Orbitron to headings*/
h1, h2, h3, h4, h5, h6, .bn31span, .cta-button, nav, .btn, .ccc, .counter {
    font-family: "Orbitron", sans-serif;
}
/*Apply system font stack to body text */
body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

/* Make scrollbar transparent */
body::-webkit-scrollbar {
    width: 10px; /* Width of the scrollbar */
}

body::-webkit-scrollbar-track {
    background: transparent; /* Transparent background */
}

body::-webkit-scrollbar-thumb {
    background: transparent; /* Transparent thumb */
}

.container {
    width: 80%;
    margin: 0 auto;
    padding: 20px;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    padding-bottom: 5px;
    position: fixed;
    z-index: 1000;
    top: 0; /* Align to the top of the viewport */
    width: 100%;
}
    
header .container {
    display: flex;
    justify-content: space-between;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    backdrop-filter: blur(5px); /* Apply blur effect */
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

header h1 {
    margin: 0;
    color: #00FF00;
    text-transform: uppercase;
}

/* Navigation styles */
nav {
    position: relative;
}

nav ul {
    list-style-type: none;
    padding: 0;
}

nav ul li {
    display: inline;
    margin-right: 20px;
}

nav ul li a {
    color: #00FF00; /* Green links */
    text-decoration: none;
    position: relative;
    padding: 5px 0;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: #00FF00; /* Green underline */
    transition: width 0.4s ease, right 0.4s ease;
}

nav ul li a:hover::after {
    width: 100%;
    right: 0;
}

/* Styles for mobile menu toggle button */
.mobile-menu-toggle {
    display: block; /* Display the toggle button */
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
    cursor: pointer;
    z-index: 1001;
}

.bar {
    width: 30px;
    height: 3px;
    background-color: #0b0b0c;
    margin: 6px 0;
    transition: 0.4s; /* Add transition for smooth animation */
}


/* Change to "X" shape when menu is active */
.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.active .bar:nth-child(2) {
    opacity: 0;
}

.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: #00FF00;
    margin: 5px 0;
}

/* Styles for mobile menu toggle button */
.mobile-menu-toggle {
    display: none; /* Hide by default */
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block; /* Display on mobile devices */
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        right: 20px;
        cursor: pointer;
        z-index: 1001;
    }

    .mobile-menu {
        display: none; /* Hide the mobile menu by default */
        position: absolute;
        top: 100%;
        right: 0;
        background-color: rgba(0, 0, 0, 0.765); /* Semi-transparent background */
        backdrop-filter: blur(5px); /* Apply blur effect */
        width: 100%;
    }

    .mobile-menu.active {
        display: block; /* Show the mobile menu when active */
    }

    .mobile-menu ul {
        list-style-type: none;
        padding: 0;
        display: flex; /* Display list items in a column */
        flex-direction: column; /* Display list items vertically */
    }

    .mobile-menu ul li {
        margin: 10px 0;
    }

    .mobile-menu ul li a {
        color: #00FF00;
        text-decoration: none;
        padding: 10px 0;
    }
}

.section {
    padding: 40px 0;
    opacity: 0;
}

.about-content {
    display: flex;
    align-items: center;
    margin-top: 70px;
}

.about-image {
    flex: 1;
}

.about-image img {
    max-width: 100%;
    height: auto;
    border-radius: 50%;
}

.about-text {
    flex: 2;
}

.bn31 {
    background-image: linear-gradient(to right, #00FF00 0%, #00FF00 100%);
    border-radius: 40px;
    box-sizing: border-box;
    color: #00FF00;
    display: block;
    height: 50px;
    font-size: 1.4em;
    padding: 4px;
    position: relative;
    text-decoration: none;
    width: 100%;
    z-index: 2;
}
  
.bn31:hover {
    color: #0b0b0c;
}
  
.bn31 .bn31span {
    align-items: center;
    background: #0e0e10;
    border-radius: 40px;
    display: flex;
    justify-content: center;
    height: 100%;
    transition: background 0.5s ease;
    width: 100%;
}
  
.bn31:hover .bn31span {
    background: transparent;
}

.button-container {
    display: flex;
    gap: 15px; /* Space between buttons */
    margin-top: 20px; /* Adjust as needed */
}

.button-container .bn31 {
    flex: 1; /* Make buttons equal width */
    text-align: center;
}

/* Ensure buttons stack on smaller screens */
@media (max-width: 600px) {
    .button-container {
        flex-direction: column;
    }
}
.counter-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 10px 10px;
    margin-top: -100px;
    margin-bottom: -100px;
    position: relative;
}

.counter {
    text-align: center;
    position: relative;
    margin-bottom: 0.5rem;
}

.counter .count {
    font-size: 5rem;
    margin-bottom: -15px;
}

.counter p {
    font-size: 1.4rem;
    font-weight: 700;
}
@media (max-width: 768px) {
    .counter .count {
        font-size: 3.5rem;
    }

    .counter p {
        font-size: 1rem;
    }
}
@media (max-width: 365px) {
    .counter .count {
        font-size: 3rem;
    }

    .counter p {
        font-size: 0.8rem;
    }
}

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

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr; /* stack on mobile */
  }
}

.service {
  background-color: #0b0b0c;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #1a1a1a;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0, 255, 0, 0.25); /* subtle lift */
}

.service img {
    max-width: 80px;
    margin-bottom: 15px;
}

.service h3 {
    margin-top: 0;
    color: #00FF00; /* Green text */
}

.service p {
    margin-bottom: 15px;
}

#services h2 {
    text-align: center;
}

.service-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
  flex-wrap: wrap; /* keeps buttons from breaking on small screens */
}

.service-buttons .cta-button {
    width: auto; /*reset so that they can sit side by side*/
    text-align: center;
}

.cta-button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #00FF00; /* Green button */
    color: #0b0b0c; /* Black button text */
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    width: 95%;
    border: 2px solid #00ff00;
}

.cta-button:hover {
    background: transparent;
    color: #00ff00;
}

/* Primary solid button */
.cta-button.learn {
  background: #00ff00;
  color: #000;
  border: 2px solid #00ff00;
}

/* Secondary outlined button */
.cta-button.hire {
  background: transparent;
  border: 2px solid #00ff00;
  color: #00ff00;
}

/* Hover states */
.cta-button.learn:hover {
  background: transparent;
  color: #00ff00;
}

.cta-button.hire:hover {
  background: #00ff00;
  color: #000;
}

footer {
    background-color: transparent;
    padding: 20px 0;
    text-align: center;
}

/* Media query for mobile view */
@media only screen and (max-width: 768px) {
    .about-content {
        flex-direction: column; /* Stack items vertically */
        text-align: center;
    }

    .about-image,
    .about-text {
        flex: none; /* Reset flex property to its initial value */
    }

    .about-image {
        margin-bottom: 20px; /* Add some spacing between the image and text */
    }

    .bn31 {
        margin: 0 auto; /* Center horizontally */
        display: block; /* Ensure it takes up the full width */
    }
}

/*Top Projects Section*/
.project-card {
    background-color: #0b0b0c;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    text-align: center; /* Center align the contents */
    opacity: 0; /* Initial state for animation */
    border: 1px solid #00ff00;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.project-card:hover {
  box-shadow: 0 0 20px #00ff00, 0 0 40px #00ff00 inset;
  transform: scale(1.03); /* subtle zoom */
}

.project-card h3 {
    margin-bottom: 10px;
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}


.project-card p {
    margin-bottom: 10px;
}

.project-card img {
  width: 100%;
  display: block;
  border-radius: 5px;
  transition: opacity 0.3s ease;
  opacity: 0.85; /* slightly darkened */
}

.project-card:hover img {
  opacity: 1; /* full brightness on hover */
}

.project-card a {
    width: 90%;
    padding: 10px 10px;
    display: inline-block;
    align-items: center;
}

.projects {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px; /* Add spacing between project cards */
}

.cta-button.project {
  background: #00ff00;
  color: #000;
  border: 2px solid #00ff00;
}

.cta-button.project:hover {
  background: transparent;
  color: #00ff00;
}

.more {
    text-align: center;
    margin-top: 20px;
}


/* Media query for mobile view */
@media only screen and (max-width: 768px) {
    .projects {
        grid-template-columns: repeat(1, 1fr);
    }
    .intro-section {
        margin-top: 70px; /* Adjust the value as needed */
    }
}

/*Other Stores styling*/
.other-stores {
    margin-top: -20px;
}

/*Store Icons styling*/
.store-icons img {
    width: 40px; /* Adjust size as needed */
    height: 40px; /* Adjust size as needed */
}

.store-icons a {
    margin: 0 10px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.store-icons a:hover {
    transform: scale(1.2);
}

/* Contact styling */
.social-icons img {
    width: 36px; 
    height: 36px; 
}

.social-icons a {
    margin: 0 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.2);
}

.service img {
    width: 100px; /* Adjust the width to your preference */
    height: auto; /* Maintain aspect ratio */
    display: block; /* Ensure the image is displayed as a block element */
    margin: 0 auto 10px; /* Center the image horizontally and add some bottom margin */
}

.service h3 {
    margin-top: 0;
    margin-bottom: 1px;
}

.service p {
    margin-bottom: 10px;
}

.service .cta-button {
    margin-top: 10px;
}


.about-image {
    flex: 1;
    animation: slideInLeft 1s ease forwards;
}

.about-text {
    flex: 2;
    animation: slideInRight 1s ease forwards;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}



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

#bgneeded {
    background-color: #0b0b0c;
}

/* Contact form styling */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-family: "Orbitron", sans-serif;
}

input[type="text"],
input[type="email"],
textarea {
    width: 100%;
    padding: 10px;
    background-color: #0b0b0c;
    border: 1px solid #00FF00; /* Green border */
    border-radius: 5px;
    color: #00FF00; /* Green text color */
    box-sizing: border-box; /* Ensures padding is included in the total width */
    font-family: monospace;
}

input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
    outline: none; /* Remove default focus outline */
    border-width: 2px; /* Increase border width when focused */
    border-color: #66FF66; /* Brighter green border when focused */
}

textarea {
    height: 150px; /* Adjust height for textarea */
}

button[type="submit"] {
    width: 100%; /* Ensure the button takes the full width */
    background: #00ff00;
    color: #000;
    border: 2px solid #00ff00;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    box-sizing: border-box; /* Ensures padding is included in the total width */
}

button[type="submit"]:hover {
    background: transparent;
    color: #00ff00;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    h2 {
        font-size: 24px;
    }

    .social-icons img {
        width: 32px;
        height: 32px;
    }

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

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 8px;
        font-size: 14px;
    }

    button[type="submit"] {
        padding: 8px 0;
        font-size: 16px;
    }
    .other-stores {
        margin-top: 10px;
    }

    .store-icons {
        align-items: start;
    }

    .store-icons img {
        width: 38px;
        height: 38px;
        margin-right: -15px;
    }
}


@media (max-width: 480px) {
    h2 {
        font-size: 20px;
    }

    .social-icons img {
        width: 25px; /* Adjust icon size */
        height: 25px; /* Adjust icon size */
    }

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

    input[type="text"],
    input[type="email"],
    textarea {
        padding: 6px;
        font-size: 12px;
    }

    button[type="submit"] {
        padding: 6px 0;
        font-size: 14px;
    }
}

/* Add styles for the matrix effect */
.matrix-effect {
    position: fixed;
    top: 0; /* Position at the top of the screen */
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Ensure the matrix effect is behind other content */
    pointer-events: none; /* Allow clicks to go through the matrix effect */
    animation: matrixAnimation -1s linear infinite; /* Adjust animation duration as needed */
}


@keyframes matrixAnimation {
    from {
        transform: translateY(0%);
    }
    to {
        transform: translateY(100%);
    }
}

/* Media query for mobile view */
@media only screen and (max-width: 768px) {
    header .container {
        text-align: center; /* Center align the header content */
    }

    nav ul {
        display: inline-block; /* Keep the list items in a line */
        margin-top: 10px; /* Add some space on top */
    }

    nav ul li {
        display: inline-block; /* Keep the list items in a line */
        margin: 0 10px; /* Add margin to separate list items */
    }

    header {
        margin-top: 2px;
    }
}

/*HEADER FONT SIZINHE FOR DIFFERENT SCREENS*/
/* Font size for screens 768px and below */
@media (max-width: 768px) {
    header h1 {
        font-size: 28px; /* Adjust the size as needed */
    }
}

/* Font size for screens 365px and below */
@media (max-width: 365px) {
    header h1 {
        font-size: 25px; /* Adjust the size as needed */
    }
}

/* Font size for screens 325px and below */
@media (max-width: 325px) {
    header h1 {
        font-size: 20px; /* Adjust the size as needed */
    }
}


/* Media query for smaller screen devices */
@media only screen and (max-width: 768px) {
    /* Reduce list item spacing and font size */
    nav ul {
        margin-top: 5px; /* Reduced top margin */
    }

    nav ul li {
        margin: 0 5px; /* Reduced horizontal margin */
    }

    nav ul li a {
        font-size: 14px; /* Reduced font size */
    }
}

.about-text {
    flex: 2;
    animation: slideInRight 1s ease forwards;
    background-color: #0b0b0c; /* Black background color */
    padding: 20px; /* Add padding for spacing */
}

/* Default font sizes for p, h2 and h3 tags */
h2 {
    font-size: 32px; /* Default font size for h2 */
}

h3 {
    font-size: 24px; /* Default font size for h3 */
}

p {
    font-size: 15px; /* Default font size */
}

/* Font sizes for screens 768px and below */
@media (max-width: 768px) {
    h2 {
        font-size: 28px; /* Adjust the size as needed */
    }
    
    h3 {
        font-size: 20px; /* Adjust the size as needed */
    }

    p {
        font-size: 14px; /* Adjust the size as needed */
    }
}
/* Fade-in effect */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@media (max-width: 768px) {
    .cta-button {
        width: 90%; /* Ensure the button takes up the full width on mobile */
        padding: 10px; /* Adjust padding if needed */
        justify-content: center;
    }
}


/*Other Animations*/
/* Animation Styles */
.animate {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.animate.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* Adjust CSS to trigger animation when element is visible */
.animate-visible {
    animation: scaleIn 0.5s forwards;
}