/*------------------------------------
  Services – Page Layout
------------------------------------*/

.services-hero {
    padding-top: 110px; /* clears navbar */
    padding-bottom: 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.services-hero-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 32px 22px 10px;
}

.services-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 10px;
}

.services-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4facfe;
}

.services-hero h1 {
    font-size: 2.4rem;
    margin-bottom: 10px;
}

.services-hero p {
    font-size: 0.98rem;
    line-height: 1.7;
    opacity: 0.92;
}

.services-hero-sub {
    margin-top: 4px;
    font-size: 0.9rem;
    opacity: 0.8;
}

.services-hero-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-btn {
    border-radius: 999px;
}

.ghost-btn {
    border-radius: 999px;
    opacity: 0.9;
}

/* Hero background subtle gradient */
.services-hero::before {
    content: '';
    position: absolute;
    inset: -40%;
    background:
        radial-gradient(circle at top, rgba(79, 172, 254, 0.3), transparent 60%),
        radial-gradient(circle at bottom, rgba(0, 0, 0, 0.55), transparent 65%);
    opacity: 0.55;
    z-index: -1;
}

@media (prefers-color-scheme: light) {
    .services-hero::before {
        background:
            radial-gradient(circle at top, rgba(79, 172, 254, 0.16), transparent 60%),
            radial-gradient(circle at bottom, rgba(0, 0, 0, 0.05), transparent 65%);
        opacity: 1;
    }
}

/*------------------------------------
  Shared Section Layout
------------------------------------*/

.services-section {
    padding: 40px 20px 60px;
}

.services-section-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.services-intro {
    max-width: 640px;
    margin: 0 auto 26px;
    font-size: 0.96rem;
    line-height: 1.7;
    opacity: 0.9;
    text-align: center;
}

.services-section-alt {
    position: relative;
}

.services-section-alt::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(79, 172, 254, 0.14), transparent 60%);
    opacity: 0.5;
    pointer-events: none;
}

/*------------------------------------
  Cards & Grids
------------------------------------*/

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 10px;
}

.narrow-grid {
    max-width: 900px;
    margin-inline: auto;
}

.service-card {
    position: relative;
    padding: 20px 20px 20px;
    border-radius: 20px;
    background: rgba(15, 15, 20, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: left;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    transition: transform 0.26s ease, box-shadow 0.26s ease, border-color 0.26s ease;
}

.service-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(79, 172, 254, 0.25), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.14);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.service-card p {
    font-size: 0.94rem;
    line-height: 1.6;
    opacity: 0.94;
    margin-bottom: 10px;
}

/* small pill within card */
.service-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.78rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 6px;
}

.service-pill .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #4facfe;
}

/* Highlight card */
.service-card-highlight {
    border: 1px solid rgba(79, 172, 254, 0.6);
}

/* Lists */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 8px 0 0 0;
}

.service-list li {
    position: relative;
    padding-left: 16px;
    margin-bottom: 4px;
    font-size: 0.9rem;
    line-height: 1.55;
    opacity: 0.9;
}

.service-list li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.6em;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
}

/*------------------------------------
  Process Grid
------------------------------------*/

.services-process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 16px;
}

.process-card {
    padding-top: 24px;
}

.process-step {
    font-size: 0.8rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.7;
    margin-bottom: 6px;
}

/*------------------------------------
  Fit grid
------------------------------------*/

.fit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 22px;
    margin-top: 16px;
}

/*------------------------------------
  Contact Section for Services
------------------------------------*/

.services-contact-section {
    padding-bottom: 90px;
}

.services-contact-inner {
    max-width: 900px;
    margin: 0 auto;
}

.services-contact-card {
    margin-top: 20px;
    padding: 24px 24px 30px;
    border-radius: 22px;
    background: rgba(15, 15, 20, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 18px 52px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.services-contact-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top left, rgba(79, 172, 254, 0.28), transparent 60%);
    opacity: 0.25;
    pointer-events: none;
}

/* Reuse contact-form structure but scoped */
.services-contact-card .form-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 22px;
}

.services-contact-card .form-left,
.services-contact-card .form-right {
    flex: 1;
    min-width: 260px;
}

.services-contact-card .form-group {
    margin-bottom: 16px;
}

.services-contact-card .form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

.services-contact-card .form-group input,
.services-contact-card .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(5, 5, 8, 0.7);
    font-size: 0.95rem;
    color: #ffffff;
    transition: box-shadow 0.25s, border-color 0.25s, background 0.25s, transform 0.15s;
    resize: vertical;
}

.services-contact-card .form-group input::placeholder,
.services-contact-card .form-group textarea::placeholder {
    opacity: 0.7;
}

.services-contact-card .form-group input:focus,
.services-contact-card .form-group textarea:focus {
    outline: none;
    border-color: #4facfe;
    box-shadow: 0 0 0 1px rgba(79, 172, 254, 0.55);
    background: rgba(12, 12, 20, 0.95);
    transform: translateY(-1px);
}

.contact-btn {
    margin-top: 4px;
    padding-inline: 30px;
}

/*------------------------------------
  Reveal Animations
------------------------------------*/

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/*------------------------------------
  Light Mode Tweaks
------------------------------------*/

@media (prefers-color-scheme: light) {

    .services-intro {
        color: #222;
    }

    .service-card,
    .services-contact-card {
        background: rgba(255, 255, 255, 0.94);
        border: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    }

    .service-card::before,
    .services-contact-card::before {
        background: radial-gradient(circle at top left, rgba(79, 172, 254, 0.18), transparent 60%);
        opacity: 0.4;
    }

    .service-card h3,
    .services-hero h1 {
        color: #111;
    }

    .service-card p,
    .service-list li,
    .services-hero p,
    .services-hero-sub,
    .services-intro {
        color: #333;
    }

    .service-list li::before {
        background: rgba(0, 0, 0, 0.6);
    }

    .service-pill,
    .services-pill {
        border-color: rgba(0, 0, 0, 0.18);
        color: #111;
    }

    .service-pill .dot,
    .services-pill .dot {
        background: #007aff;
    }

    .services-contact-card .form-group input,
    .services-contact-card .form-group textarea {
        background: rgba(255, 255, 255, 0.98);
        border-color: rgba(0, 0, 0, 0.18);
        color: #111;
    }

    .services-contact-card .form-group input:focus,
    .services-contact-card .form-group textarea:focus {
        background: #ffffff;
        border-color: #4facfe;
    }
}

/*------------------------------------
  Responsive
------------------------------------*/

@media (max-width: 768px) {
    .services-hero {
        padding-top: 96px;
        padding-bottom: 52px;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-section {
        padding-inline: 16px;
    }
}
/*------------------------------------
  Footer – Tight & Clean
------------------------------------*/
.site-footer {
    background: #0b0b10;
    padding: 18px 18px 22px;
    border-top: 1px solid rgba(255,255,255,0.06);
    margin-top: 20px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 0.9rem;
}

.footer-left p {
    margin: 0;
}

.footer-sub {
    opacity: 0.7;
    font-size: 0.82rem;
    margin-top: 2px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-right .social-link {
    display: inline-block;
    width: 28px;
    height: 28px;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.footer-right .social-link img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-right .social-link:hover {
    transform: translateY(-1px) scale(1.05);
    filter: brightness(1.15);
}

@media (max-width: 700px) {
    .footer-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}