/* responsive_style.css - Single stylesheet with media queries */
/* Author: Kevin Wengert (final: Oswald font forced everywhere, screenshots large, logos small) */
/* Kinetix Software Solutions */

/* =================================== */
/* BASE / DESKTOP STYLES (>1024px)     */
/* =================================== */

html {
    margin: 0;
    padding: 0;
    -webkit-text-size-adjust: 100%;
    /* Prevents unwanted font scaling on orientation change */
    text-size-adjust: 100%;
    /* Standard property for future-proofing */
}

body {
    margin: 0;
    padding: 0;
    font-family: Verdana, Arial, sans-serif;
    font-size: 16px;
    background-color: black;
    color: white;
}

hr {
    width: 50%;
    background-color: white;
}

/* Header */
header {
    background-color: black;
    height: auto;
    width: 100%;
    text-align: center;
    position: fixed;
    top: 47px;
    left: 0;
    z-index: 9998 !important;
}

header::after {
    content: "";
    display: block;
    clear: both;
}

.header-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0 20px;
    background-color: black;
}

/* Company name - use Verdana/Arial (no Oswald) */
header h1 {
    padding: 10px 0 0 20px;
    text-transform: uppercase;
    margin: 0;
    box-sizing: border-box;
    font-family: Verdana, Arial, sans-serif;
    /* Removed Oswald */
    text-align: left;
}

/* Phone number */
header h2.phone-number {
    padding: 10px 20px 6px 0;
    font-weight: normal;
    text-align: right;
    color: white;
    background-color: transparent;
    font-family: Verdana, Arial, sans-serif;
}

/* Underline phone number on hover */
header a:hover .phone-number,
.phone-number:hover.about-us,
.header-link:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    cursor: pointer;
    /* Reinforces clickability */
}

header a {
    text-decoration: none;
}

/* Navigation */
nav {
    overflow: hidden;
    z-index: 9999 !important;
}

nav a {
    float: left;
    font-size: 18px;
    width: 18%;
    padding: 6px;
    text-align: center;
    color: white;
    text-decoration: none;
    transition: all .5s ease;
}

nav a:hover {
    transform: scale(1.1);
    transition: transform 0.3s ease;
    background-color: gray;
}

.nav-wrap {
    position: fixed;
    background-color: black;
    font-weight: bold;
    padding: 6px;
    height: 35px;
    left: 0;
    top: 0;
    width: 100%;
    overflow: hidden;
    z-index: 9999 !important;
    pointer-events: auto;
    box-shadow: 1px 2px 10px rgba(0, 0, 0, 0.2);
}

/* Main */
main {
    position: relative;
    z-index: 0;
    padding: 6px;
    margin-top: 120px;
    clear: both;
}

main img {
    width: 100%;
    margin: auto;
    display: block;
}

main video {
    width: 80%;
    text-align: center;
    padding: 6px;
    margin: auto;
    display: block;
}

/* All Oswald headings - strongest possible override */
main h1,
main h2,
.page-title,
.page-header-scrolling .page-title,
header h1 {
    font-family: 'Oswald', sans-serif !important;
    font-weight: 700 !important;
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5) !important;
}

/* Define the animation named "flicker" */
@keyframes flicker {
    0% {
        text-shadow: 0 0 4px #fff, 0 0 10px #ffeb3b, 0 0 18px #ff9800, 0 0 28px #f44336;
    }

    50% {
        text-shadow: 0 0 8px #fff, 0 0 16px #ffeb3b, 0 0 28px #ff9800, 0 0 45px #f44336;
    }

    100% {
        text-shadow: 0 0 4px #fff, 0 0 10px #ffeb3b, 0 0 18px #ff9800, 0 0 28px #f44336;
    }
}

