/*
 * myasltech.php ("About myASLTech" landing page).
 * Scoped under body.asltech-about so nothing leaks into other pages.
 * Loaded after style.css / myasltech.css / asltech-modern.css.
 *
 * Background art: drop a cropped image at images/myasltech/about-bg.jpg
 * (recommended 1920 x 1300, JPG ~200-300KB). It is shown with
 * background-size: cover, centred, so keep the important illustrations
 * toward the left/right edges — the centre is covered by the white card.
 */

/* -------------------------------------------------------------------
   Make the fixed-width shell fluid on this page only
   ----------------------------------------------------------------- */
/* Header, nav, red bar and footer run edge to edge; their contents stay
   lined up with a centred 960px column via side padding. */
body.asltech-about {
    margin: 0;
}
body.asltech-about #wrapper,
body.asltech-about #banner {
    width: 100%;
    max-width: none;
    box-sizing: border-box;
}
/* Header: hi-res IDRT logo on the left, tagline on the right (same look as index_new.php) */
body.asltech-about .banner-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 6px 20px 16px;
    box-sizing: border-box;
}
body.asltech-about .banner-modern-logo { flex-shrink: 0; }
body.asltech-about .banner-modern #logo {
    display: block;
    height: 64px;
    width: auto;
}
body.asltech-about .banner-modern-tagline {
    margin: 0;
    padding: 0;
    max-width: 28rem;
    text-align: right;
    font-family: 'Outfit', sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.375;
    color: #2B5EA7;
}
body.asltech-about #banner > div#social {
    display: none; /* no Facebook/Twitter icons on this page */
}
body.asltech-about .myasltech-quick-links ul {
    padding-left: max(30px, calc((100% - 960px) / 2 + 30px));
    margin: 0;
}
body.asltech-about footer {
    background: #fff;
    height: auto;
    padding-bottom: 16px;
}
/* Keep the footer at the bottom of the window on short pages.
   The page is a column at least one window tall; a spacer (::after, shown just
   before the footer) takes up the spare room. It is never less than the old
   25px gap, so long pages look the same as before. */
body.asltech-about #wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body.asltech-about #wrapper::after {
    content: "";
    flex: 1 0 25px;
    order: 1;
}
body.asltech-about #wrapper > footer {
    order: 2;
    margin: 0;        /* style.css centres it with auto margins, which would shrink it in the column */
    width: 100%;
    box-sizing: border-box;
}
body.asltech-about .footlist {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
body.asltech-about a.footlink:link,
body.asltech-about a.footlink:visited {
    float: none;
    display: inline-block;
}

/* -------------------------------------------------------------------
   Background art covers the whole window (incl. the side gutters)
   ----------------------------------------------------------------- */
body.asltech-about {
    background: #6699dd url("/assets/images/about-bg.jpg") center top / cover no-repeat fixed;
}
body.asltech-about #wrapper {
    background: transparent;
}

/* Older pages (asltech_index, asltech_info, aboutIDRT, contact, policies): keep the 960px logo row centred on the full-width page */
body.asltech-about .index-logos {
    max-width: 960px;
    width: 100%; /* fill the column (the page is a flex column for the bottom footer) */
    margin: 0 auto;
    overflow: hidden;
    box-sizing: border-box;
}

/* aboutIDRT, contact, policies: title banner lined up with the top-left corner of the 800px white box */
body.asltech-about .index-logos.logo-box { max-width: 800px; }
body.asltech-about .index-logos.logo-box .largelogo {
    float: left;
    margin: 16px 0 0;
}
body.asltech-about .index-logos.logo-box + #whiteboxhome { margin-top: 0; }

/* asltech_home.php: "About myASLTech" heading with the Go to myASLTech button on the right */
body.asltech-about .about-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 0 0 16px;
}
body.asltech-about .about-head h1.headindented {
    margin: 0;
    padding: 0;
}

