/* HubCNC — за мотивами hubcnc.com (фон) + daas.hubcnc.com (структура), темна/світла тема */

/* ========== ТЕМНА ТЕМА (за замовчуванням) ========== */
:root,
[data-theme="dark"] {
    --bg-body: #0a0c10;
    --bg-dark: #06080b;
    --bg-card: rgba(14, 18, 24, 0.85);
    --bg-glass: rgba(18, 22, 30, 0.9);
    --bg-section: #0a0c10;
    --bg-section-alt: #0d0f14;
    --accent: #00d4aa;
    --accent-glow: rgba(0, 212, 170, 0.35);
    --accent-hover: #00e6b8;
    --text: #e8ecf0;
    --text-muted: #8b95a5;
    --border: rgba(0, 212, 170, 0.18);
    --font-display: 'Orbitron', sans-serif;
    --font-sans: 'Exo 2', sans-serif;
    --radius: 14px;
    --header-h: 72px;
}

/* ========== СВІТЛА ТЕМА ========== */
[data-theme="light"] {
    --bg-body: #f0f2f5;
    --bg-dark: #1a1d24;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.98);
    --bg-section: #f0f2f5;
    --bg-section-alt: #fff;
    --accent: #008f72;
    --accent-glow: rgba(0, 143, 114, 0.25);
    --accent-hover: #00a884;
    --text: #1a1d24;
    --text-muted: #5c6169;
    --border: rgba(0, 143, 114, 0.25);
}

.hub-futuristic {
    font-family: var(--font-sans);
    background: var(--bg-body);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    transition: background 0.3s, color 0.3s;
}
.hub-futuristic .container { max-width: 1140px; }

/* Фон у стилі hubcnc.com — сітка + градієнт */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--grid-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}
:root, [data-theme="dark"] { --grid-color: rgba(0, 212, 170, 0.05); }
[data-theme="light"] { --grid-color: rgba(0, 0, 0, 0.06); }

.hero-bg-pattern {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, var(--pattern-glow) 0%, transparent 55%);
}
:root, [data-theme="dark"] { --pattern-glow: rgba(0, 212, 170, 0.06); }
[data-theme="light"] { --pattern-glow: rgba(0, 143, 114, 0.08); }

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 102;
    height: var(--header-h);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s, border-color 0.3s;
}
.header-inner { height: 100%; }
.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.2s;
}
.logo:hover { color: var(--accent); }
[data-theme="dark"] .logo:hover { text-shadow: 0 0 20px var(--accent-glow); }
.nav-main {
    display: flex;
    align-items: center;
    gap: 2rem;
}
.nav-main a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
.nav-main a:hover { color: var(--accent); }

/* Theme toggle */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
}
.theme-toggle:hover { border-color: var(--accent); background: var(--accent-glow); }
.theme-icon { font-size: 1.2rem; line-height: 1; }
[data-theme="dark"] .theme-icon-light { display: none; }
[data-theme="light"] .theme-icon-dark { display: none; }

.btn-header {
    padding: 0.65rem 1.5rem;
    background: var(--accent);
    color: #fff !important;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn-header:hover {
    background: var(--accent-hover);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transform: translateY(-1px);
}
[data-theme="dark"] .btn-header { color: #0a0c10 !important; }
[data-theme="dark"] .btn-header:hover { color: #0a0c10 !important; box-shadow: 0 0 24px var(--accent-glow); }
[data-theme="light"] .btn-header { color: #fff !important; }

/* Mobile nav */
.nav-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 44px;
    min-height: 44px;
    padding: 0 0.75rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-toggle-icon {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}
.nav-toggle-icon span {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    margin: 0 auto;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) { transform: translateY(-3.5px) rotate(-45deg); }
.nav-toggle-text { margin-left: 0.15rem; }
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}
.nav-overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 991.98px) {
    .nav-main {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        gap: 0;
        padding: 1.5rem;
        background: var(--bg-glass);
        backdrop-filter: blur(16px);
        border-bottom: 1px solid var(--border);
        z-index: 101;
        transform: translateY(-100%);
        visibility: hidden;
        opacity: 0;
        transition: transform 0.3s, visibility 0.3s, opacity 0.3s;
    }
    .nav-main.is-open {
        transform: translateY(0);
        visibility: visible;
        opacity: 1;
    }
    .nav-main a {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--border);
    }
    .nav-main a:last-child { border-bottom: none; }
}

