
/* =========================================
   HAMAD AHMAD - PORTFOLIO STYLESHEET
   Bootstrap 5 + Minimal Custom CSS
   Accent: #7FFF00
========================================= */


/* =========================================
   1. GLOBAL SETTINGS
========================================= */

:root {
    --brand: #7FFF00;
    --brand-hover: #70E000;

    --dark: #080808;
    --dark-soft: #101010;
    --dark-card: #161616;

    --light: #ffffff;
    --light-section: #f5f7f4;

    --text-dark: #151815;
    --text-muted: #777d77;

    --border-dark: #2a2a2a;
    --border-light: #e5e9e3;

    --radius: 24px;
    --transition: 0.25s ease;
}

html {
    width: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
    max-width: 100%;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

body {
    width: 100%;
    max-width: 100%;
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.7;
    overflow-x: hidden;
    overflow-x: clip;
    overscroll-behavior-x: none;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    transition: color var(--transition),
                background-color var(--transition),
                border-color var(--transition);
}

button,
input,
textarea,
select {
    font: inherit;
}

::selection {
    background-color: var(--brand);
    color: #080a08;
}

.text-brand {
    color: var(--brand) !important;
}

.text-secondary {
    color: var(--text-muted) !important;
}

.bg-light-section {
    background-color: var(--light-section);
    color: var(--text-dark);
}

.section-label {
    display: inline-block;
    color: var(--brand);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-heading-narrow {
    max-width: 760px;
}


/* =========================================
   2. HEADER AND NAVIGATION
========================================= */

.site-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background-color: rgba(8, 10, 8, 0.32);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: none;
}

.navbar-brand {
    color: #ffffff !important;
    letter-spacing: -0.7px;
}

.navbar-brand .text-brand {
    color: var(--brand) !important;
}

.navbar .nav-link {
    color: #c2c7c1;
    font-size: 0.94rem;
    padding: 0.65rem 0.85rem !important;
}

.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--brand) !important;
}

.navbar-toggler {
    border-color: #444a43;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.15rem rgba(127, 255, 0, 0.20);
}


/* =========================================
   3. BUTTONS
========================================= */

.btn {
    border-radius: 50px;
    font-weight: 500;
    padding: 0.62rem 0.9rem;
    transition: transform var(--transition),
                background-color var(--transition),
                color var(--transition),
                border-color var(--transition);
}