/* asltech_index.php: "myASLTech Tools" heading with its buttons on the right */
body.asltech-about .tools-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 16px;
    margin: 0 3%;
}
body.asltech-about .tools-head h1.headindented {
    margin: 0;
    padding: 0;
}
body.asltech-about .tools-head-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}
body.asltech-about .tools-head-links li { margin: 0; padding: 0; }
body.asltech-about .tools-head-links a { float: none; display: inline-block; margin: 0; }
body.asltech-about #techHome .productDiv { margin: 0 auto; }
body.asltech-about #techHome p.tools-intro { margin: 10px 0 0; padding-bottom: 0; }
/* less white space under the Quick Overview / myASLTech Webinar row */
body.asltech-about #techHome .productDiv > section[class]:not(.box) { margin-bottom: 0; }
body.asltech-about #techHome { padding-bottom: 16px; }

/* -------------------------------------------------------------------
   Hero area
   ----------------------------------------------------------------- */
body.asltech-about .about-hero {
    display: block;
    padding: 0 20px 40px;
}

body.asltech-about .about-top {
    /* same spot as the logo row on asltech_index.php: 50px into the centred 960px column, banner 45px to its right */
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 20px 45px;
    max-width: 960px;
    margin: 0 auto 46px;
    padding: 20px 0 0 50px;
    box-sizing: border-box;
    background: transparent; /* logo + banner sit directly on the page background, as on asltech_index.php */
}
body.asltech-about .about-logo img {
    display: block;
    max-width: 100%;
    height: auto;
}
body.asltech-about .about-logo { flex-shrink: 1; min-width: 0; }
body.asltech-about .about-promo {
    flex-shrink: 0;
}
body.asltech-about .about-promo img {
    display: block;
    max-width: 100%; /* natural size; only shrinks if the screen is narrower */
    height: auto;
    border: 0;
    border-radius: 12px;
    transition: transform .25s ease;
}
body.asltech-about .about-promo:hover img {
    transform: translateY(-3px);
}

/* -------------------------------------------------------------------
   White card
   ----------------------------------------------------------------- */
body.asltech-about .about-card {
    position: relative;
    max-width: 840px; /* same width as the white panel on asltech_index.php */
    margin: 0 auto;
    padding: 24px 30px 22px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 25px -8px rgba(15, 23, 42, .25);
    box-sizing: border-box;
}
body.asltech-about .about-card h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800;
    font-size: 28px;
    line-height: 1.2;
    color: #0f172a;
    margin: 0 0 12px;
    padding: 0;
}
body.asltech-about .about-hands {
    display: block;     /* sits on its own line, left-aligned, text starts below */
    width: 64px;
    height: auto;
    margin: 0 0 12px;
}
body.asltech-about .about-intro,
body.asltech-about .about-note {
    font-family: 'Inter', arial, sans-serif;
    font-size: 15px;
    line-height: 1.45;
    color: #000;
    padding: 0;
    margin: 0 0 16px;
}
body.asltech-about .about-note {
    margin: 16px 0 0;
    font-size: 14px;
}

