/*-------------------
    BLACK AND GRAY STYLE
-------------------*/
:root {
    --bg: #1a1a1a; /* Dark background */
    --card: #2e2e2e; /* Slightly lighter for cards */
    --muted: #b0b0b0; /* Light gray for muted text */
    --text: #ffffff; /* White text */
    --brand: #666666; /* Gray for brand elements */
    --brand-2: #808080; /* Lighter gray for brand accents */
    --accent: #999999; /* Another gray for accents */
    --danger: #cc0000; /* Red for danger, kept for contrast */
    --ring: 0 0 0 3px rgba(102, 102, 102, 0.25); /* Gray ring */
    --radius: 18px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    --shadow-soft: 0 6px 20px rgba(0, 0, 0, 0.35);
}

* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg) 60%, #1a1a1a 100%); /* Adjusted to use --bg */
}

a {
    color: var(--brand);
    text-decoration: none;
    transition: 0.5s;
}

a:hover {
    color: var(--brand-2);
}

img {
    max-width: 100%;
    display: block;
    border-radius: 13px
}

.container {
    max-width: 1200px;
    margin-inline: auto;
    padding: 0 20px
}

/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(8px);
    background: rgba(26, 26, 26, 0.6); /* Adjusted to use --bg */
    border-bottom: 1px solid rgba(176, 176, 176, 0.1) /* Adjusted to use --muted */
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    position: relative; /* Needed for absolute positioning of dropdown */
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    letter-spacing: 0.3px
}

.logo-mark {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 30% 30%, var(--brand), var(--brand-2));
    box-shadow: var(--shadow-soft)
}

.logo span {
    font-size: 1.05rem
}

/* Desktop navigation styles */
.nav-links {
    display: flex;
    align-items: center;
    gap: 22px; /* Adjust as needed */
}

nav ul {
    list-style: none;
    display: flex;
    gap: 22px;
    padding: 0;
    margin: 0
}

nav a {
    color: var(--text);
    opacity: .9
}

nav a:hover {
    opacity: 1
}

.cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #000; /* Black text for CTA */
    font-weight: 700;
    border: 0
}

.cta:hover {
    filter: brightness(1.05);
    color: black
}

/* Mobile menu toggle */
.menu-toggle {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.8rem;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

/* Hero */
.hero {
    position: relative;
    overflow: hidden
}

.hero-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    align-items: center;
    padding: 56px 0
}

.hero h1 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.1;
    margin: 0 0 14px
}

.hero p {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 1.1rem
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px
}

.badge {
    border: 1px solid rgba(176, 176, 176, 0.2); /* Adjusted to use --muted */
    color: var(--text);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: .9rem;
    background: rgba(46, 46, 46, 0.6); /* Adjusted to use --card */
}

.hero-card {
    background: radial-gradient(1200px 500px at 40% -30%, rgba(102, 102, 102, 0.15), transparent 60%), var(--card); /* Adjusted to use --brand and --card */
    border: 1px solid rgba(176, 176, 176, 0.15); /* Adjusted to use --muted */
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow)
}

.hero-illus {
    aspect-ratio: 16/10;
    border-radius: 14px;
    background:
        linear-gradient(135deg, rgba(153, 153, 153, 0.12), rgba(102, 102, 102, 0.06)), /* Adjusted to use grays */
        radial-gradient(ellipse at 80% 10%, rgba(153, 153, 153, 0.20), transparent 40%), /* Adjusted to use grays */
        var(--bg); /* Adjusted to use --bg */
    border: 1px dashed rgba(176, 176, 176, 0.25); /* Adjusted to use --muted */
    display: grid;
    place-items: center;
    font-weight: 600;
    color: var(--muted)
}

/* Services */
section {
    padding: 56px 0
}

.section-h {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px
}

.section-h h2 {
    margin: 0;
    font-size: clamp(22px, 3vw, 32px)
}

.grid {
    display: grid;
    gap: 16px
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr)
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr)
}

.card {
    background: var(--card);
    border: 1px solid rgba(176, 176, 176, 0.15); /* Adjusted to use --muted */
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: var(--shadow-soft)
}

.card h3 {
    margin: 0 0 8px
}

.card p {
    margin: 0;
    color: var(--muted)
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: rgba(102, 102, 102, 0.15); /* Adjusted to use --brand */
    margin-bottom: 12px
}

/* Equipment */
.specs {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 16px
}

.specs ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted)
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 12px
}

.kpi .box {
    background: linear-gradient(180deg, rgba(102, 102, 102, 0.14), rgba(102, 102, 102, 0.04)); /* Adjusted to use --brand */
    border: 1px solid rgba(102, 102, 102, 0.3); /* Adjusted to use --brand */
    border-radius: 14px;
    padding: 16px;
    text-align: center
}

.box b {
    display: block;
    font-size: 1.2rem
}

/* Process */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px
}

.step {
    position: relative;
    padding: 18px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(176, 176, 176, 0.10), rgba(176, 176, 176, 0.04)); /* Adjusted to use --muted */
    border: 1px solid rgba(176, 176, 176, 0.18) /* Adjusted to use --muted */
}

.step .num {
    font-weight: 800;
    font-size: 0.85rem;
    opacity: .7
}