.btn-lg {
    padding: 0.56rem 0.82rem;
    font-size: 0.95rem;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-brand {
    color: #080a08;
    background-color: var(--brand);
    border: 1px solid var(--brand);
}

.btn-brand:hover,
.btn-brand:focus {
    color: #080a08;
    background-color: var(--brand-hover);
    border-color: var(--brand-hover);
}

.btn-outline-brand {
    color: var(--brand);
    background-color: transparent;
    border: 1px solid var(--brand);
}

.btn-outline-brand:hover {
    color: #080a08;
    background-color: var(--brand);
    border-color: var(--brand);
}


/* =========================================
   4. HERO SECTIONS
========================================= */

.hero-section {
    position: relative;
    overflow: hidden;
}

.page-hero {
    position: relative;
    overflow: hidden;
}

.page-hero > .container,
.hero-section > .container {
    position: relative;
    z-index: 1;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.page-hero,
.hero-section {
    padding-top: clamp(3.5rem, 7vw, 6.5rem) !important;
    padding-bottom: clamp(3.5rem, 7vw, 6.5rem) !important;
}

.hero-title {
    max-width: 950px;
    letter-spacing: -2px;
    line-height: 1.08;
}

.hero-description {
    max-width: 680px;
}

/* =========================================
   5. CARDS
========================================= */

.feature-card,
.service-card,
.project-card,
.process-card {
    height: 100%;
    border: 1px solid var(--border-dark);
    border-radius: var(--radius);
    background-color: var(--dark-card);
    color: #ffffff;
    overflow: hidden;
    transition: transform var(--transition),
                border-color var(--transition),
                box-shadow var(--transition);
}

.feature-card:hover,
.service-card:hover,
.project-card:hover,
.process-card:hover {
    transform: translateY(-5px);
    border-color: rgba(190, 200, 186, 0.24);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-card p,
.service-card p,
.project-card p,
.process-card p {
    line-height: 1.8;
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 15px;
    background-color: #242424;
    color: #d0d0d0;
    font-size: 1.55rem;
}

.service-number {
    color: #858b83;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.service-checklist {
    padding-left: 1.15rem;
    color: #c2c7c1;
}

.service-checklist li {
    padding: 0.25rem 0;
}

.service-checklist li::marker {
    color: var(--brand);
}

.text-link {
    display: inline-block;
    color: var(--brand);
    font-weight: 600;
}

.text-link:hover {
    color: var(--brand-hover);
}

.project-preview {
    width: 100%;
    aspect-ratio: 16 / 10;
    min-height: 0;
    overflow: hidden;
    background-color: #101010;
    border-bottom: 1px solid var(--border-dark);
}

.project-preview img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.project-card .card-body {
    background-color: var(--dark-card);
    color: #ffffff;
}

.project-card .badge {
    font-weight: 500;
    padding: 0.5rem 0.7rem;
}


/* =========================================
   6. LIGHT SECTION CARDS
========================================= */

.bg-light-section .feature-card,
.bg-light-section .service-card,
.bg-light-section .project-card,
.bg-light-section .process-card {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-light);
}

.bg-light-section .feature-card p,
.bg-light-section .service-card p,
.bg-light-section .process-card p {
    color: var(--text-muted);
}

.bg-light-section .service-checklist {
    color: #525952;
}

.bg-light-section .project-card .card-body {
    background-color: #ffffff;
    color: var(--text-dark);
}

.bg-light-section .project-preview {
    background-color: #eef1eb;
    border-color: var(--border-light);
}

.bg-light-section .project-preview .text-secondary {
    color: #6c746a !important;
}

.bg-light-section .service-number {
    color: #727970;
}


/* =========================================
   7. ABOUT AND INTRODUCTION CARDS
========================================= */

.about-intro-card {
    background-color: var(--dark-soft);
    border: 1px solid var(--border-dark);
    color: #ffffff;
}

.about-intro-card p {
    line-height: 1.8;
}

.about-intro-card .text-secondary {
    color: #b1b8b0 !important;
}

.bg-light-section .about-intro-card {
    background-color: #ffffff;
    border-color: var(--border-light);
    color: var(--text-dark);
}

.bg-light-section .about-intro-card .text-secondary {
    color: var(--text-muted) !important;
}


/* =========================================
   8. PROCESS CARDS
========================================= */

.process-number {
    display: inline-block;
    color: var(--brand);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-card {
    padding: 1.5rem;
}


/* =========================================
   9. INDUSTRY LIST
========================================= */

.industry-list {
    border-radius: var(--radius);
    overflow: hidden;
}

.industry-list .list-group-item {
    background-color: var(--dark-card);
    color: #ffffff;
    border-color: var(--border-dark);
}

.bg-light-section .industry-list .list-group-item {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-light);
}


/* =========================================
   10. CTA SECTION
========================================= */

.cta-section {
    background-color: var(--dark-soft);
    border: 1px solid var(--border-dark);
    color: #ffffff;
}

.cta-section .text-secondary {
    color: #b1b8b0 !important;
}

.bg-light-section .cta-section {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-light);
}

.bg-light-section .cta-section .text-secondary {
    color: var(--text-muted) !important;
}


/* =========================================
   11. CONTACT FORM
========================================= */

.contact-form-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    color: var(--text-dark);
}

.contact-form-card .form-label {
    color: var(--text-dark);
}

.contact-form-card .form-control,
.contact-form-card .form-select {
    min-height: 48px;
    border: 1px solid #dce1da;
    border-radius: 10px;
    background-color: #ffffff;
    color: var(--text-dark);
    padding: 0.75rem 0.9rem;
}

.contact-form-card textarea.form-control {
    min-height: 140px;
}

.contact-form-card .form-control:focus,
.contact-form-card .form-select:focus {
    border-color: var(--brand);
    box-shadow: 0 0 0 0.2rem rgba(127, 255, 0, 0.14);
}

.contact-form-card .form-control::placeholder {
    color: #969d95;
}

.contact-form-card .form-check-input:checked {
    background-color: #228c12;
    border-color: #228c12;
}

.contact-success-dialog {
    width: min(92vw, 440px);
    padding: 0;
    color: #f4f5f3;
    background: #111411;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 22px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55);
}