/* Feature pills */
body.asltech-about .about-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 16px;
}
body.asltech-about .about-features li {
    position: relative;
    display: flex;
    padding: 0;
    background: #fff;
    border: 3px solid #9cbbeb;
    border-radius: 22px;
    box-shadow: 0 4px 8px -3px rgba(30, 64, 175, .25);
    font-family: 'Inter', arial, sans-serif;
    font-size: 14px;
    line-height: 1.35;
    color: #000;
    transition: transform .2s ease, border-color .2s ease;
}
body.asltech-about .about-features li::before {
    content: "*";
    position: absolute;
    left: 11px;
    top: 9px;
    color: #dc2626;
}
body.asltech-about .about-features li:hover {
    transform: translateY(-2px);
    border-color: #2563eb;
}
/* The link fills the whole box so the entire pill is clickable */
body.asltech-about .about-features li a,
body.asltech-about .about-features li a:visited {
    flex: 1;
    display: block;
    padding: 9px 14px 9px 20px;
    border-radius: 19px;
    color: inherit;
    text-decoration: none;
}
body.asltech-about .about-features li a:focus-visible {
    outline: 3px solid #2563eb;
    outline-offset: 2px;
}
body.asltech-about .about-features li::before {
    pointer-events: none;
}
/* Pastel fills, row by row (left, right) */
body.asltech-about .about-features li:nth-child(1)  { background: #d9f4fb; } /* cyan */
body.asltech-about .about-features li:nth-child(2)  { background: #d6f7ec; } /* mint */
body.asltech-about .about-features li:nth-child(3)  { background: #fdf0d5; } /* peach */
body.asltech-about .about-features li:nth-child(4)  { background: #dfe9fb; } /* light blue */
body.asltech-about .about-features li:nth-child(5)  { background: #e2f7d9; } /* green */
body.asltech-about .about-features li:nth-child(6)  { background: #fbe1e4; } /* pink */
body.asltech-about .about-features li:nth-child(7)  { background: #dcedfb; } /* sky */
body.asltech-about .about-features li:nth-child(8)  { background: #ebe1f7; } /* lavender */
body.asltech-about .about-features li:nth-child(9)  { background: #fde4dc; } /* rose */
body.asltech-about .about-features li:nth-child(10) { background: #fbf8d3; } /* yellow */

/* Buttons */
body.asltech-about .about-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 22px;
}
body.asltech-about .about-actions-left {
    display: flex;
    gap: 10px;
}
body.asltech-about a.about-btn,
body.asltech-about a.about-btn:visited {
    display: inline-block;
    padding: 5px 12px;
    background: #dc2626;
    color: #fff;
    border-radius: 999px;
    font-family: 'Inter', arial, sans-serif;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
    transition: background-color .2s ease, transform .2s ease;
}
body.asltech-about a.about-btn:hover {
    background: #b91c1c;
    transform: translateY(-1px);
}
body.asltech-about a.about-btn-go {
    padding: 6px 18px;
    font-size: 14px;
}

/* -------------------------------------------------------------------
   Responsive
   ----------------------------------------------------------------- */
@media (max-width: 960px) {
    body.asltech-about { margin: 0; }

    /* nav: let the links wrap instead of overflowing */
    body.asltech-about nav { height: auto; clear: both; }
    body.asltech-about nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 4px 0;
    }
    body.asltech-about nav li {
        display: block;
        height: auto;
        padding: 4px 0;
    }
    body.asltech-about a.navbar:link,
    body.asltech-about a.navbar:visited { margin: 0 16px; }

    /* footer links */
    body.asltech-about .footlist {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        height: auto;
        padding: 6px 0;
    }
    body.asltech-about a.footlink:link,
    body.asltech-about a.footlink:visited {
        float: none;
        display: inline-block;
        margin: 0 20px;
        padding: 2px 6px;
    }
    body.asltech-about footer { height: auto; padding-bottom: 16px; }
    body.asltech-about .centeredtxt { padding: 0 16px; }
}

@media (max-width: 640px) {
    body.asltech-about .banner-modern { padding: 4px 16px 12px; }
    body.asltech-about .banner-modern #logo { height: 56px; }
    body.asltech-about .banner-modern-tagline { display: none; }
    body.asltech-about div#social { margin-right: 10px; }
    body.asltech-about .about-hero { padding: 16px 16px 30px; }
    body.asltech-about .about-top {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 16px 0 0;
        margin-bottom: 20px;
    }
    body.asltech-about .about-card { padding: 20px 18px; }
    body.asltech-about .about-card h1 { font-size: 24px; }
    body.asltech-about .about-hands { width: 48px; }
    body.asltech-about .about-features { grid-template-columns: 1fr; gap: 10px; }
    body.asltech-about a.navbar:link,
    body.asltech-about a.navbar:visited { margin: 0 10px; font-size: 14px; }
}