/* Hero — змінюваний фон як на daas.hubcnc.com */
.hero {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg-slider {
    z-index: 0;
}
.hero-bg-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.hero-bg-slide[data-active] {
    opacity: 1;
    z-index: 1;
}
.hero-bg-overlay {
    z-index: 1;
    pointer-events: none;
}
.hero-bg-overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--hero-overlay);
}
/* Слайдшоу як на daas.hubcnc.com: мінімальний оверлей, фон яскраво видно */
:root, [data-theme="dark"] {
    --hero-overlay: linear-gradient(180deg, rgba(10, 12, 16, 0.12) 0%, transparent 45%, rgba(10, 12, 16, 0.4) 100%);
}
[data-theme="light"] {
    --hero-overlay: linear-gradient(180deg, rgba(255, 255, 255, 0.15) 0%, transparent 45%, rgba(240, 242, 245, 0.5) 100%);
}
.hero .container { position: relative; z-index: 2; }
/* Тіні для читабельності тексту на фоні */
.hero-label {
    font-family: var(--font-display);
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
    text-shadow: var(--hero-text-shadow);
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    color: var(--text);
    text-shadow: var(--hero-text-shadow);
}
[data-theme="dark"] .hero-title,
[data-theme="light"] .hero-title { text-shadow: var(--hero-text-shadow), 0 0 40px rgba(0, 212, 170, 0.2); }
.hero-text {
    font-size: 1.05rem;
    color: var(--hero-text-color);
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: var(--hero-text-shadow);
    max-width: 32em;
}
/* Банер: у світлій темі той самий стиль, що в темній — шрифт і кольори */
:root, [data-theme="dark"] {
    --hero-text-color: #e8ecf0;
    --hero-text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 1);
}
[data-theme="light"] .hero .hero-label { color: #00d4aa; text-shadow: var(--hero-text-shadow); }
[data-theme="light"] .hero .hero-title { color: #e8ecf0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 1), 0 0 40px rgba(0, 212, 170, 0.2); }
[data-theme="light"] .hero .hero-text { color: #e8ecf0; text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 2px 12px rgba(0, 0, 0, 0.7), 0 0 1px rgba(0, 0, 0, 1); }
.hero-cta .btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 0.95rem 2.25rem;
    font-weight: 700;
    font-size: 1.05rem;
    border-radius: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    transition: box-shadow 0.2s, transform 0.2s;
}
.hero-cta .btn-primary:hover {
    background: var(--accent-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
[data-theme="dark"] .hero-cta .btn-primary { color: #0a0c10; }
[data-theme="dark"] .hero-cta .btn-primary:hover { color: #0a0c10; box-shadow: 0 0 30px var(--accent-glow); }
[data-theme="light"] .hero .hero-cta .btn-primary { color: #0a0c10; background: #00d4aa; }
[data-theme="light"] .hero .hero-cta .btn-primary:hover { color: #0a0c10; background: #00e6b8; box-shadow: 0 0 30px rgba(0, 212, 170, 0.35); }
[data-theme="light"] .hero .hero-cta .btn-hero-outline { border-color: rgba(0, 212, 170, 0.18); color: #e8ecf0; }
[data-theme="light"] .hero .hero-cta .btn-hero-outline:hover { border-color: #00d4aa; color: #00d4aa; background: rgba(0, 212, 170, 0.35); }
.btn-hero-outline {
    background: transparent;
    border: 2px solid var(--border);
    color: var(--text);
    padding: 0.95rem 2.25rem;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 10px;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.btn-hero-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-glow);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Секції — вирівнювання як на daas */
.section {
    position: relative;
    z-index: 1;
    padding: 5rem 0;
    background: var(--bg-section);
    transition: background 0.3s;
}
.section .container {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}
.section-alt { background: var(--bg-section-alt); }
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.5rem;
    color: var(--text);
    text-align: left;
}
.section-lead {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 2.5rem;
    max-width: 540px;
    text-align: left;
}
.section-services .row,
.section-capabilities .row,
.section-special .row {
    align-items: stretch;
}
/* Картки на новому рядку розтягуються по ширині (1–2 шт. заповнюють ряд) */
.section-special .row > [class*="col-"] {
    flex: 1 1 33.333%;
    min-width: 260px;
    max-width: 100%;
}
.section-services .row > [class*="col-"] {
    flex: 1 1 33.333%;
    min-width: 260px;
    max-width: 100%;
}
.section-capabilities .row > [class*="col-"] {
    flex: 1 1 33.333%;
    min-width: 260px;
    max-width: 100%;
}

/* Чим ми особливі (daas) */
.special-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
}
.special-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}
.special-card-icon {
    font-size: 1.75rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.special-card h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.special-card p { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* Індустрії: макс. 3 в ряді, останній ряд заповнює ширину (1 → 100%, 2 → 50%, 3 → 33%) */
.section-industries { padding: 3rem 0; }
.section-industries .industry-row {
    align-items: stretch;
    justify-content: center;
}
.section-industries .industry-row + .industry-row { margin-top: 1rem; }
.industry-tag {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--text-muted);
    padding: 1rem 1.25rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-card);
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: border-color 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
}
.industry-tag:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}

/* Галерея — сітка фото, клік відкриває модалку */
.section-gallery { padding: 3rem 0; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 1.25rem;
}
.gallery-item { text-align: center; }
.gallery-thumb {
    display: block;
    width: 100%;
    padding: 0;
    border: none;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.gallery-thumb:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
    transform: translateY(-4px);
}
.gallery-thumb img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.5s;
}
.gallery-thumb:hover img { transform: scale(1.05); }
.gallery-caption { max-width: 100%; }

/* Service cards — однакова висота, вирівняний контент */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 0 30px var(--accent-glow);
    transform: translateY(-4px);
}
.service-card-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-dark);
    flex-shrink: 0;
}
.service-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }
.service-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}
.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
    flex-shrink: 0;
}
.service-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Capabilities — однакова висота карток */
.cap-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    height: 100%;
    backdrop-filter: blur(10px);
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.cap-card h4 { flex-shrink: 0; }
.cap-card:hover {
    border-color: var(--accent);
    box-shadow: 0 0 24px var(--accent-glow);
}
.cap-icon {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 0.75rem;
}
.cap-card h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text);
}
.cap-card p { flex-grow: 1; margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.6; }

