/* AZSTAR Solutions — mockup-matched v3, unified styles */
:root {
    --navy: #081c37;
    --navy-deep: #061327;
    --blue: #1976d2;
    --blue-dark: #125da8;
    --gold: #f5b51b;
    --text: #15233b;
    --muted: #60718a;
    --soft: #f3f6fa;
    --line: #dce5ef;
    --white: #fff;
    --radius: 16px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 95px; }
body { margin: 0; font: 16px/1.65 Inter, system-ui, -apple-system, "Segoe UI", Arial, sans-serif; color: var(--text); background: var(--white); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input, textarea { font: inherit; }
.container { width: min(1250px, calc(100% - 46px)); margin-inline: auto; }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; padding: 9px 15px; color: #fff; background: var(--navy); }
.skip-link:focus { top: 8px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.98); border-bottom: 1px solid var(--line); box-shadow: 0 5px 22px rgba(8,28,55,.045); }
.header-inner { min-height: 78px; display: flex; align-items: center; gap: 24px; }
.brand { margin-right: auto; display: flex; align-items: center; flex: 0 0 auto; }
.brand img { display: block; width: 177px; height: auto; max-height: 70px; object-fit: contain; }
.brand-text { font-size: 25px; font-weight: 850; line-height: 1.1; color: var(--navy); letter-spacing: -.04em; }
.brand-text em { font-style: normal; color: var(--blue); }
.main-nav { display: flex; align-items: center; gap: 17px; }
.main-nav a { font-size: 13px; font-weight: 700; white-space: nowrap; transition: color .2s ease; }
.main-nav a:hover, .text-link:hover { color: var(--blue); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.mobile-menu { display: none; position: relative; }

/* Shared elements */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 48px; padding: 11px 19px; border: 1px solid transparent; border-radius: 9px; font-size: 14px; font-weight: 750; line-height: 1.25; text-align: center; transition: background-color .2s ease, transform .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--blue); }
.button-primary:hover { background: var(--blue-dark); }
.button-outline-light { color: #fff; border-color: rgba(255,255,255,.5); }
.button-outline-light:hover { background: rgba(255,255,255,.1); }
.button-light { color: var(--navy); background: #fff; }
.button-light:hover { background: #f0f5fb; }
.header-cta { white-space: nowrap; }
.eyebrow { display: inline-block; margin-bottom: 14px; font-size: 12px; font-weight: 850; letter-spacing: .15em; color: var(--blue); }
.eyebrow-gold { color: var(--gold); }
.section { padding: 66px 0; }
.section-soft { background: var(--soft); }
.section-heading { max-width: 840px; margin-bottom: 36px; }
.section-heading h2, .about-section h2, .contact-section h2 { margin: 0 0 14px; font-size: clamp(31px, 3.15vw, 43px); font-weight: 800; line-height: 1.14; letter-spacing: -.035em; color: var(--navy); }
.section-heading p { margin: 0; color: var(--muted); font-size: 17px; line-height: 1.75; }


/* Dark photo hero with a glass service panel, following approved mockup. */
.hero { position: relative; isolation: isolate; min-height: 510px; overflow: hidden; background: var(--navy-deep); display: flex; align-items: center; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-position: center 54%; background-size: cover; background-repeat: no-repeat; }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgba(3,18,37,.98) 0%, rgba(5,23,46,.90) 34%, rgba(7,25,48,.58) 66%, rgba(5,20,39,.38) 100%); }
.hero-grid { width: min(1250px, calc(100% - 46px)); display: grid; grid-template-columns: minmax(0,1.42fr) minmax(285px,.85fr); gap: clamp(28px,5vw,85px); align-items: center; padding-block: 67px; }
.hero-copy { position: relative; }
.hero h1 { max-width: 760px; margin: 0 0 24px; font-size: clamp(37px,4.25vw,60px); font-weight: 850; letter-spacing: -.055em; line-height: 1.10; color: #fff; }
.hero-highlight { color: #1b91f5; }
.hero-lead { margin: 0 0 14px; color: #f5f9ff; font-size: clamp(17px,1.6vw,20px); font-weight: 650; line-height: 1.45; }
.hero-description { max-width: 590px; margin: 0; color: #b5c9e1; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-aside { padding: 28px; color: white; background: rgba(30,67,110,.56); border: 1px solid rgba(255,255,255,.17); border-radius: 15px; backdrop-filter: blur(13px); box-shadow: 0 16px 42px rgba(0,15,37,.16); }
.hero-aside-label { color: #a4c5e8; font-size: 11px; letter-spacing: .15em; font-weight: 800; }
.hero-aside h2 { margin: 17px 0 23px; max-width: 260px; font-size: clamp(22px,2.3vw,27px); line-height: 1.26; letter-spacing: -.035em; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; }
.hero-tags span { display: inline-flex; align-items: center; min-height: 34px; padding: 7px 10px; border-radius: 7px; background: rgba(64,108,157,.38); border: 1px solid rgba(255,255,255,.12); gap: 7px; font-size: 11px; font-weight: 700; white-space: nowrap; }
.hero-tags svg { width: 15px; height: 15px; flex: none; color: #69bdff; }
.hero-aside p { margin: 19px 0 0; padding-top: 15px; border-top: 1px solid rgba(255,255,255,.18); color: #bbd0e9; font-size: 12px; }

/* Six compact service cards, matching the mockup, with a CMS-backed directory below. */
.solutions-section { background: #f4f8fc; padding-top: 65px; padding-bottom: 60px; }
.solutions-heading-row { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,.8fr) auto; gap: 28px; align-items: end; margin-bottom: 25px; }
.solutions-heading-row .eyebrow { margin-bottom: 9px; }
.solutions-heading-row h2 { margin: 0; max-width: 650px; font-size: clamp(27px,3.1vw,39px); line-height: 1.14; letter-spacing: -.04em; color: var(--navy); }
.solutions-heading-row p { margin: 0 0 4px; font-size: 14px; line-height: 1.6; color: var(--muted); }
.solutions-all { white-space: nowrap; font-size: 12px; min-height: 43px; padding: 10px 13px; }
.solution-cards { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 15px; }
.solution-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 5px 18px rgba(7,34,69,.035); transition: transform .2s ease, box-shadow .2s ease; }
.solution-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(7,34,69,.11); }
.solution-photo { width: 100%; height: 117px; background: #d5e2f0; overflow: hidden; }
.solution-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.solution-icon { display: grid; place-items: center; width: 42px; height: 42px; margin: -21px 0 0 13px; z-index: 1; background: #fff; border: 1px solid #e4edf6; border-radius: 10px; color: #0871da; box-shadow: 0 3px 8px rgba(7,34,69,.05); }
.solution-icon svg { width: 22px; height: 22px; }
.solution-body { padding: 12px 14px 17px; }
.solution-body h3 { margin: 0 0 8px; font-size: 14px; line-height: 1.25; color: #102340; letter-spacing: -.01em; }
.solution-body p { margin: 0; font-size: 12px; line-height: 1.6; color: #5e7190; }
.service-directory { margin-top: 20px; padding: 0 21px; border: 1px solid #dce7f1; border-radius: 11px; background: rgba(255,255,255,.8); }
.service-directory summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 1px; cursor: pointer; font-size: 14px; font-weight: 750; color: var(--blue-dark); list-style: none; }
.service-directory summary::-webkit-details-marker { display: none; }
.service-directory[open] summary { border-bottom: 1px solid var(--line); }
.service-directory[open] summary span:last-child { transform: rotate(45deg); }
.directory-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 34px; padding: 22px 0 26px; }
.directory-panel h3 { margin: 0 0 12px; font-size: 19px; }
.service-list { border-top: 1px solid var(--line); }
.service-item { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 650; }

/* Industries: compact horizontal image-led cards, 4 + 3 centered on desktop. */
.industries-section { padding-top: 61px; padding-bottom: 64px; background: #fff; }
.industries-heading { max-width: 1050px; margin-bottom: 29px; }
.industries-heading h2 { font-size: clamp(29px,3.05vw,41px); margin-bottom: 9px; }
.industries-heading p { font-size: 15px; line-height: 1.65; max-width: 1040px; }
.industries-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 15px; }
.industry-card { position: relative; flex: 0 1 calc((100% - 45px)/4); min-width: 0; min-height: 149px; display: grid; grid-template-columns: 36% minmax(0,1fr); border: 1px solid #dfebf4; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 14px rgba(8,28,55,.035); transition: transform .2s ease,box-shadow .2s ease; }
.industry-card::before { content: ""; height: 3px; background: var(--blue); position: absolute; top: 0; left: 0; right: 0; z-index: 2; }
.industry-card:nth-child(4)::before,.industry-card:nth-child(5)::before { background: var(--gold); }
.industry-card:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(8,28,55,.09); }
.industry-photo { position: relative; min-height: 150px; background: #d7e3ee; overflow: hidden; }
.industry-photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; display: block; }
.industry-content { padding: 15px 13px; min-width: 0; }
.industry-content h3 { margin: 0 0 7px; color: #0c213d; font-size: 13px; font-weight: 800; line-height: 1.3; }
.industry-content p { margin: 0; color: #5f728d; font-size: 11px; line-height: 1.5; }

/* Featured projects */
.projects-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: stretch; }
.project-card { flex: 0 1 calc((100% - 48px)/3); min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: box-shadow .2s ease, transform .2s ease; }
.project-card:only-child { flex-basis: min(100%, 560px); }
.project-card:first-child:nth-last-child(2), .project-card:nth-child(2):last-child { flex-basis: calc((100% - 24px)/2); }
.project-card:hover { transform: translateY(-4px); box-shadow: 0 17px 34px rgba(8,28,55,.11); }
.project-card-link { display: flex; flex-direction: column; height: 100%; color: inherit; }
.project-photo { aspect-ratio: 16 / 9; background: var(--navy); overflow: hidden; }
.project-photo img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.project-card:hover .project-photo img { transform: scale(1.04); }
.project-photo-placeholder { display: grid; place-items: center; height: 100%; color: #d7e6fa; font-weight: 750; }
.project-content { display: flex; flex-direction: column; flex: 1; padding: 24px; }
.project-category { color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.project-content h3 { margin: 9px 0 11px; color: var(--navy); font-size: 23px; line-height: 1.3; letter-spacing: -.02em; }
.project-content p { margin: 0 0 13px; color: var(--muted); font-size: 15px; }
.project-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; color: #728198; font-size: 12px; font-weight: 650; }
.project-tech { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.project-tech span { padding: 5px 9px; border-radius: 6px; color: #145b9b; background: #eaf2fb; font-size: 11px; font-weight: 750; }
.project-readmore { display: block; margin-top: auto; padding-top: 20px; color: var(--blue); font-size: 13px; font-weight: 800; }

/* Why AZSTAR */
.why-section { color: #fff; background: radial-gradient(ellipse at 88% 13%, rgba(25,118,210,.2), transparent 35%), var(--navy); }
.section-heading-light h2 { color: #fff; }
.section-heading-light p { color: #b4c7de; }
.why-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 18px; }
.why-card { padding: 27px; border: 1px solid rgba(255,255,255,.13); border-radius: 13px; background: rgba(255,255,255,.055); }
.why-card h3 { margin: 0 0 11px; color: #fff; font-size: 20px; }
.why-card p { margin: 0; color: #c0cee0; font-size: 14px; line-height: 1.7; }

/* About, contact and footer */
.about-section { background: #fff; }
.about-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: start; }
.about-lead { margin: 19px 0 0; color: var(--blue); font-size: 18px; font-weight: 750; }
.about-content { color: #52647d; font-size: 17px; }
.about-content p:first-child { margin-top: 0; }
.about-content p:last-of-type { margin-bottom: 18px; }
.text-link { display: inline-block; margin-top: 7px; color: var(--blue); font-size: 14px; font-weight: 800; }
.contact-section { padding: 68px 0; background: linear-gradient(116deg, #0d4280, var(--blue) 66%, #0d5ea9); border-top: 4px solid var(--gold); color: #fff; }
.contact-inner { display: flex; align-items: center; justify-content: space-between; gap: 52px; }
.contact-inner > div:first-child { max-width: 700px; }
.contact-section h2 { color: #fff; }
.contact-section p { margin: 0; color: #e3eefb; font-size: 16px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 11px; flex: 0 0 auto; }
.site-footer { padding: 51px 0 22px; color: #bac8d9; background: var(--navy-deep); }
.footer-grid { display: grid; grid-template-columns: 1.45fr 1fr .7fr; gap: 54px; }
.footer-grid > div { display: flex; flex-direction: column; align-items: flex-start; gap: 7px; }
.footer-grid h2 { margin: 0 0 7px; color: #fff; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-grid p { margin: 0; }
.footer-brand strong { color: #fff; font-size: 27px; line-height: 1.1; letter-spacing: -.04em; }
.footer-brand strong span { color: var(--gold); }
.footer-brand p { margin: 6px 0 0; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 36px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 12px; }

/* Tablet and mobile */
@media (max-width: 1120px) {
    .main-nav { display: none; }
    .mobile-menu { display: block; }
    .mobile-menu summary { display: flex; align-items: center; gap: 10px; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; color: var(--navy); font-size: 14px; font-weight: 750; cursor: pointer; list-style: none; }
    .mobile-menu summary::-webkit-details-marker { display: none; }
    .mobile-menu summary span { font-size: 20px; line-height: 1; }
    .mobile-links { position: absolute; right: 0; top: calc(100% + 10px); width: 230px; display: flex; flex-direction: column; padding: 9px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 20px 35px rgba(8,28,55,.16); }
    .mobile-links a { padding: 9px 11px; border-radius: 7px; font-size: 14px; font-weight: 650; }
    .mobile-links a:hover { background: var(--soft); color: var(--blue); }
    .industry-card { flex-basis: calc((100% - 30px)/3); }
    .why-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 850px) {
    .section { padding: 67px 0; }
    .hero { min-height: 0; }
    .hero-grid { grid-template-columns: 1fr; gap: 36px; }
    .hero-aside { max-width: 680px; }
    .industry-card { flex-basis: calc((100% - 17px)/2); }
    .project-card { flex-basis: calc((100% - 24px)/2); }
    .about-grid { grid-template-columns: 1fr; gap: 25px; }
    .contact-inner { align-items: flex-start; flex-direction: column; gap: 26px; }
}
@media (max-width: 580px) {
    html { scroll-padding-top: 72px; }
    .container { width: calc(100% - 30px); }
    .header-inner { min-height: 72px; gap: 10px; }
    .brand img { width: 148px; max-height: 56px; }
    .brand-text { font-size: 19px; }
    .header-cta { display: none; }
    .hero { min-height: 0; }
    .hero h1 { font-size: clamp(36px, 9vw, 46px); }
    .hero-aside { padding: 23px; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .section-heading h2, .about-section h2, .contact-section h2 { font-size: 33px; }
    .section-heading p { font-size: 15px; }
    .solution-panel { padding: 25px; }
    .industry-card, .project-card, .project-card:only-child, .project-card:first-child:nth-last-child(2), .project-card:nth-child(2):last-child { flex-basis: 100%; }
    
    .why-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-grid { gap: 27px; }
    .contact-actions { width: 100%; }
    .contact-actions .button { flex: 1 1 160px; }
    .footer-bottom { flex-direction: column; gap: 3px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* Project case-study page — shared stylesheet, independent of the homepage */
.project-detail-hero { padding: 66px 0; color: #fff; background: radial-gradient(ellipse at 80% 15%, rgba(25,118,210,.22), transparent 35%), var(--navy); }
.project-back { display: inline-block; margin-bottom: 30px; color: #bdcee2; font-size: 14px; font-weight: 700; }
.project-back:hover { color: #fff; }
.project-detail-heading { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(220px,.6fr); gap: 54px; align-items: end; }
.project-detail-heading h1 { margin: 0 0 18px; color: #fff; font-size: clamp(39px, 4.8vw, 66px); line-height: 1.08; letter-spacing: -.04em; }
.project-detail-heading p { margin: 0; color: #c1d1e4; font-size: 18px; }
.project-detail-facts { padding-left: 28px; border-left: 1px solid rgba(255,255,255,.18); }
.project-detail-facts > div { margin-bottom: 17px; }
.project-detail-facts > div:last-child { margin-bottom: 0; }
.project-detail-facts span { display: block; color: #a5b9d2; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.project-detail-facts strong { color: #fff; font-size: 17px; }
.project-cover-section { padding: 45px 0 0; background: var(--soft); }
.project-detail-cover { height: clamp(300px, 33vw, 460px); overflow: hidden; border-radius: var(--radius); background: var(--navy); box-shadow: 0 16px 34px rgba(8,28,55,.12); }
.project-detail-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.project-body-section { background: var(--soft); }
.project-body-grid { display: grid; grid-template-columns: minmax(0,1.5fr) minmax(260px,.7fr); gap: 32px; align-items: start; }
.project-main-content, .project-info-card { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.project-description { color: #52647d; font-size: 16px; line-height: 1.8; }
.project-description h2, .project-description h3 { color: var(--navy); }
.project-sidebar { display: flex; flex-direction: column; gap: 20px; }
.project-info-card h3 { margin: 0 0 14px; font-size: 20px; color: var(--navy); }
.project-info-card p { margin: 0 0 19px; color: var(--muted); }
.project-detail-tech { display: flex; flex-wrap: wrap; gap: 7px; }
.project-detail-tech span { padding: 6px 9px; border-radius: 6px; background: #eaf2fb; color: var(--blue-dark); font-size: 12px; font-weight: 700; }
.project-gallery-section { background: #fff; }
.project-gallery-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.project-gallery-image { overflow: hidden; border-radius: 12px; background: var(--navy); }
.project-gallery-image img { display: block; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
@media (max-width: 850px) {
    .project-detail-heading, .project-body-grid { grid-template-columns: 1fr; gap: 25px; }
    .project-detail-facts { padding: 21px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.18); }
}
@media (max-width: 580px) {
    .project-detail-cover { height: 250px; }
    .project-gallery-grid { grid-template-columns: 1fr; }
    .project-main-content, .project-info-card { padding: 24px; }
}

/* Compatibility for the existing projects/show.blade.php layout. */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 19px; border-radius: 9px; font-size: 14px; font-weight: 750; text-align: center; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-outline-light { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.cta-section { padding: 68px 0; background: linear-gradient(116deg, #0d4280, var(--blue) 66%, #0d5ea9); border-top: 4px solid var(--gold); color: #fff; }
.cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.cta-section h2 { margin: 0 0 15px; color: #fff; font-size: clamp(32px,3.55vw,48px); line-height: 1.14; }
.cta-section p { margin: 0; color: #e3eefb; }
.cta-actions { display: flex; flex-wrap: wrap; flex-shrink: 0; gap: 11px; }
.footer-wordmark { display: flex; gap: 7px; align-items: baseline; }
.footer-azstar { color: #fff; font-size: 26px; font-weight: 800; }
.footer-solutions { color: var(--gold); font-size: 22px; font-weight: 700; }
.footer-tagline { margin: 6px 0 0; }
@media (max-width: 850px) { .cta-inner { align-items: flex-start; flex-direction: column; gap: 25px; } }

/* Final responsive refinements for dark photo hero and compact cards */
@media (max-width: 1180px) {
    .solution-cards { grid-template-columns: repeat(3,minmax(0,1fr)); }
    .solution-photo { height: 155px; }
    .solutions-heading-row { grid-template-columns: minmax(0,1fr) minmax(0,.65fr); }
    .solutions-all { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 850px) {
    .hero::before { background: linear-gradient(90deg,rgba(3,18,37,.97) 0%,rgba(5,23,46,.83) 65%,rgba(5,23,46,.62)); }
    .hero-grid { grid-template-columns: 1fr; padding-block: 58px; gap: 26px; }
    .hero-copy { max-width: 690px; }
    .hero-aside { max-width: 620px; }
    .solutions-heading-row { grid-template-columns: 1fr; gap: 13px; }
    .solutions-all { grid-column: auto; }
    .directory-grid { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
    .hero-grid { padding-block: 52px; }
    .hero h1 { font-size: clamp(35px,9.4vw,46px); }
    .hero-bg { background-position: 60% center; }
    .hero::before { background: rgba(5,22,46,.86); }
    .hero-aside { padding: 21px; }
    .hero-actions .button { flex: 0 0 auto; width: 100%; }
    .solution-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 11px; }
    .solution-photo { height: 110px; }
    .solution-body { padding: 9px 11px 14px; }
    .solution-body h3 { font-size: 13px; }
    .industry-card { flex-basis: 100%; grid-template-columns: 37% minmax(0,1fr); }
    .industry-photo { min-height: 160px; }
    .industry-content { padding: 17px; }
    .industry-content h3 { font-size: 15px; }
    .industry-content p { font-size: 12px; }
}
@media (max-width: 365px) {
    .solution-cards { grid-template-columns: 1fr; }
    .solution-photo { height: 170px; }
}

.project-detail-hero .eyebrow { color: var(--gold); }

/* =========================================================
   AZSTAR V3 - FINAL HOMEPAGE REFINEMENTS
   ========================================================= */

/* Reduce spacing between headings and cards */

.solutions-heading-row {
    margin-bottom: 19px;
}

.industries-heading {
    margin-bottom: 23px;
}

/* Blue outlined View All Solutions button */

.button-outline-blue {
    background: #ffffff;
    color: #125da8;
    border: 1px solid #1976d2;
}

.button-outline-blue:hover {
    background: #eaf4ff;
    color: #125da8;
    border-color: #125da8;
}

.solutions-all {
    min-height: 44px;
    padding: 10px 17px;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
}

/* Improve Industries description readability */

.industry-content p {
    font-size: 12.5px;
    line-height: 1.6;
    color: #526782;
}

/* Responsive refinements */

@media (max-width: 620px) {

    .solutions-heading-row {
        margin-bottom: 20px;
    }

    .industries-heading {
        margin-bottom: 22px;
    }

    .industry-content p {
        font-size: 12.5px;
        line-height: 1.6;
    }

}



/* AZSTAR FEATURED PROJECT: HORIZONTAL SINGLE-CASE-STUDY CARD (v4) */
@media (min-width: 851px) {
  .projects-grid > .project-card:only-child {
    flex: 0 1 1040px;
    max-width: 90%;
    min-width: 0;
    border-radius: 18px;
    border: 1px solid #14243a;
    background: #070c13;
    box-shadow: 0 14px 34px rgba(7, 26, 51, .12);
    transform: none;
  }
  .projects-grid > .project-card:only-child:hover {
    transform: translateY(-3px);
    box-shadow: 0 19px 39px rgba(7, 26, 51, .17);
  }
  .projects-grid > .project-card:only-child .project-card-link {
    display: grid;
    grid-template-columns: minmax(0, 46%) minmax(0, 1fr);
    align-items: stretch;
    gap: 24px;
    padding: 14px;
    height: 100%;
    color: #fff;
  }
  .projects-grid > .project-card:only-child .project-photo {
    aspect-ratio: auto;
    min-height: 0;
    height: 342px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
  }
  .projects-grid > .project-card:only-child .project-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
  .projects-grid > .project-card:only-child .project-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 15px 20px 15px 0;
    background: transparent;
  }
  .projects-grid > .project-card:only-child .project-category {
    color: #238bfa;
    font-size: 12px;
    font-weight: 800;
  }
  .projects-grid > .project-card:only-child .project-content h3 {
    margin: 12px 0 12px;
    color: #fff;
    font-size: clamp(24px, 2vw, 30px);
    line-height: 1.24;
    letter-spacing: -.025em;
  }
  .projects-grid > .project-card:only-child .project-content p {
    margin: 0 0 15px;
    color: #c1cad6;
    font-size: 16px;
    line-height: 1.6;
  }
  .projects-grid > .project-card:only-child .project-meta {
    color: #b0bfd1;
    font-size: 13px;
    font-weight: 550;
  }
  .projects-grid > .project-card:only-child .project-tech { display: none; }
  .projects-grid > .project-card:only-child .project-readmore {
    margin-top: 12px;
    padding-top: 0;
    color: #2d9bff;
    font-size: 16px;
    font-weight: 750;
  }
}
@media (max-width: 850px) {
  .projects-grid > .project-card:only-child {
    flex-basis: 100%;
    background: #081425;
    border-color: #17314b;
    color: #fff;
  }
  .projects-grid > .project-card:only-child .project-card-link { color: #fff; }
  .projects-grid > .project-card:only-child .project-content h3 { color: #fff; }
  .projects-grid > .project-card:only-child .project-content p,
  .projects-grid > .project-card:only-child .project-meta { color: #bacadd; }
  .projects-grid > .project-card:only-child .project-tech { display: none; }
  .projects-grid > .project-card:only-child .project-readmore { color: #42a5ff; }
}
/* END AZSTAR FEATURED PROJECT HORIZONTAL v4 */

/* AZSTAR WHY SIX CARDS - START */
#why-azstar .section-heading {
    max-width: 920px;
    margin-bottom: 30px;
}
#why-azstar .section-heading h2 {
    font-size: clamp(32px, 3.15vw, 43px);
}
#why-azstar .why-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 19px;
}
#why-azstar .why-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 216px;
    padding: 25px 27px 27px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.055);
    transition: background-color .2s ease, transform .2s ease;
}
#why-azstar .why-card:hover {
    background: rgba(255,255,255,.085);
    transform: translateY(-3px);
}
#why-azstar .why-icon {
    display: grid;
    place-items: center;
    width: 43px;
    height: 43px;
    margin-bottom: 20px;
    color: #69bdff;
    background: rgba(25,118,210,.14);
    border: 1px solid rgba(105,189,255,.24);
    border-radius: 11px;
}
#why-azstar .why-icon svg {
    width: 23px;
    height: 23px;
}
#why-azstar .why-card:nth-child(2) .why-icon,
#why-azstar .why-card:nth-child(4) .why-icon {
    color: #f5b51b;
    background: rgba(245,181,27,.10);
    border-color: rgba(245,181,27,.24);
}
#why-azstar .why-card h3 {
    margin: 0 0 9px;
    font-size: 19px;
    line-height: 1.3;
    color: #fff;
}
#why-azstar .why-card p {
    margin: 0;
    font-size: 14px;
    line-height: 1.7;
    color: #c0cee0;
}
@media (max-width: 950px) {
    #why-azstar .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
    #why-azstar .why-grid { grid-template-columns: 1fr; }
    #why-azstar .why-card { min-height: auto; padding: 23px; }
}
/* AZSTAR WHY SIX CARDS - END */

/* AZSTAR ABOUT REFINEMENT V1 - START */
#about.about-section {
    padding-top: 75px;
    padding-bottom: 76px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f9fd 100%);
}
#about .az-about-layout {
    display: grid;
    grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr);
    align-items: center;
    gap: clamp(30px, 5vw, 76px);
}
#about .az-about-intro .eyebrow { margin-bottom: 15px; }
#about .az-about-intro h2 {
    max-width: 540px;
    margin: 0 0 21px;
    font-size: clamp(32px, 3.45vw, 47px);
    letter-spacing: -.04em;
    line-height: 1.13;
    color: #081c37;
}
#about .az-about-summary {
    max-width: 540px;
    margin: 0;
    color: #566982;
    font-size: 17px;
    line-height: 1.8;
}
#about .az-about-promise {
    display: flex;
    flex-direction: column;
    gap: 5px;
    max-width: 460px;
    margin-top: 27px;
    padding: 14px 18px;
    border-left: 3px solid #f5b51b;
    background: #eff5fb;
    border-radius: 0 10px 10px 0;
}
#about .az-about-promise span {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .15em;
    color: #60758f;
}
#about .az-about-promise strong {
    font-size: 17px;
    line-height: 1.35;
    color: #0d2d53;
}
#about .az-about-panel {
    position: relative;
    overflow: hidden;
    padding: clamp(24px, 3vw, 38px);
    background: #fff;
    border: 1px solid #dce6f1;
    border-radius: 17px;
    box-shadow: 0 14px 35px rgba(8, 28, 55, .055);
}
#about .az-about-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 90px;
    height: 4px;
    background: #1976d2;
}
#about .az-about-panel-label {
    display: block;
    margin-bottom: 19px;
    color: #1976d2;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .13em;
}
#about .az-about-copy {
    color: #445974;
    font-size: 16px;
    line-height: 1.8;
    overflow-wrap: anywhere;
}
#about .az-about-copy > :first-child { margin-top: 0; }
#about .az-about-copy > :last-child { margin-bottom: 0; }
#about .az-about-copy h2,
#about .az-about-copy h3 { font-size: 19px; color: #102544; }
#about .az-about-copy ul { padding-left: 21px; }
#about .az-about-scope {
    margin: 20px 0 0;
    padding-top: 18px;
    border-top: 1px solid #e3eaf2;
    color: #556a85;
    font-size: 15px;
    line-height: 1.75;
}
#about .az-about-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
    color: #126ac0;
    font-size: 14px;
    font-weight: 800;
}
#about .az-about-link:hover { color: #0b4e91; }
#about .az-about-process {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 33px;
}
#about .az-about-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 22px 20px;
    background: rgba(255,255,255,.87);
    border: 1px solid #dde7f2;
    border-radius: 12px;
}
#about .az-about-step-num {
    flex: none;
    color: #1976d2;
    font-size: 13px;
    font-weight: 850;
    letter-spacing: .06em;
}
#about .az-about-step h3 {
    margin: -3px 0 5px;
    font-size: 17px;
    color: #0b2542;
}
#about .az-about-step p {
    margin: 0;
    font-size: 13px;
    line-height: 1.65;
    color: #667990;
}
@media (max-width: 950px) {
    #about .az-about-layout { grid-template-columns: 1fr; gap: 26px; }
    #about .az-about-intro h2,
    #about .az-about-summary { max-width: 760px; }
}
@media (max-width: 670px) {
    #about.about-section { padding-top: 57px; padding-bottom: 57px; }
    #about .az-about-panel { padding: 25px 21px; }
    #about .az-about-process { grid-template-columns: 1fr; gap: 10px; margin-top: 23px; }
    #about .az-about-step { padding: 16px; }
    #about .az-about-summary { font-size: 15px; }
    #about .az-about-intro h2 { font-size: clamp(30px, 8vw, 38px); }
}
/* AZSTAR ABOUT REFINEMENT V1 - END */

/* AZSTAR ENQUIRY FORM V1 - START */
#contact.contact-section--form {
    padding: clamp(65px, 6vw, 96px) 0;
    background: linear-gradient(125deg, #071a33, #113764 66%, #14549c);
}
#contact .az-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, .83fr) minmax(0, 1.17fr);
    gap: clamp(28px, 5vw, 77px);
    align-items: start;
}
#contact .az-contact-intro { padding-top: 10px; color: #fff; }
#contact .az-contact-intro h2 {
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.04em;
    line-height: 1.12;
    margin: 17px 0 21px;
    color: #fff;
}
#contact .az-contact-intro > p {
    max-width: 530px;
    color: #d2e3f6;
    font-size: 16px;
    line-height: 1.8;
}
#contact .az-contact-points { margin: 29px 0 36px; display: grid; gap: 17px; }
#contact .az-contact-points div {
    display: flex;
    align-items: baseline;
    gap: 14px;
    color: #f0f7ff;
    font-size: 15px;
    line-height: 1.5;
}
#contact .az-contact-points span { color: #f5b51b; font-weight: 850; font-size: 13px; }
#contact .az-contact-quick { border-top: 1px solid rgba(255,255,255,.24); padding-top: 25px; }
#contact .az-contact-quick h3 { margin: 0 0 7px; color: #fff; font-size: 21px; }
#contact .az-contact-quick p { margin: 0 0 18px; color: #c1d5eb; font-size: 14px; }
#contact .az-contact-links { display: flex; flex-wrap: wrap; gap: 11px; }
#contact .az-enquiry-card {
    padding: clamp(23px, 3vw, 38px);
    background: #fff;
    border: 1px solid #d6e5f3;
    border-radius: 18px;
    box-shadow: 0 25px 55px rgba(0,0,0,.16);
    scroll-margin-top: 105px;
}
#contact .az-form-heading { margin-bottom: 22px; }
#contact .az-form-heading > span { color: #1976d2; font-size: 11px; font-weight: 850; letter-spacing: .12em; }
#contact .az-form-heading h3 { margin: 9px 0 7px; color: #0a2543; font-size: clamp(22px, 2.1vw, 28px); line-height: 1.22; }
#contact .az-form-heading p { margin: 0; color: #60748c; font-size: 13px; }
#contact .az-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px 16px; }
#contact .az-field { display: flex; flex-direction: column; min-width: 0; }
#contact .az-field--wide { grid-column: 1 / -1; }
#contact .az-field label { margin-bottom: 7px; color: #263f5a; font-weight: 750; font-size: 13px; }
#contact .az-field label span, #contact .az-form-consent strong { color: #ca6a24; }
#contact .az-field input,
#contact .az-field select,
#contact .az-field textarea {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border: 1px solid #ccd8e6;
    border-radius: 8px;
    background: #fff;
    color: #102440;
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    transition: border-color .2s, box-shadow .2s;
}
#contact .az-field textarea { resize: vertical; min-height: 110px; }
#contact .az-field input:focus,
#contact .az-field select:focus,
#contact .az-field textarea:focus {
    outline: none;
    border-color: #1976d2;
    box-shadow: 0 0 0 3px rgba(25,118,210,.14);
}
#contact .az-field small { margin-top: 5px; color: #61758b; font-size: 11px; }
#contact .az-field-error { color: #b32828; font-size: 12px; margin-top: 5px; display: block; }
#contact .az-form-consent { display: flex; align-items: flex-start; gap: 10px; margin: 21px 0 18px; color: #526780; font-size: 12.5px; line-height: 1.55; cursor: pointer; }
#contact .az-form-consent input { margin: 3px 0 0; width: 16px; height: 16px; flex: none; accent-color: #1976d2; }
#contact .az-form-submit { border: 0; cursor: pointer; font: inherit; font-weight: 800; font-size: 14px; }
#contact .az-form-submit:hover { background: #1260ae; }
#contact .az-form-footnote { margin: 13px 0 0; color: #72829a; font-size: 11.5px; line-height: 1.5; }
#contact .az-form-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
#contact .az-form-alert { padding: 13px 15px; margin-bottom: 19px; font-size: 13px; line-height: 1.5; border-radius: 8px; }
#contact .az-form-alert--success { background: #eef9f1; border: 1px solid #b4e2c1; color: #185f2a; }
#contact .az-form-alert--error { background: #fff3ef; border: 1px solid #efc1b3; color: #8e3020; }
@media (max-width: 930px) {
    #contact .az-contact-grid { grid-template-columns: 1fr; gap: 35px; }
    #contact .az-contact-intro > p { max-width: 780px; }
}
@media (max-width: 560px) {
    #contact.contact-section--form { padding: 55px 0; }
    #contact .az-form-grid { grid-template-columns: 1fr; gap: 14px; }
    #contact .az-enquiry-card { padding: 22px 18px; }
    #contact .az-form-submit { width: 100%; justify-content: center; }
}
/* AZSTAR ENQUIRY FORM V1 - END */

/* AZSTAR ENQUIRY SCREENING V2 */
#contact .az-turnstile-area { margin: 0 0 20px; min-height: 64px; }
#contact .az-turnstile-area .az-field-error { margin-top: 8px; }

