:root {
    --bg-color: #000;
    --card-bg: #1a1a1a;
    --card-hover: #262626;
    --text-primary: #fff;
    --text-secondary: #999;
    --cursor-size: 30px;
    --cursor-border-width: 2px;
}

/*make the hero subheading a lil bit smaller*/
.hero p {
    font-size: clamp(1rem, 1.8vw, 1.3rem); /* Reduced font size */
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
}

/*make the explore services primary button, aka the opposite color of the other button*/
.btn.primary {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

.btn.primary:hover {
    background-color: var(--bg-color);
    color: var(--text-primary);
    border-color: var(--text-primary); /* Keep the border visible on hover */
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    cursor: none;
}

/* Custom Cursor */
.custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1000;
}

.cursor-inner,
.cursor-outer {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: difference;
}

.cursor-inner {
    width: 6px;
    height: 6px;
    background-color: var(--text-primary);
    margin-top: -3px;
    margin-left: -3px;
    transition: width 0.1s ease, height 0.1s ease, margin-top 0.1s ease, margin-left 0.1s ease;
}

.cursor-outer {
    width: var(--cursor-size);
    height: var(--cursor-size);
    border: var(--cursor-border-width) solid var(--text-primary);
    margin-top: calc(var(--cursor-size) / -2);
    margin-left: calc(var(--cursor-size) / -2);
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.5;
}

/* Hover States for Cursor */
a:hover~.custom-cursor .cursor-inner,
button:hover~.custom-cursor .cursor-inner {
    width: 12px;
    height: 12px;
    margin-top: -6px;
    margin-left: -6px;
}

a:hover~.custom-cursor .cursor-outer,
button:hover~.custom-cursor .cursor-outer {
    transform: scale(1.3);
    opacity: 0.8;
}

/* Particles */
#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
}

/* Header and Navbar Styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 100;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 0.5px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--text-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #ddd;
}

.nav-links a:hover::after {
    width: 100%;
}

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

/* Main Content Styles */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 8rem 2rem 4rem;
    z-index: 1;
    position: relative;
}

.hero {
    text-align: center;
    margin-bottom: 4rem;
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}



.btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    border: 1px solid var(--text-primary);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.2s ease, color 0.2s ease;
    margin: 0 0.5rem;
}

.btn:hover {
    background-color: var(--text-primary);
    color: var(--bg-color);
}

/* Bento Grid Styles */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.bento-item {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid transparent;
}

.bento-item:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.bento-span-4 {
    grid-column: span 4;
}

.bento-span-6 {
    grid-column: span 6;
}

.bento-span-8 {
    grid-column: span 8;
}

.bento-span-12 {
    grid-column: span 12;
}

.bento-item h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.bento-item p {
    color: var(--text-secondary);
}

/* Service Styles */
.services {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-align: center;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-align: center;
}

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

.service-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    transition: transform 0.2s ease, background-color 0.2s ease;
    border: 1px solid transparent;
}

.service-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--text-secondary);
}

/* Process Styles */
#process .bento-item {
    text-align: center;
}

#process .section-title {
    text-align: center;
}

#process .section-subtitle {
    text-align: center;
}

.process-grid {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* Default for mobile */
}

@media (min-width: 768px) {
  .process-grid {
    grid-template-columns: repeat(3, minmax(250px, 1fr)); /* 3 columns on desktop */
  }
}

/* Pricing Styles */
.pricing {
    margin-bottom: 4rem;
    text-align: center;
}

.pricing .section-title {
    text-align: center;
}

.pricing .section-subtitle {
    text-align: center;
}

.pricing-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2rem;
    text-align: left;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.pricing-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* Contact Styles */