.contact-success-dialog::backdrop {
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(5px);
}

.contact-success-content {
    padding: 2.25rem;
    text-align: center;
}

.contact-success-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin: 0 auto 1.25rem;
    place-items: center;
    color: #111411;
    background: #7fff00;
    border-radius: 50%;
    font-size: 1.5rem;
}

.contact-success-dialog .text-secondary {
    color: #b2b8b0 !important;
}

@media (max-width: 575.98px) {
    .contact-success-content {
        padding: 1.75rem 1.4rem;
    }
}


/* =========================================
   12. ACCORDION / FAQ
========================================= */

.accordion-custom {
    max-width: 850px;
}

.accordion-custom .accordion-item {
    margin-bottom: 0.85rem;
    overflow: hidden;
    border: 1px solid var(--border-dark);
    border-radius: 12px;
    background-color: var(--dark-card);
    color: #ffffff;
}

.accordion-custom .accordion-button {
    padding: 1.25rem 1.4rem;
    background-color: var(--dark-card);
    color: #ffffff;
    font-weight: 600;
    box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
    color: var(--brand);
}

.accordion-custom .accordion-button::after {
    filter: invert(1);
}

.accordion-custom .accordion-body {
    padding: 0 1.4rem 1.4rem;
    background-color: var(--dark-card);
}

.bg-light-section .accordion-custom .accordion-item,
.bg-light-section .accordion-custom .accordion-button,
.bg-light-section .accordion-custom .accordion-body {
    background-color: #ffffff;
    color: var(--text-dark);
    border-color: var(--border-light);
}

.bg-light-section .accordion-custom .accordion-button:not(.collapsed) {
    color: #228c12;
}

.bg-light-section .accordion-custom .accordion-button::after {
    filter: none;
}


/* =========================================
   13. PRIVACY POLICY
========================================= */

.privacy-content {
    line-height: 1.9;
}

.privacy-content h2 {
    letter-spacing: -0.4px;
}

.privacy-content p,
.privacy-content li {
    line-height: 1.9;
}

.privacy-content ul {
    padding-left: 1.3rem;
}

.privacy-content li {
    padding-bottom: 0.4rem;
}

.privacy-content li::marker {
    color: var(--brand);
}


/* =========================================
   14. FOOTER
========================================= */

.site-footer {
    background-color: #050505;
    color: #ffffff;
    border-top: 1px solid var(--border-dark);
}

.footer-description {
    max-width: 380px;
    line-height: 1.8;
}

.footer-links a {
    color: #a8aea7;
}

.footer-links a:hover {
    color: var(--brand);
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid #303630;
    border-radius: 50%;
    color: #ffffff;
    font-size: 1rem;
}

.social-link:link,
.social-link:visited,
.social-link:active {
    color: #ffffff !important;
}

.social-link:hover {
    color: #080a08;
    background-color: var(--brand);
    border-color: var(--brand);
    transform: translateY(-2px);
}


/* =========================================
   15. SUBTLE ANIMATIONS
========================================= */

.reveal {
    opacity: 1;
    transform: none;
}

/* JavaScript adds .js-reveal when animation support is active. */
.js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease,
                transform 0.65s ease;
}

.js-reveal .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .js-reveal .reveal {
        opacity: 1;
        transform: none;
    }
}


/* =========================================
   16. RESPONSIVE ADJUSTMENTS
========================================= */

@media (min-width: 992px) {
    .py-lg-6 {
        padding-top: 6rem !important;
        padding-bottom: 6rem !important;
    }
}

@media (max-width: 991.98px) {
    .hero-title {
        letter-spacing: -1.2px;
    }

    .navbar .nav-link {
        padding: 0.65rem 0 !important;
    }
}

@media (max-width: 575.98px) {
    .display-3 {
        font-size: 2.55rem;
    }

    .display-5 {
        font-size: 2rem;
    }

    .project-preview {
        aspect-ratio: 16 / 10;
    }
}

/* Keep lime focused on calls to action and a few key moments. */
.text-brand {
    color: #b5c0b0 !important;
}

.hero-section .text-brand,
.navbar-brand .text-brand {
    color: var(--brand) !important;
}