/* About list */
.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 600px;
}
.about-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    line-height: 1.6;
}
.about-list li:last-child { border-bottom: none; }
.about-list strong { color: var(--text); }

/* Contact — вирівнювання */
.section-contact .row {
    align-items: stretch;
}
.contact-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.75rem;
    backdrop-filter: blur(10px);
}
.contact-block p { margin-bottom: 0.75rem; }
.contact-block p:last-child { margin-bottom: 0; }
.contact-block a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}
.contact-block a:hover { text-decoration: underline; }
.contact-cta {
    margin-top: 1rem !important;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    font-size: 0.95rem;
    color: var(--text-muted);
}
.section-contact .btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
}
.section-contact .btn-primary:hover { background: var(--accent-hover); color: #fff; }
[data-theme="dark"] .section-contact .btn-primary { color: #0a0c10; }
[data-theme="dark"] .section-contact .btn-primary:hover { color: #0a0c10; }

/* Footer */
.site-footer {
    position: relative;
    z-index: 1;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    background: var(--bg-section-alt);
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: center;
    transition: background 0.3s;
}

/* Modal — форма зворотного зв'язку */
.hub-modal .modal-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .hub-modal .modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}
.hub-modal-header {
    border-bottom: 1px solid var(--border);
    padding: 1.25rem 1.5rem;
    background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .hub-modal-header { background: rgba(0, 0, 0, 0.04); }
.hub-modal-header .modal-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: -0.02em;
}
.hub-modal-body {
    padding: 1.5rem 1.5rem 2rem;
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text);
}
.hub-modal-body #contactFormWrap > p.text-muted {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text);
    opacity: 0.95;
}
.hub-modal-body .form-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}
.hub-modal .form-label {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 0.4rem;
}
.hub-modal .text-accent { color: var(--accent); }
.hub-input {
    background: var(--bg-dark) !important;
    border: 1px solid var(--border) !important;
    color: var(--text) !important;
    border-radius: 8px;
    font-size: 1rem;
    min-height: 2.75rem;
    padding: 0.5rem 0.75rem;
}
.hub-modal-body textarea.hub-input { min-height: 6rem; resize: vertical; }
.hub-input::placeholder { color: var(--text-muted); opacity: 0.85; }
.hub-input:focus {
    border-color: var(--accent) !important;
    box-shadow: 0 0 0 3px var(--accent-glow) !important;
    outline: none;
}
[data-theme="light"] .hub-input {
    background: rgba(0, 0, 0, 0.05) !important;
    border-color: var(--border) !important;
}
.hub-modal .btn-primary {
    background: var(--accent);
    color: #fff;
    border: none;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.65rem 1.5rem;
}
.hub-modal .btn-primary:hover { background: var(--accent-hover); color: #fff; }
[data-theme="dark"] .hub-modal .btn-primary { color: #0a0c10; }
[data-theme="dark"] .hub-modal .btn-primary:hover { color: #0a0c10; }
.hub-modal .btn-close-white { filter: invert(1); opacity: 0.85; }
[data-theme="light"] .hub-modal .btn-close-white { filter: none; opacity: 0.65; }

/* Блок відповіді після відправки форми */
#contactFormResponse {
    padding: 0.5rem 0;
}
#contactFormResponseText {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text);
    max-width: 32em;
    margin-bottom: 1.5rem !important;
}
#contactFormResponseText.text-danger {
    color: #f44336 !important;
    font-weight: 500;
}
[data-theme="light"] #contactFormResponseText.text-danger {
    color: #c62828 !important;
}

.hub-futuristic .invalid-feedback {
    color: #f44336;
    font-size: 0.9rem;
}
.hub-futuristic .form-control.is-invalid { border-color: #f44336 !important; }

/* Responsive */
@media (max-width: 991.98px) {
    :root { --header-h: 64px; }
    .section { padding: 3.5rem 0; }
    .hero-title { font-size: clamp(1.5rem, 5vw, 2rem); }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn, .hero-cta .btn-hero-outline { width: 100%; max-width: 280px; }
}

@media (max-width: 575.98px) {
    .logo { font-size: 1.2rem; }
    .service-card-body, .cap-card, .special-card { padding: 1.25rem; }
    .hub-modal-header, .hub-modal-body { padding-left: 1rem; padding-right: 1rem; }
    .hub-modal-header .modal-title { font-size: 1.2rem; }
    #contactFormResponseText { font-size: 1rem; max-width: none; }
}
