/* =========================================================
   ID TECHNOCOM
   PROFESSIONAL BUSINESS WEBSITE
   Production-ready responsive CSS
   ========================================================= */


/* =========================================================
   1. ROOT / VARIABLES
   ========================================================= */

:root {
    --bg-main: #07111f;
    --bg-section: #0a1828;
    --bg-dark: #030b14;

    --card: rgba(16, 36, 54, 0.92);
    --card-light: rgba(19, 42, 61, 0.95);

    --primary: #35e6b0;
    --primary-dark: #00a878;
    --primary-bright: #00c896;

    --secondary: #00bcd4;

    --text-main: #eaf2f7;
    --text-white: #ffffff;
    --text-muted: #9db0bf;
    --text-soft: #8ea3b2;

    --border: rgba(53, 230, 176, 0.12);
    --border-hover: rgba(53, 230, 176, 0.45);

    --shadow-sm: 0 8px 25px rgba(0, 0, 0, 0.18);
    --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.22);
    --shadow-lg: 0 20px 45px rgba(0, 0, 0, 0.28);

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 18px;

    --container: 1200px;

    --transition: 0.3s ease;
}


/* =========================================================
   2. RESET
   ========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg-main);
    color: var(--text-main);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: rgba(53, 230, 176, 0.25);
    color: #ffffff;
}


/* =========================================================
   3. GLOBAL BACKGROUND
   ========================================================= */

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(0, 229, 160, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(0, 229, 160, 0.035) 1px,
            transparent 1px
        );

    background-size: 45px 45px;
}

body::after {
    content: "";
    position: fixed;

    width: 500px;
    height: 500px;

    top: -180px;
    right: -150px;

    border-radius: 50%;

    pointer-events: none;
    z-index: -1;

    background: rgba(0, 188, 212, 0.10);

    filter: blur(100px);
}


/* =========================================================
   4. CONTAINER
   ========================================================= */

.container {
    width: min(90%, var(--container));
    margin: 0 auto;
}

section {
    position: relative;
}


/* =========================================================
   5. COMMON SECTION TITLES
   ========================================================= */

.section-title {
    text-align: center;

    font-size: 40px;
    line-height: 1.2;

    color: var(--primary);

    margin-bottom: 12px;
}

.section-subtitle {
    text-align: center;

    color: var(--text-muted);

    font-size: 16px;
    line-height: 1.7;

    margin-bottom: 50px;
}


/* =========================================================
   6. BUTTONS
   ========================================================= */

.btn-primary,
.btn-secondary {
    display: inline-block;

    padding: 13px 26px;

    border-radius: var(--radius-sm);

    font-weight: 700;
    text-decoration: none;

    cursor: pointer;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition),
        color var(--transition),
        border-color var(--transition);
}


/* Primary */

.btn-primary {
    color: #ffffff;

    background:
        linear-gradient(
            135deg,
            var(--primary-bright),
            var(--primary-dark)
        );

    border: 1px solid rgba(53, 230, 176, 0.35);

    box-shadow:
        0 8px 25px rgba(0, 200, 150, 0.18);
}

.btn-primary:hover {
    transform: translateY(-2px);

    box-shadow:
        0 12px 30px rgba(0, 200, 150, 0.30);
}

.btn-primary:active {
    transform: translateY(0);
}


/* Secondary */

.btn-secondary {
    color: var(--primary);

    background: rgba(53, 230, 176, 0.04);

    border: 1px solid var(--primary);
}

.btn-secondary:hover {
    background: var(--primary);
    color: var(--bg-main);

    transform: translateY(-2px);
}


/* Keyboard accessibility */

.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.nav-links a:focus-visible,
.service-card:focus-visible,
.started-card:focus-visible,
.footer-links a:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}


/* =========================================================
   7. HEADER / NAVIGATION
   ========================================================= */

header {
    position: sticky;
    top: 0;
    z-index: 1000;

    padding: 16px 0;

    background: rgba(5, 16, 30, 0.90);

    border-bottom:
        1px solid rgba(53, 230, 176, 0.12);

    box-shadow:
        0 8px 30px rgba(0, 0, 0, 0.25);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.navbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    gap: 25px;
}

.logo {
    flex-shrink: 0;
}

.logo h2 {
    color: var(--primary);

    font-size: 24px;
    line-height: 1.2;

    margin-bottom: 3px;
}

.logo p {
    color: #91a5b5;

    font-size: 13px;
    line-height: 1.3;
}