.contact {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 3rem;
    text-align: center;
    margin-bottom: 4rem;
    border: 1px solid transparent;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.contact:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.contact h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.contact p {
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.contact-options {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: 0.75rem;
    width: 100%; /* Ensure full width */
    max-width: 300px; /* Limit maximum width */
    text-align: center; /* Ensure text is centered */
    margin: 0 auto; /* Center the card */
}

.contact-card p.email,
.contact-card p.phone {
    color: var(--text-secondary);
    text-decoration: none;
    word-break: break-word; /* Allow breaking long words */
    overflow: hidden; /* Prevent overflow */
    white-space: normal; /* Allow wrapping */
    text-align: center; /* Center text */
    padding: 0 1rem; /* Uniform padding */
}

.contact-icon {
    width: 40px;
    height: 40px;
    color: var(--text-primary);
}

.contact-card h3 {
    font-size: 1rem;
    font-weight: 600;
}


/* Footer Styles */
footer {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: #ddd;
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
    text-align: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* Responsive Design */
@media (max-width: 768px) {

    .navbar {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }

    .logo {
        margin-bottom: 0;
    }

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

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: rgba(0, 0, 0, 0.95);
        backdrop-filter: blur(10px);
        padding: 1rem 0;
        margin-top: 0.5rem;
    }

    .nav-links.active {
        display:flex;
    }

    .nav-links a {
        padding: 0.75rem;
        display: block;
    }

    footer {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        margin-bottom: 1rem;
        flex-direction: column;
        align-items: center;
    }

    .footer-copyright {
        margin-bottom: 1rem;
    }

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

    .btn {
        display: block;
        margin: 0.5rem auto;
        width: fit-content;
    }

    .bento-span-4,
    .bento-span-6,
    .bento-span-8 {
        grid-column: span 12;
    }

    .bento-grid {
        gap: 1rem;
    }

    main {
        padding: 6rem 1rem 3rem;
    }

    .pricing-container {
      padding: 0 1rem; /* Add some padding on small screens */
    }

}
/*Ensure that the original code overrides the other styling, so that the javascript and the hamburger is working too.
*/
/*This ensures that the desktop size has the cursor effect and the mobile doesnt. It sets cursor to auto and hides the cursor elements on smaller screens*/
@media (max-width: 768px) {
    body {
        cursor: auto;
    }

    .custom-cursor {
        display: none;
    }
}
/*This styling overwrites the original css and ensures that non touch devices still get the cursor effect. It sets cursor to none so that devices with a mouse as an input and a touch screen (hybrid devices) still get the cursor effect.
*/
@media (hover: hover) and (pointer: fine) {
    body {
        cursor: none; /* Hide default cursor on capable devices */
    }

    .custom-cursor {
        display: block; /* Show cursor */
    }
}

/* --- CONTACT SECTION MOBILE STYLES --- */

/* Target mobile devices (screen width 768px or less) */
@media (max-width: 768px) {

    /* Center the content within the contact section */
    .contact {
        text-align: center; /* Center the text */
    }

    /* Center the individual contact cards */
    .contact-card {
        align-items: center; /* Center items horizontally */
        text-align: center; /* Center text within each card */
       	width: 100%; /* Make sure the card takes full width */
    	max-width: 300px; /* Limit maximum width for readability */
    	margin: 0 auto; /* Center the card horizontally */
        font-size: 13px;
    }

    /* Adjust padding and margin for the contact section */
    .contact {
        padding: 0.1rem 1rem; /* Reduce horizontal padding */
        margin-bottom: 3rem; /* Adjust bottom margin */
    }

    /* Reduce gap between contact options */
    .contact-options {
        gap: 1.5rem;
    }
}

/* Testimonial Section Styles */
.testimonials {
    margin-bottom: 4rem;
    overflow: hidden;
}

.testimonials .static-testimonials {
    margin-bottom: 4rem;
}

.testimonials .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* Adjust minmax as needed */
    gap: 2rem;
}

.testimonials .testimonial-card {
    height: auto;
}

.testimonial-card {
    background-color: var(--card-bg);
    border-radius: 0.75rem;
    padding: 2.5rem;
    position: relative;
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    background-color: var(--card-hover);
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-quote {
  position: absolute;
  top: 15px; /* Adjust as needed */
  left: 15px; /* Adjust as needed */
  background-color: var(--card-bg); /* Ensure background matches card */
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.testimonial-card:hover .testimonial-quote {
    background-color: var(--card-hover);
}

.quote-icon {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
    opacity: 0.8;
}

.testimonial-text {
    margin-bottom: 2rem;
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: auto;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar svg {
    width: 24px;
    height: 24px;
    color: var(--text-primary);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.testimonial-author p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0;
}