/* Use chartreuse for controls and restrained interaction details, never text. */
.text-brand,
body .hero-section .text-brand,
body .navbar-brand .text-brand,
.section-label,
.navbar .nav-link:hover,
.navbar .nav-link.active,
.text-link,
.text-link:hover,
.process-number,
.accordion-custom .accordion-button:not(.collapsed),
.bg-light-section .accordion-custom .accordion-button:not(.collapsed),
.footer-links a:hover {
    color: #b5c0b0 !important;
}

.btn-outline-brand {
    color: #d6ddd3;
    border-color: #5a6257;
}

.feature-icon,
.service-checklist li::marker,
.privacy-content li::marker {
    color: #b8b8b8;
}


.navbar-brand .brand-mark {
    display: inline-block;
    margin-left: 0.08em;
    font-size: 0.42em;
    line-height: 0;
    vertical-align: super;
    color: #b5c0b0;
}

.navbar .nav-link:hover {
    color: var(--brand) !important;
}

.navbar .nav-link.active {
    color: var(--brand) !important;
}

/* A quiet lime light that follows the pointer without obscuring content. */
.pointer-glow {
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    background: radial-gradient(circle, rgba(127, 255, 0, 0.13) 0%, rgba(127, 255, 0, 0.055) 32%, rgba(127, 255, 0, 0) 72%);
    mix-blend-mode: screen;
    transform: translate3d(-50%, -50%, 0);
    transition: opacity 220ms ease;
    will-change: transform, opacity;
}

.pointer-glow.is-visible {
    opacity: 1;
}

@media (pointer: coarse) {
    .pointer-glow {
        width: 120px;
        height: 120px;
        background: radial-gradient(circle, rgba(127, 255, 0, 0.1) 0%, rgba(127, 255, 0, 0.04) 38%, rgba(127, 255, 0, 0) 76%);
        mix-blend-mode: normal;
    }
}

/* Keep every formerly light section and its content consistent with the dark theme. */
.bg-light-section {
    background-color: var(--dark) !important;
    color: var(--light);
}

.bg-light-section .text-dark,
.bg-light-section .text-secondary,
.bg-light-section p,
.bg-light-section li {
    color: #b1b8b0 !important;
}

.bg-light-section h1,
.bg-light-section h2,
.bg-light-section h3,
.bg-light-section h4,
.bg-light-section h5,
.bg-light-section strong {
    color: var(--light);
}

.bg-light-section .feature-card,
.bg-light-section .service-card,
.bg-light-section .project-card,
.bg-light-section .process-card,
.bg-light-section .about-intro-card,
.bg-light-section .industry-list .list-group-item,
.bg-light-section .cta-section,
.bg-light-section .contact-form-card,
.bg-light-section .accordion-custom .accordion-item,
.bg-light-section .accordion-custom .accordion-button,
.bg-light-section .accordion-custom .accordion-body,
.contact-form-card {
    background-color: var(--dark-card) !important;
    color: var(--light) !important;
    border-color: var(--border-dark) !important;
}

.bg-light-section .project-card .card-body {
    background-color: var(--dark-card) !important;
    color: var(--light) !important;
}

.bg-light-section .project-preview {
    background-color: #101010 !important;
    border-color: var(--border-dark) !important;
}

.bg-light-section .industry-list .list-group-item,
.bg-light-section .service-checklist,
.bg-light-section .feature-card p,
.bg-light-section .service-card p,
.bg-light-section .process-card p,
.bg-light-section .about-intro-card .text-secondary,
.bg-light-section .cta-section .text-secondary {
    color: #b1b8b0 !important;
}

.bg-light-section .service-number {
    color: #a4aca2 !important;
}

.bg-light-section .contact-form-card .form-label {
    color: var(--light) !important;
}

.bg-light-section .contact-form-card .form-control,
.bg-light-section .contact-form-card .form-select,
.contact-form-card .form-control,
.contact-form-card .form-select {
    background-color: #101010 !important;
    color: var(--light) !important;
    border-color: #353535 !important;
}

.bg-light-section .accordion-custom .accordion-button::after {
    filter: invert(1) !important;
}

.bg-light-section .accordion-custom .accordion-button:not(.collapsed) {
    color: #d9e0d6 !important;
}

/* Dark, individually rounded approach cards on the home page. */
.bg-light-section .approach-list {
    gap: 0.85rem;
}