nav {
    margin-left: auto;
}

.nav-links {
    display: flex;

    align-items: center;

    list-style: none;

    gap: 28px;
}

.nav-links a {
    position: relative;

    display: inline-block;

    color: #d7e3ea;

    font-weight: 600;

    text-decoration: none;

    padding: 5px 0;

    transition: color var(--transition);
}

.nav-links a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: 0;

    width: 0;
    height: 2px;

    background: var(--primary);

    transition: width var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

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


/* =========================================================
   8. HERO
   ========================================================= */

.hero {
    min-height: 650px;

    display: flex;
    align-items: center;

    padding: 100px 0;

    background:
        radial-gradient(
            circle at 80% 45%,
            rgba(0, 188, 212, 0.13),
            transparent 32%
        ),
        radial-gradient(
            circle at 15% 30%,
            rgba(0, 200, 150, 0.09),
            transparent 30%
        );
}

.hero-content {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(320px, 450px);

    align-items: center;

    gap: 60px;
}

.hero-text {
    max-width: 680px;
}

.hero-text h1 {
    font-size: clamp(42px, 5vw, 58px);

    line-height: 1.08;

    color: var(--text-white);

    margin-bottom: 25px;

    letter-spacing: -1px;
}

.hero-text p {
    max-width: 650px;

    font-size: 18px;

    color: var(--text-muted);

    line-height: 1.8;

    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;

    gap: 15px;

    flex-wrap: wrap;
}


/*
   Intentional empty hero area.

   This replaces the old image area while keeping
   the hero visually balanced.
*/

.hero-content::after {
    content: "";

    display: block;

    width: 100%;
    min-height: 350px;
}


/* =========================================================
   9. SERVICES
   ========================================================= */

.services {
    padding: 90px 0;

    background: var(--bg-section);

    border-top:
        1px solid rgba(53, 230, 176, 0.08);

    border-bottom:
        1px solid rgba(53, 230, 176, 0.08);
}

.service-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   10. SERVICE CARDS
   ========================================================= */

.service-card {
    position: relative;

    display: block;

    min-height: 190px;

    padding: 30px;

    border-radius: var(--radius-md);

    text-decoration: none;

    color: inherit;

    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 61, 0.95),
            rgba(9, 27, 43, 0.95)
        );

    border:
        1px solid rgba(53, 230, 176, 0.10);

    box-shadow: var(--shadow-md);

    overflow: hidden;

    cursor: pointer;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(
            90deg,
            transparent,
            var(--primary),
            transparent
        );

    opacity: 0;

    transition: opacity var(--transition);
}

.service-card:hover {
    transform: translateY(-8px);

    border-color: var(--border-hover);

    box-shadow:
        0 18px 40px rgba(0, 200, 150, 0.14);
}

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

.service-card h3 {
    color: var(--primary);

    font-size: 20px;

    line-height: 1.4;

    margin-bottom: 15px;
}

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

    font-size: 15px;

    line-height: 1.7;
}


/* =========================================================
   11. ABOUT
   ========================================================= */

.about {
    padding: 90px 0;

    background: var(--bg-main);
}

.about-content {
    display: grid;

    grid-template-columns:
        1.2fr 1fr;

    align-items: center;

    gap: 60px;
}

.about-text .section-title {
    text-align: left;

    margin-bottom: 25px;
}

.about-text p {
    color: var(--text-muted);

    line-height: 1.8;

    margin-bottom: 18px;
}

.about-box {
    padding: 55px 30px;

    border-radius: var(--radius-lg);

    text-align: center;

    background:
        linear-gradient(
            145deg,
            rgba(0, 200, 150, 0.10),
            rgba(0, 188, 212, 0.06)
        );

    border:
        1px solid rgba(53, 230, 176, 0.20);

    box-shadow: var(--shadow-lg);
}

.about-box h3 {
    color: var(--primary);

    font-size: 28px;

    margin-bottom: 15px;
}

.about-box p {
    color: #a8bbc7;
}


/* =========================================================
   12. WHY CHOOSE US
   ========================================================= */

.why-us {
    padding: 90px 0;

    background: var(--bg-section);
}

.why-grid {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 20px;

    margin-top: 40px;
}

.why-card {
    padding: 28px 22px;

    min-height: 190px;

    border-radius: var(--radius-md);

    text-align: center;

    background:
        rgba(16, 36, 54, 0.90);

    border:
        1px solid rgba(53, 230, 176, 0.08);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.why-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(53, 230, 176, 0.35);

    box-shadow:
        0 15px 35px rgba(0, 200, 150, 0.08);
}