.fire {
    margin: 0;
    font-size: 36px;
    text-align: center;
    font-family: 'Oswald', sans-serif !important;
    flex: 1;
    font-weight: 700 !important;
    color: #f5f5f5 !important;

    text-shadow:
        0 0 2px #fff, 
        0 0 5px #ffeb3b, 
        0 0 9px #ff9800, 
        0 0 14px #f44336 !important;
    animation: flicker 2.8s infinite ease-in-out !important;
    will-change: text-shadow;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Stronger glow + faster flicker on hover */
.fire:hover {
    animation-duration: 1.6s;
    text-shadow: 
        0 0 8px #fff,
        0 0 18px #ffeb3b,
        0 0 32px #ff9800,
        0 0 50px #f44336;
    cursor: pointer;

}

/* Make the link behave correctly inside .fire */
.fire .fire-link,
.fire a {
    
    color: inherit;
    text-decoration: none; 
    transition: transform 0.2s ease;
}

.fire .fire-link:hover,
.fire a:hover {
    outline: none;
    text-shadow: 
        0 0 6px #fff,
        0 0 16px #ffeb3b,
        0 0 24px #ff9800,
        0 0 36px #f44336;
}
/* Page title */
main h2 {
    font-size: 36px;
    font-weight: normal;
    text-align: center;
    padding: 25px 0;
    margin: 0;
    box-sizing: border-box;
}

/* Page header scrolling section */
.page-header-scrolling {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 30px;
    background-color: transparent;
    max-width: 1000px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-header-scrolling .page-title {
    margin: 0;
    font-size: 36px;
    text-align: center;
    flex: 1;
}

/* Logo */
.logo {
    border-radius: 9%;
    width: 255px;
    height: auto;
}

.logo-wrap {
    margin: 10px 20px 0 0;
    border-radius: 9%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

/* Forms */
fieldset {
    width: 80%;
    margin: 15px auto;
    border: none;
    outline: none;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

legend {
    background-color: black;
    color: white;
    padding: 5px;
    font-weight: bold;
}

input {
    width: 95%;
    margin: 5px;
}

textarea {
    width: 95%;
    height: 150px;
    margin: 5px;
}

label {
    display: block;
}

button {
    display: block;
    margin: 0 auto;
    padding: 8px 16px;
    background-color: black;
    color: white;
    font-weight: bolder;
    width: 130px;
    text-align: center;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.3s ease;
    will-change: transform;
    backface-visibility: hidden;
}

button:hover {
    background-color: #444;
    border-color: #444;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 255, 255, 0.2);
}

button:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.3);
}

button:active {
    transform: translateY(0);
    background-color: #333;
    border-color: #333;
}

/* Footer */
footer {
    position: fixed;
    left: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    background-color: black;
    color: white;
    padding: 6px 0;
    font-size: 12px;
    z-index: 9999;
}

footer p {
    padding: 6px 0 6px 6px;
    margin: 0;
}

/* Accordion Base */
.accordion-container {
    max-width: 1000px;
    margin: auto;
    padding: 0 20px;
}

.accordion-container h2 {
    text-align: center;
    color: white;
    margin-bottom: 40px;
}

.accordion-item {
    margin-bottom: 30px;
    /* border: 2px solid white; */
    border-radius: 12px;
    overflow: hidden;
    background-color: black !important;
    /* Subtle base glow */
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background-color: black;
    border: none;
    text-align: left;
    font-size: 1.2em;
    font-weight: bold;
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

/* Hover or open → stronger glow + flicker */
.accordion-item:hover,
.accordion-item:focus,
.accordion-item.expanded,
.logo:hover {
    box-shadow: 
        0 0 8px #fff,
        0 0 16px #ffeb3b,
        0 0 24px #ff9800,
        0 0 36px #f44336;
    transform: translateY(-2px);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
    will-change: box-shadow, transform;
}

/* Customer logos hover effect - target the container, not just the image */
.accordion-content-logo img:hover {
    animation: flicker 2.2s infinite alternate ease-in-out;
    will-change: box-shadow;
    
    box-shadow: 
        0 0 6px #fff,
        0 0 16px #ffeb3b,
        0 0 24px #ff9800,
        0 0 36px #f44336;
}

.accordion-header:hover {
    background-color: black;
}

.accordion-header[aria-expanded="true"] {
    background-color: white;
    color: black;
    text-shadow: none;
}

.accordion-icon {
    font-size: 1.5em;
    transition: transform 0.3s ease;
}

.accordion-header[aria-expanded="true"] .accordion-icon {
    transform: rotate(45deg);
}

/* Strong fix for white-on-white */
.accordion-content {
    background-color: black !important;
    color: white !important;
    padding: 0 20px !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    text-shadow: none !important;
}

/* Cover all children and states */
.accordion-content *,
.accordion-item .accordion-content *,
.accordion-item.active .accordion-content *,
.accordion-header[aria-expanded="true"]+.accordion-content *,
.accordion-item[aria-expanded="true"] .accordion-content * {
    background-color: transparent !important;
    color: white !important;
}

/* Expanded state */
.accordion-item.active .accordion-content,
.accordion-header[aria-expanded="true"]+.accordion-content {
    padding: 20px 20px !important;
}

.accordion-content ul {
    padding-left: 30px;
}

.accordion-content video {
    display: block;
    margin: 30px auto;
    max-width: 90%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.accordion-content a {
    color: white !important;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    padding-bottom: 2px;
}

.accordion-content a:hover {
    color: #ffeb3b !important;
    border-bottom-color: #ffeb3b;
    transform: scale(1.05);
    cursor: pointer;
}

/* Screenshots - large/full width */
.accordion-content .accordion-content-screenshot img,
.accordion-content img:not(.accordion-content-logo img):not(.testimonial img) {
    display: block;
    max-width: 100% !important;
    width: 100% !important;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

/* Customer logos - small */
.accordion-content .accordion-content-logo img,
.testimonial img {
    max-width: 230px !important;
    max-height: 95px !important;
    width: auto;
    height: auto;
    display: block;
    margin: 15px auto;
    border-radius: 6px;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

/* Customer logos hover effect - target the image directly */
.accordion-content .accordion-content-logo img:hover,
.testimonial img:hover {
    animation: flicker 2.2s infinite alternate ease-in-out;
    will-change: box-shadow;
    cursor: pointer;
    
    box-shadow: 
        0 0 6px #fff,
        0 0 16px #ffeb3b,
        0 0 24px #ff9800,
        0 0 36px #f44336;
    transform: translateY(-2px);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
    will-change: box-shadow, transform;
}

/* Customer Testimonial visibility */
.customer-testimonial {
    background-color: white;
    color: black;
    border-left: 5px solid white;
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: block !important;
    visibility: visible !important;
}

/* Floating Action Button - Back to Top */

/* FAB & Back-to-Top - aligned on all devices */
.fab-container,
.back-to-top {
    position: fixed;
    bottom: 70px;
    /* Same bottom for alignment */
    z-index: 999;
    background-color: black;
    color: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    align-items: center;
    justify-content: center;
}

.fab-container:hover,
.back-to-top:hover {
    background-color: gray;
}

.fab {
    width: 50px;
    height: 50px;
    font-size: 24px;
}


.fab-container {
    right: 40px;
}

.fab-icon-holder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 100%;
    background-color: black;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

.fab-icon-holder:hover {
    background-color: gray;
    border: gray;
}

.fab-icon-holder i {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    font-size: 24px;
    color: white;
    text-decoration: none;
}

.fab-options {
    list-style-type: none;
    position: absolute;
    bottom: 70px;
    right: 0;
    opacity: 0;
    transition: all 0.3s ease;
    transform: scale(0);
    transform-origin: bottom right;
}

.fab-container:hover .fab-options {
    opacity: 1;
    transform: scale(1);
}

.fab-options li {
    margin-bottom: 10px;
    display: flex;
    justify-content: flex-end;
}

/* Remove underline from FAB menu icons */
.fab-options .fab-icon-holder a,
.fab-icon-holder a {
    text-decoration: none !important;
}

.fab-options .fab-icon-holder a:hover,
.fab-icon-holder a:hover {
    text-decoration: none !important;
}

/* Global safety for FAB links */
.fab-container a,
.fab-options a {
    text-decoration: none !important;
}

.fab-container a:hover,
.fab-options a:hover {
    text-decoration: none !important;
}

/* Back-to-Top */
.back-to-top {
    width: 50px;
    height: 50px;
    right: 110px;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}


/* Spacers */
.spacer-bottom {
    margin-bottom: 120px;
    visibility: hidden;
}

/* Styling for the contact-form-wrapper class begins here*/
/* Contact form container – width, margin, background, shadow */
.contact-form-wrapper {
    max-width: 75%;
    margin: 40px auto;
    padding: 30px;
    background: transparent;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    border-radius: 8px;
    text-align: center;
}

/* Fieldsets inside contact form */
.contact-form-wrapper fieldset {
    width: 100%;
    max-width: none;
    margin: 30px 0;
    padding: 25px;
    border-radius: 8px;
    box-sizing: border-box;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

/* Legends inside contact form */
.contact-form-wrapper legend {
    background-color: black;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    font-weight: bold;
    text-align: left;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

/* Two-column grid inside each fieldset */
.contact-form-wrapper .fieldset-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 20px 40px;
    align-items: start;
}

/* Labels in contact form */
.contact-form-wrapper label {
    font-weight: bold;
    color: white;
    text-align: left;
    margin-top: 12px;
}

/* Inputs and textarea in contact form */
.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    padding: 12px;
    border-radius: 4px;
    box-sizing: border-box;
    border: 2px solid rgba(255, 255, 255, 0.1);
    background-color: rgba(173, 216, 230, 0.8);
    color: white;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: all 0.3s ease;
}

/* Textarea height in contact form */
.contact-form-wrapper textarea {
    height: 180px;
    resize: vertical;
}

/* Input and textarea hover effects */
.contact-form-wrapper input:hover,
.contact-form-wrapper textarea:hover {
    border-color: rgba(255, 235, 59, 0.5);
    box-shadow: 
        0 0 6px rgba(255, 255, 255, 0.6),
        0 0 12px rgba(255, 235, 59, 0.4),
        0 0 24px rgba(255, 152, 0, 0.25),
        0 0 48px rgba(244, 67, 54, 0.2);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Input and textarea focus effects */
.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
    outline: none;
    border-color: rgba(255, 235, 59, 0.8);
    box-shadow: 
        0 0 8px rgba(255, 255, 255, 0.8),
        0 0 16px rgba(255, 235, 59, 0.6),
        0 0 32px rgba(255, 152, 0, 0.4),
        0 0 64px rgba(244, 67, 54, 0.3);
    background-color: rgba(255, 255, 255, 0.15);
}

/* Error messages in contact form */
.contact-form-wrapper .error-message {
    grid-column: 2 / 3;
    margin-top: 5px;
}

/* Submit button in contact form */
.contact-form-wrapper button {
    display: block;
    margin: 30px auto 0;
    padding: 15px 40px;
    font-size: 1.2em;
    background-color: black;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    min-width: 200px;
    white-space: nowrap;
    text-align: center;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}

/* Submit button hover in contact form */
.contact-form-wrapper button:hover {
    background-color: gray;
}

/* Table styling in contact form wrapper */
.contact-form-wrapper table {
    width: auto;
    vertical-align: top;
    text-align: center;
    display: inline-block;
    box-sizing: border-box;
}

/* Table cells in contact form wrapper */
.contact-form-wrapper td {
    padding: 6px 25px;
    vertical-align: top;
    text-align: center;
    width: auto;
}

/* Paragraphs in table cells */
.contact-form-wrapper td p {
    color: white;
    font-weight: bold;
    text-align: center;
}

/* Thank you page styling */
.thankyou {
    max-width: 90%;
    vertical-align: top;
    margin-left: auto;
    margin-right: auto;
    padding: 10px;
    text-align: center;
}

/* Utilities */
ul.no-bullets {
    list-style-type: none;
}

/* Text alignment utilities */
.align-left {
    text-align: left;
}

.align-right {
    text-align: right;
}

.align-center {
    text-align: center;
}

/* Fix About Us 3-column layout on desktop */
.about-us {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    max-width: 90%;
    padding: 20px;
    gap: 30px;
    margin: 40px auto;
    text-align: center;
    /* Subtle base glow */
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

.about-us>div {
    flex: 1;
    min-width: 0;
    padding: 12px;
    /* Subtle base glow */
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
    transition: 
        text-shadow 0.4s ease,
        background-color 0.4s ease,
        transform 0.2s ease;
}

/* About Us and Contact us page links styling */
.about-us a,
.gray-link {
    color: #FAF9F6;
    font-weight: bold;
    text-decoration: none;
    transition: transform 0.3s ease;
    /* Smooth transition on hover */
    display: inline-block;
    /* Required for transform to work properly */
}

.about-us a:hover,
.gray-link:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
    cursor: pointer;
}

/* Main container on testimonials page */
.container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: transparent;
    /* Changed from white for dark mode integration */
    box-shadow: none;
    /* Remove shadow to avoid subtle opacity; optional if you want depth */
    overflow: hidden;
    z-index: 0 !important;
}

/* Slideshow Styles */
/* Slideshow container on testimonials page */
.slideshow-container {
    max-width: 800px;
    margin: auto;
    background: transparent;
    color: white;
    border-radius: 8px;
    padding: 20px 60px 60px 60px;
    box-sizing: border-box;
    overflow: hidden;
    position: relative;
    z-index: 0 !important;
    box-shadow: 
        0 0 4px rgba(255, 255, 255, 0.4),
        0 0 8px rgba(255, 235, 59, 0.25),
        0 0 16px rgba(255, 152, 0, 0.15),
        0 0 32px rgba(244, 67, 54, 0.1);
}


/* Blockquote styling for testimonials */
blockquote {
    position: relative;
    margin: 40px 20px;
    padding: 20px 40px;
    font-style: italic;
    font-size: 1.3em;
    text-align: center;
    line-height: 1.6;
    z-index: auto;
}

/* Decorative quotes in blockquotes */
blockquote::before,
blockquote::after {
    z-index: auto;
    line-height: 1;
    opacity: 0.6;
    font-family: Georgia, serif;
    font-size: 80px;
    color: white;
    position: absolute;
}

blockquote::before {
    content: '“';
    top: -25px;
    left: 40px;
}

blockquote::after {
    content: '”';
    bottom: -45px;
    right: 40px;
}

/* Individual slides in slideshow */
.slide {
    display: none;
    text-align: center;
    position: relative;
    will-change: opacity;
    /* Optimizes fade animation */
    z-index: 0;
}


/* Fade animation for slideshow */
.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {
        opacity: 0.4
    }

    to {
        opacity: 1
    }
}

/* Attribution (name/title) under testimonial */
.attribution {
    font-weight: bold;
    font-size: 1.1em;
    margin-top: 20px;
}

/* Navigation arrows for slideshow */
.prev,
.next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 24px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 0 5px 5px 0;
    user-select: none;
}

.prev {
    left: 0;
    border-radius: 5px 0 0 5px;
}

.next {
    right: 0;
    border-radius: 5px 0 0 5px;
}

.prev:hover,
.next:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

/* Dots container for slideshow navigation */
.dots-container {
    text-align: center;
    margin-top: 20px;
}

/* Individual dots for slideshow navigation */
.dot {
    cursor: pointer;
    height: 15px;
    width: 15px;
    margin: 0 5px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active,
.dot:hover {
    background-color: #003366;
}

/* =================================== */
/* TABLET STYLES (max-width: 1024px)   */
/* =================================== */

@media screen and (max-width: 1024px) {
    body {
        font-size: 12px;
    }

    header {
        top: 35px;
    }

    .header-title {
        padding: 0 15px;
    }

    header h1 {
        padding: 8px 0 0 15px;
        font-size: 24px;
    }

    header h2.phone-number {
        padding: 8px 15px 5px 0;
        font-size: 18px;
    }



    nav a {
        font-size: 14px;
        padding: 5px;
    }

    .nav-wrap {
        padding: 5px;
        height: 30px;
    }

    main {
        margin-top: 90px;
        padding: 5px;
    }

    main h2,
    .page-title,
    .fire,
    .page-header-scrolling .page-title {
        font-size: 27px;
        padding: 19px 0;
    }

    .page-header-scrolling {
        padding: 12px 22px;
    }

    fieldset {
        margin: 11px auto;
    }

    legend {
        padding: 4px;
    }

    textarea {
        height: 113px;
    }

    button {
        padding: 4px 8px;
        width: 98px;
    }

    footer {
        padding: 5px 0;
        font-size: 9px;
    }

    .accordion-container {
        padding: 0 15px;
    }

    .accordion-container h2 {
        margin-bottom: 30px;
    }

    .accordion-item {
        margin-bottom: 23px;
        border-radius: 9px;
    }

    .accordion-header {
        padding: 14px 15px;
    }

    .accordion-content p,
    .accordion-content ul {
        padding: 15px 0;
    }

    .accordion-content ul {
        padding-left: 23px;
    }

    .accordion-content video {
        margin: 23px auto;
    }

    /* Screenshots larger on tablet */
    .accordion-content .accordion-content-screenshot img,
    .accordion-content img:not(.accordion-content-logo img):not(.testimonial img) {
        max-width: 100% !important;
        width: 100% !important;
        margin: 25px auto;
        border: 2px solid white !important;
    }

    /* Customer logos smaller on tablet */
    .accordion-content .accordion-content-logo img,
    .testimonial img {
        max-width: 173px !important;
        max-height: 71px !important;
    }

    .accordion-item.active .accordion-content,
    .accordion-header[aria-expanded="true"]+.accordion-content {
        padding: 15px 15px !important;
    }

    .customer-testimonial {
        border-left-width: 4px;
        border-radius: 8px;
        padding: 15px;
        margin: 15px 0;
    }

    .logo {
        width: 191px;
    }

    .logo-wrap {
        margin: 8px 15px 0 0;
    }

    .fab-container,
    .back-to-top {
        bottom: 53px;
        /* Same bottom */
    }

    .fab {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .fab-container {
        right: 20px;
        /* Closer to edge, aligned horizontally */
    }

    .fab-icon-holder {
        width: 34px;
        height: 34px;
        font-size: 18px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    }

    .fab-options {
        bottom: 53px;
    }

    .fab-options li {
        margin-bottom: 8px;
    }

    .back-to-top {
        width: 38px;
        height: 38px;
        right: 100px;
        font-size: 18px;
    }

    /* About Us - stack to 1 column on mobile */
    .about-us {
        flex-direction: column !important;
        padding: 15px;
        gap: 20px;
        align-items: center;
    }

    .about-us>div {
        width: 100% !important;
        padding: 8px;
        max-width: 90%;
        /* Slightly narrower on very small screens */
    }

    .slideshow-container {
        max-width: 600px;
        border-radius: 6px;
        padding: 15px 45px 45px 45px;
    }

    .spacer-bottom {
        margin-bottom: 90px;
    }
}

/* =================================== */
/* MOBILE STYLES (max-width: 450px)   */
/* =================================== */

@media screen and (max-width: 450px) {
    body {
        font-size: 8px;
    }

    header {
        top: 23px;
    }

    .header-title {
        padding: 0 10px;
    }

    header h1 {
        padding: 5px 0 0 10px;
        font-size: 16px;
    }

    header h2.phone-number {
        padding: 5px 10px 4px 0;
        font-size: 14px;
    }

    nav a {
        font-size: 9px;
        padding: 3px;
    }

    .nav-wrap {
        padding: 3px;
        height: 18px;
    }

    main {
        margin-top: 60px;
        padding: 3px;
    }

    main h2,
    .page-title,
    .fire,
    .page-header-scrolling .page-title {
        font-size: 18px;
        padding: 13px 0;
    }

    .page-header-scrolling {
        padding: 8px 15px;
        flex-direction: column;
    }

    .page-header-scrolling .page-title {
        order: 2;
        margin-top: 10px;
    }

    .logo-wrap {
        order: 1;
        margin: 0 auto 10px;
    }

    fieldset {
        margin: 8px auto;
    }

    legend {
        padding: 3px;
    }

    textarea {
        height: 75px;
    }

    button {
        padding: 3px 5px;
        width: 65px;
    }

    footer {
        padding: 3px 0;
        font-size: 6px;
    }

    .accordion-container {
        padding: 0 10px;
    }

    .accordion-item {
        margin-bottom: 15px;
        border-radius: 6px;
    }

    .accordion-header {
        padding: 9px 10px;
    }

    .accordion-content p,
    .accordion-content ul {
        padding: 10px 0;
    }

    .accordion-content ul {
        padding-left: 15px;
    }

    .accordion-content video {
        margin: 15px auto;
    }

    /* Screenshots larger on mobile */
    .accordion-content .accordion-content-screenshot img,
    .accordion-content img:not(.accordion-content-logo img):not(.testimonial img) {
        max-width: 100% !important;
        width: 100% !important;
        margin: 20px auto;
        border: 2px solid white !important;
    }

    /* Customer logos smaller on mobile */
    .accordion-content .accordion-content-logo img,
    .testimonial img {
        max-width: 115px !important;
        max-height: 48px !important;
    }

    .accordion-item.active .accordion-content,
    .accordion-header[aria-expanded="true"]+.accordion-content {
        padding: 10px 10px !important;
    }

    .customer-testimonial {
        border-left-width: 3px;
        border-radius: 5px;
        padding: 10px;
        margin: 10px 0;
    }

    .logo {
        width: 128px;
    }

    .logo-wrap {
        margin: 5px 10px 0 0;
    }

    .fab-container,
    .back-to-top {
        bottom: 35px;
        /* Same bottom */
    }

    .fab {
        width: 25px;
        height: 25px;
        font-size: 12px;
    }

    .fab-container {
        right: 15px;
        /* Close to edge */
    }

    .fab-icon-holder {
        width: 23px;
        height: 23px;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
    }

    .fab-icon-holder i {
        font-size: 12px;
    }

    .fab-options {
        bottom: 35px;
    }

    .fab-options li {
        margin-bottom: 5px;
    }

    .back-to-top {
        width: 25px;
        height: 25px;
        right: 80px;
        font-size: 12px;
    }

    /* About Us - stack to 1 column on mobile */
    .about-us {
        flex-direction: column !important;
        padding: 10px;
        gap: 20px;
        align-items: center;
    }s

    .about-us>div {
        width: 100% !important;
        padding: 6px;
        max-width: 90%;
        /* Slightly narrower on very small screens */
    }

    .slideshow-container {
        max-width: 400px;
        border-radius: 4px;
        padding: 10px 30px 30px 30px;
    }

    .spacer-bottom {
        margin-bottom: 60px;
    }
}