.bg-light-section .approach-list .list-group-item {
    background-color: var(--dark-card) !important;
    color: var(--light) !important;
    border: 1px solid var(--border-dark) !important;
    border-radius: 20px !important;
}

.bg-light-section .approach-list h3 {
    color: var(--light) !important;
}

.bg-light-section .approach-list p {
    color: #b1b8b0 !important;
}

/* Home hero: clear, client-focused message and calm supporting card. */
.hero-title {
    max-width: 760px;
    font-size: clamp(3.25rem, 5.3vw, 4.8rem);
    letter-spacing: -0.065em;
    line-height: 1.02;
}

.hero-title-accent {
    color: #d9e0d6;
}

.hero-description {
    max-width: 590px;
    font-size: 1.12rem;
    line-height: 1.8;
}

.hero-proof {
    margin-top: 0.5rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    padding: 1.6rem;
    background: linear-gradient(145deg, #171917, #111311);
    border: 1px solid rgba(190, 200, 186, 0.12);
    border-radius: 22px;
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.16);
    transition: transform var(--transition), border-color var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-4px);
    border-color: rgba(190, 200, 186, 0.25);
}

.testimonial-rating {
    display: flex;
    gap: 0.22rem;
    margin-bottom: 1.15rem;
    color: #c5cbbf;
    font-size: 0.86rem;
}

.testimonial-quote {
    flex: 1;
    margin: 0 0 1.5rem;
    color: #d1d5cf;
    font-size: 0.95rem;
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(190, 200, 186, 0.12);
    color: #f1f3ef;
    font-size: 0.9rem;
}

.testimonial-author span {
    color: #9ba398;
    font-size: 0.8rem;
}

.hero-social-card {
    padding: 1.25rem;
    border: 1px solid #2a2a2a;
    border-radius: 20px;
    background: linear-gradient(140deg, #171717, #101010);
    box-shadow: 0 16px 38px rgba(0, 0, 0, 0.18);
}

.hero-social-card-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.hero-socials-label {
    display: block;
    margin-bottom: 0.35rem;
    color: #939b91;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.hero-social-card-title {
    margin: 0;
    color: #f2f4ef;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.hero-social-card-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border: 1px solid rgba(190, 200, 186, 0.14);
    border-radius: 12px;
    color: #c6ccc2;
    font-size: 1rem;
}

.hero-social-card-copy {
    margin: 0.55rem 0 1rem;
    color: #aeb5aa;
    font-size: 0.88rem;
}

.hero-social-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.6rem;
}

.hero-social-link {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
    padding: 0.75rem 0.7rem;
    border: 1px solid rgba(190, 200, 186, 0.14);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.025);
    color: #c6ccc2;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    -webkit-tap-highlight-color: rgba(127, 255, 0, 0.16);
    transition: color 180ms ease, background-color 180ms ease,
        border-color 180ms ease, transform 180ms ease;
}

.hero-social-link:link,
.hero-social-link:visited,
.hero-social-link:active {
    color: #c6ccc2 !important;
}

.hero-social-link > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hero-social-link > i:first-child {
    flex: 0 0 auto;
    font-size: 1rem;
}

.hero-social-arrow {
    margin-left: auto;
    color: #8b9388;
    font-size: 0.8rem;
}

.hero-social-link:hover,
.hero-social-link:focus-visible {
    border-color: rgba(190, 200, 186, 0.34);
    background: rgba(255, 255, 255, 0.055);
    color: #f2f4ef !important;
    transform: translateY(-2px);
}

.hero-social-link:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(190, 200, 186, 0.14);
}

@media (max-width: 575.98px) {
    .hero-social-card {
        padding: 1rem;
    }

    .hero-social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    html,
    body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;
        overflow-x: clip;
    }

    .hero-social-card,
    .hero-social-grid,
    .hero-social-link {
        min-width: 0;
        max-width: 100%;
    }
}

.hero-proof > span {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(190, 200, 186, 0.13);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.025);
}

.hero-focus-card {
    height: 100%;
    min-height: 500px;
    padding: clamp(1.6rem, 3vw, 2.35rem);
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    background: #121212;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.24);
}

.focus-card-label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: #aeb5aa;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.focus-card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #b7c0b2;
}