.why-card h3 {
    color: var(--primary);

    margin-bottom: 15px;

    font-size: 19px;
}

.why-card p {
    color: var(--text-muted);

    line-height: 1.6;
}


/* =========================================================
   13. CONTACT
   ========================================================= */

.contact {
    padding: 90px 0;

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(0, 200, 150, 0.08),
            transparent 35%
        ),
        var(--bg-main);
}

.contact-details {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 25px;

    margin-top: 40px;
}

.contact-card {
    min-height: 170px;

    padding: 30px 20px;

    text-align: center;

    border-radius: var(--radius-md);

    background:
        rgba(16, 36, 54, 0.90);

    border:
        1px solid rgba(53, 230, 176, 0.10);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.20);

    transition:
        transform var(--transition),
        border-color var(--transition);
}

.contact-card:hover {
    transform: translateY(-6px);

    border-color:
        rgba(53, 230, 176, 0.35);
}

.contact-card h3 {
    color: var(--primary);

    margin-bottom: 15px;

    font-size: 19px;
}

.contact-card p {
    color: var(--text-muted);

    line-height: 1.6;
}


/* =========================================================
   14. FOOTER
   ========================================================= */

.footer {
    padding-top: 60px;

    background: var(--bg-dark);

    color: #ffffff;

    border-top:
        1px solid rgba(53, 230, 176, 0.15);
}

.footer-grid {
    display: grid;

    grid-template-columns:
        1.5fr 1fr 1.2fr 1.2fr;

    gap: 40px;

    padding-bottom: 50px;
}

.footer h2 {
    color: var(--primary);

    margin-bottom: 15px;
}

.footer h3 {
    color: #ffffff;

    margin-bottom: 20px;
}

.footer p {
    color: var(--text-soft);

    line-height: 1.7;
}

.footer-brand p {
    max-width: 330px;
}

.footer-links {
    display: flex;

    flex-direction: column;

    gap: 10px;
}

.footer-links a {
    color: var(--text-soft);

    text-decoration: none;

    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-services p,
.footer-contact p {
    margin-bottom: 8px;
}

.footer-bottom {
    padding: 20px;

    text-align: center;

    border-top:
        1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    font-size: 14px;
}


/* =========================================================
   15. GET STARTED PAGE
   ========================================================= */

.get-started {
    min-height: 100vh;

    padding: 90px 0;

    background:
        radial-gradient(
            circle at 20% 10%,
            rgba(0, 200, 150, 0.10),
            transparent 30%
        ),
        radial-gradient(
            circle at 80% 80%,
            rgba(0, 188, 212, 0.08),
            transparent 30%
        ),
        var(--bg-main);
}

.started-header {
    text-align: center;

    margin-bottom: 50px;
}

.started-header h1 {
    font-size: clamp(34px, 5vw, 46px);

    line-height: 1.15;

    color: #ffffff;

    margin-bottom: 15px;
}

.started-header p {
    max-width: 700px;

    margin: 0 auto;

    font-size: 18px;

    color: var(--text-muted);

    line-height: 1.6;
}


/* =========================================================
   16. GET STARTED SERVICE GRID
   ========================================================= */

.started-services {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 25px;
}


/* =========================================================
   17. GET STARTED CARDS
   ========================================================= */

.started-card {
    position: relative;

    display: block;

    min-height: 200px;

    padding: 30px;

    border-radius: var(--radius-md);

    text-align: center;

    text-decoration: none;

    color: inherit;

    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 61, 0.95),
            rgba(9, 27, 43, 0.95)
        );

    border:
        1px solid rgba(53, 230, 176, 0.10);

    box-shadow:
        0 12px 30px rgba(0, 0, 0, 0.25);

    cursor: pointer;

    overflow: hidden;

    transition:
        transform var(--transition),
        border-color var(--transition),
        box-shadow var(--transition);
}

.started-card::before {
    content: "";

    position: absolute;

    left: 50%;
    top: 0;

    width: 0;
    height: 2px;

    background: var(--primary);

    transform: translateX(-50%);

    transition: width var(--transition);
}

.started-card:hover {
    transform: translateY(-8px);

    border-color:
        rgba(53, 230, 176, 0.45);

    box-shadow:
        0 18px 40px rgba(0, 200, 150, 0.14);
}

.started-card:hover::before {
    width: 70%;
}