.step h4 {
    margin: 6px 0
}

/* CTA band */
.cta-band {
    padding: 26px;
    border-radius: var(--radius);
    background: linear-gradient(90deg, rgba(153, 153, 153, 0.15), rgba(102, 102, 102, 0.08)); /* Adjusted to use grays */
    border: 1px solid rgba(102, 102, 102, 0.35); /* Adjusted to use --brand */
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

/* FAQ */
details {
    background: var(--card);
    border: 1px solid rgba(176, 176, 176, 0.15); /* Adjusted to use --muted */
    border-radius: 14px;
    padding: 14px 16px
}

details+details {
    margin-top: 10px
}

summary {
    cursor: pointer;
    font-weight: 600
}

summary::-webkit-details-marker {
    display: none
}

summary::after {
    content: "+";
    float: right;
    opacity: .6
}

details[open] summary::after {
    content: "–"
}

/* Contact */
.contact {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 16px
}

form {
    display: grid;
    gap: 10px
}

label {
    font-size: .9rem;
    color: var(--muted)
}

input,
textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(176, 176, 176, 0.25); /* Adjusted to use --muted */
    background: var(--bg); /* Adjusted to use --bg */
    color: var(--text)
}

input:focus,
textarea:focus {
    outline: none;
    box-shadow: var(--ring);
    border-color: rgba(102, 102, 102, 0.6); /* Adjusted to use --brand */
}

textarea {
    min-height: 120px
}

.btn {
    padding: 12px 16px;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    background: linear-gradient(90deg, var(--brand), var(--brand-2));
    color: #000; /* Black text for buttons */
    cursor: pointer
}

.btn:hover {
    filter: brightness(1.05)
}

.note {
    font-size: .9rem;
    color: var(--muted)
}

/* Footer */
footer {
    border-top: 1px solid rgba(176, 176, 176, 0.12); /* Adjusted to use --muted */
    padding: 24px 0;
    color: var(--muted)
}

/* Utilities */
.muted {
    color: var(--muted)
}

.center {
    text-align: center
}

/* Responsive */
@media (max-width: 980px) {
    .hero-wrap {
        grid-template-columns: 1fr
    }

    .specs {
        grid-template-columns: 1fr
    }

    .steps {
        grid-template-columns: 1fr 1fr
    }

    .grid-3 {
        grid-template-columns: 1fr 1fr
    }

    .contact {
        grid-template-columns: 1fr
    }
}

/* Specific styles for smaller screens */
@media (max-width: 768px) {
    /* Show the hamburger menu toggle */
    .menu-toggle {
        display: block;
    }

    /* Hide the regular navigation and CTA button */
    .nav-links {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%; /* Position below the header */
        left: 0;
        background: var(--bg); /* Use your background color */
        border-top: 1px solid rgba(176, 176, 176, 0.1);
        box-shadow: var(--shadow-soft);
        padding: 15px 20px;
        box-sizing: border-box;
    }

    /* When menu is open, display nav-links */
    body.menu-open .nav-links {
        display: flex;
    }

    .nav-links nav ul {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        padding-bottom: 10px;
        border-bottom: 1px solid rgba(176, 176, 176, 0.1);
        margin-bottom: 15px;
    }

    .nav-links nav ul li {
        width: 100%;
        text-align: center;
    }

    .nav-links nav ul li a {
        display: block;
        padding: 10px 0;
        width: 100%;
    }

    .nav-links .cta {
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    /* Adjust other grid layouts for very small screens */
    .grid-3,
    .grid-2,
    .steps {
        grid-template-columns: 1fr;
    }
}


/* Print */
@media print {

    header,
    .hero-illus,
    .cta,
    .btn {
        display: none !important
    }

    body {
        background: #fff;
        color: #000
    }

    .card,
    details {
        border-color: #ccc
    }
}
footer {
  background: var(--bg-alt); /* This variable is not defined in :root. Assuming it's meant to be var(--bg) or similar. */
  border-top: 1px solid var(--border); /* This variable is not defined in :root. Assuming it's meant to be var(--muted) or similar. */
  padding: 1rem 0;
  font-size: 0.9rem;
  color: var(--muted);
}

/* -------------------
   Responsive (Existing, but check for conflicts)
------------------- */
@media (max-width: 768px) { /* This media query now defines the mobile menu behavior */
  .hero-wrap {
    grid-template-columns: 1fr;
  }
  /* The nav ul styling here is now overridden by the new .nav-links styles above for mobile */
  /* nav ul {
    flex-wrap: wrap;
    gap: 1rem;
  } */
}
.wrapper {
  display: inline-flex;
  list-style: none;
}

@import url("https://fonts.googleapis.com/css2?family=Poppins&display=swap");

*:focus,
*:active {
  outline: none !important;
  -webkit-tap-highlight-color: transparent;
}

.wrapper .icon {
  position: relative;
  background: #ffffff;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #ffffff;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wrapper .icon:hover,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877F2;
  color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #1DA1F2;
  color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #E4405F;
  color: #ffffff;
}

.wrapper .github:hover,
.wrapper .github:hover .tooltip,
.wrapper .github:hover .tooltip::before {
  background: #6e27ca;
  color: #ffffff;
}

.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
  background: #CD201F;
  color: #ffffff;
}