.focus-card-title {
    max-width: 390px;
    margin: 1.6rem 0 0.8rem;
    color: #f2f4ef;
    font-size: clamp(1.8rem, 2.7vw, 2.35rem);
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1.12;
}

.focus-card-description {
    max-width: 390px;
    margin: 0;
    color: #aab1a7;
    font-size: 0.92rem;
    line-height: 1.7;
}

.focus-card-points {
    display: grid;
    gap: 0.65rem;
    margin-top: 1.8rem;
}

.focus-card-point {
    display: flex;
    min-height: 58px;
    align-items: center;
    gap: 0.85rem;
    padding: 0.65rem 0.8rem;
    border: 1px solid rgba(190, 200, 186, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.025);
    color: #e4e8e0;
    font-size: 0.86rem;
    font-weight: 600;
}

.focus-card-icon {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    place-items: center;
    border-radius: 10px;
    background: #242424;
    color: #d0d0d0;
    font-size: 0.95rem;
}

.focus-card-number {
    margin-left: auto;
    color: #737c70;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.focus-card-footer {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-top: 1.2rem;
    color: #aab1a7;
    font-size: 0.75rem;
}

.focus-card-footer i {
    color: #c4ccc0;
}

/* Shared opening-card style inspired by the Services page. */
.page-hero .display-3 {
    max-width: 900px;
    font-size: clamp(3rem, 5vw, 4.35rem);
    letter-spacing: -0.06em;
    line-height: 1.05;
}

.page-hero .hero-cta,
.hero-section .hero-cta {
    display: inline-flex;
    width: 250px;
    max-width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

.page-hero-card {
    height: 100%;
    min-height: 500px;
    padding: clamp(1.6rem, 3vw, 2.25rem) !important;
    border-color: rgba(190, 200, 186, 0.13) !important;
    border-radius: 24px !important;
    background: linear-gradient(145deg, #171717 0%, #111111 75%) !important;
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.22);
}

@media (min-width: 992px) {
    .page-hero > .container > .row,
    .hero-section > .container > .row {
        min-height: 500px;
        align-items: stretch !important;
    }

    .page-hero > .container > .row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .page-hero > .container > .row > [class*="col-"]:first-child {
        padding-top: clamp(1.6rem, 3vw, 2.25rem);
    }

    .hero-section > .container > .row > [class*="col-"] {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
}

@media (max-width: 991.98px) {
    .page-hero-card,
    .hero-focus-card {
        height: auto;
        min-height: 0;
    }
}

.contact-hero-card h2 {
    margin-bottom: 0.85rem !important;
}

.contact-hero-card > p {
    margin-bottom: 0.65rem;
}

.contact-hero-card hr.my-4 {
    margin-block: 0.85rem !important;
}

.contact-hero-card .d-flex.mb-4 {
    margin-bottom: 0.7rem !important;
}

.contact-hero-card h3 {
    margin-bottom: 0.2rem;
}

.page-hero-icon {
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    border: 1px solid rgba(190, 200, 186, 0.13);
    border-radius: 18px;
    background: #242424;
    color: #d0d0d0;
    font-size: 1.6rem;
}

.page-hero-icon i {
    line-height: 1;
}

.about-focus-icon {
    display: inline-flex;
    align-items: center;
    color: #c4ccc0;
    font-size: 2.8rem;
    line-height: 1;
}

.privacy-hero-note {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    padding-top: 1.1rem;
    border-top: 1px solid rgba(190, 200, 186, 0.13);
    color: #d4dbd0;
    font-size: 0.84rem;
    line-height: 1.6;
}

.privacy-hero-note i {
    flex: 0 0 auto;
    color: #aeb7a8;
    font-size: 1rem;
}

@media (max-width: 575.98px) {
    .hero-title {
        font-size: clamp(2.85rem, 13vw, 3.5rem);
    }

    .page-hero .display-3 {
        font-size: clamp(2.7rem, 12vw, 3.5rem);
    }

    .hero-focus-card {
        min-height: auto;
        padding: 1.45rem;
    }
}
.contact-form-card,
.about-intro-card,
.cta-section,
.accordion-custom .accordion-item {
    border-radius: 22px;
}

@media (prefers-reduced-motion: reduce) {
    .pointer-glow {
        display: none;
    }
}