.started-card h3 {
    color: var(--primary);

    margin-bottom: 12px;

    font-size: 19px;

    line-height: 1.4;
}

.started-card p {
    color: var(--text-muted);

    line-height: 1.6;

    font-size: 15px;
}


/* =========================================================
   18. GET STARTED ACTION
   ========================================================= */

.started-action {
    margin-top: 60px;

    padding: 45px 25px;

    text-align: center;

    border-radius: 16px;

    background:
        linear-gradient(
            145deg,
            rgba(19, 42, 61, 0.95),
            rgba(9, 27, 43, 0.95)
        );

    border:
        1px solid rgba(53, 230, 176, 0.12);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.25);
}

.started-action h2 {
    color: #ffffff;

    margin-bottom: 10px;

    font-size: 28px;
}

.started-action p {
    color: var(--text-muted);

    margin-bottom: 25px;

    line-height: 1.6;
}

.started-back {
    margin-top: 25px;
}


/* =========================================================
   19. TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .navbar {
        gap: 18px;
    }

    .nav-links {
        gap: 18px;
    }

    .hero-content {
        gap: 40px;
    }

    .service-grid,
    .started-services {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .why-grid,
    .contact-details {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .footer-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }
}


/* =========================================================
   20. TABLET / SMALL LAPTOP
   ========================================================= */

@media (max-width: 850px) {

    .navbar {
        flex-wrap: wrap;

        justify-content: center;
    }

    .logo {
        width: 100%;

        text-align: center;
    }

    nav {
        margin-left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;

        text-align: center;
    }

    .hero-text {
        max-width: 750px;

        margin: 0 auto;
    }

    .hero-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-content::after {
        min-height: 180px;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 40px;
    }

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

    .about-box {
        max-width: 650px;

        width: 100%;

        margin: 0 auto;
    }
}


/* =========================================================
   21. MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .container {
        width: 92%;
    }

    /* Header */

    header {
        padding: 14px 0;
    }

    .navbar {
        flex-direction: column;

        gap: 16px;

        text-align: center;
    }

    .logo {
        width: auto;
    }

    nav {
        width: 100%;
    }

    .nav-links {
        flex-wrap: wrap;

        justify-content: center;

        gap: 10px 18px;
    }

    .nav-links a {
        font-size: 14px;
    }

    .navbar > .btn-primary {
        display: none;
    }


    /* Hero */

    .hero {
        min-height: auto;

        padding: 75px 0;
    }

    .hero-text h1 {
        font-size: 42px;

        letter-spacing: -0.5px;
    }

    .hero-text p {
        font-size: 16px;

        line-height: 1.7;
    }

  /* Hero buttons */

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }


    /* Common sections */

    .section-title {
        font-size: 32px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 35px;
    }


    /* Services */

    .services {
        padding: 70px 0;
    }

    .service-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .service-card h3 {
        font-size: 18px;
    }


    /* About */

    .about {
        padding: 70px 0;
    }

    .about-content {
        gap: 30px;
    }

    .about-text p {
        font-size: 15px;
    }

    .about-box {
        padding: 40px 25px;
    }

    .about-box h3 {
        font-size: 24px;
    }


    /* Why choose us */

    .why-us {
        padding: 70px 0;
    }

    .why-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .why-card {
        min-height: auto;
        padding: 25px 20px;
    }


    /* Contact */

    .contact {
        padding: 70px 0;
    }

    .contact-details {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-top: 30px;
    }

    .contact-card {
        min-height: auto;
        padding: 25px 20px;
    }


    /* Footer */

    .footer {
        padding-top: 50px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 35px;
        text-align: center;
        padding-bottom: 40px;
    }

    .footer-brand p {
        max-width: 100%;
        margin: 0 auto;
    }

    .footer-links {
        align-items: center;
    }

    .footer-services p,
    .footer-contact p {
        margin-bottom: 8px;
    }


    /* Get Started */

    .get-started {
        padding: 65px 0;
    }

    .started-header {
        margin-bottom: 35px;
    }

    .started-header h1 {
        font-size: 34px;
    }

    .started-header p {
        font-size: 16px;
    }

    .started-services {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .started-card {
        min-height: auto;
        padding: 26px 22px;
    }

    .started-card h3 {
        font-size: 18px;
    }

    .started-card p {
        font-size: 15px;
    }

    .started-action {
        margin-top: 40px;
        padding: 35px 20px;
    }

    .started-action h2 {
        font-size: 24px;
    }

}


/* =========================================================
   22. SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

    .container {
        width: 91%;
    }


    /* Header */

    .logo h2 {
        font-size: 21px;
    }

    .logo p {
        font-size: 12px;
    }

    .nav-links {
        gap: 8px 14px;
    }

    .nav-links a {
        font-size: 13px;
    }


    /* Hero */

    .hero {
        padding: 60px 0;
    }

    .hero-text h1 {
        font-size: 35px;
        line-height: 1.12;
    }

    .hero-text p {
        font-size: 15px;
        line-height: 1.65;
    }

    .hero-content::after {
        min-height: 100px;
    }


    /* Buttons */

    .btn-primary,
    .btn-secondary {
        padding: 12px 20px;
        font-size: 14px;
    }


    /* Common */

    .section-title {
        font-size: 29px;
    }

    .section-subtitle {
        font-size: 14px;
    }


    /* Cards */

    .service-card,
    .started-card {
        padding: 23px 18px;
    }

    .service-card h3,
    .started-card h3 {
        font-size: 17px;
    }

    .service-card p,
    .started-card p {
        font-size: 14px;
    }


    /* About */

    .about-box {
        padding: 35px 20px;
    }

    .about-box h3 {
        font-size: 22px;
    }


    /* Contact */

    .contact-card {
        padding: 23px 18px;
    }


    /* Started action */

    .started-action {
        padding: 30px 18px;
    }

    .started-action h2 {
        font-size: 22px;
    }

}


/* =========================================================
   23. VERY SMALL DEVICES
   ========================================================= */

@media (max-width: 360px) {

    .container {
        width: 90%;
    }

    .hero-text h1 {
        font-size: 31px;
    }

    .section-title {
        font-size: 26px;
    }

    .nav-links {
        gap: 7px 10px;
    }

    .nav-links a {
        font-size: 12px;
    }

    .btn-primary,
    .btn-secondary {
        font-size: 13px;
        padding: 11px 16px;
    }

}


/* =========================================================
   24. REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   25. FINAL SAFETY / LAYOUT FIXES
   ========================================================= */

/* Prevent long text from breaking cards */

.service-card h3,
.started-card h3,
.service-card p,
.started-card p,
.contact-card p,
.footer p {
    overflow-wrap: break-word;
    word-wrap: break-word;
}


/* Keep buttons usable on small screens */

.btn-primary,
.btn-secondary {
    user-select: none;
}


/* Remove default outline only when focus is not visible */

a:focus:not(:focus-visible) {
    outline: none;
}


/* Make anchor cards behave consistently */

.service-card,
.started-card {
    -webkit-user-select: none;
    user-select: none;
}


/* Ensure sections don't create horizontal overflow */

section,
header,
footer {
    max-width: 100%;
}


/* =========================================================
   END OF STYLE.CSS
   ========================================================= */


/* =========================================================
   26. POLISHED PRODUCTION ENHANCEMENTS
   ========================================================= */

/* Smoother text rendering */
html {
    -webkit-text-size-adjust: 100%;
    text-rendering: optimizeLegibility;
}

body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Media elements */
img,
svg,
video,
canvas {
    display: block;
    max-width: 100%;
}

img {
    vertical-align: middle;
}

/* Better interactive defaults */
button,
input,
textarea,
select {
    font: inherit;
}

button {
    border: 0;
}

button:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    transform: none;
}

/* Improve anchor-card touch behavior */
.service-card,
.started-card {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

/* Make buttons feel consistent across browsers */
.btn-primary,
.btn-secondary {
    min-height: 46px;
    text-align: center;
    vertical-align: middle;
}

/* Stronger visible keyboard state */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 4px;
}

/* Header blur fallback */
@supports not (backdrop-filter: blur(12px)) {
    header {
        background: rgba(5, 16, 30, 0.98);
    }
}

/* Keep decorative layers from interfering with interaction */
body::before,
body::after {
    user-select: none;
}

/* Prevent accidental layout overflow from long UI content */
h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
    overflow-wrap: anywhere;
}

/* Better mobile tap targets */
@media (max-width: 768px) {
    .nav-links a {
        min-height: 36px;
        display: inline-flex;
        align-items: center;
    }

    .btn-primary,
    .btn-secondary {
        min-height: 48px;
    }
}

/* Very small screens: prevent oversized typography */
@media (max-width: 360px) {
    .hero-text h1 {
        overflow-wrap: normal;
        word-break: normal;
    }
}
