/* Varialbes for colors and common styles */
/* Varialbes for colors and common styles */
/* Varialbes for colors and common styles */

:root {
    --primary: #007CF9; /* Primary brand color */
    --secondary: #62B0FF; /* Secondary brand color */
    --accent: #007CF9; /* Same as primary brand color */
    --background: #11161A; /* Background color */
    /*--gray: #647687; */ /* original Gray text color */
    --gray: #708292; /* Gray text color */
    --xlight: #E5F2FF; /* Light blue alternative to white */
    --light: #fff; /* white color for text */
    --dark: #171C22; /* Dark color for contrast against background color */
    --navy: #1F252C; /* Navy color for greater contrast against background color */
    --tan: #D6D2C9; /*Used in image backgrounds */
    --lightrgb: 255, 255, 255; /* #D6D2C9 in decimal RGB Used to match image backgrounds */
    --choco: #1D1B19; /* Chocolate color for text and accents */
    --blue-gradient: linear-gradient(to bottom, var(--primary), var(--secondary));
    --dark-gradient: linear-gradient(to bottom, var(--navy), var(--dark));
    --choco-gradient: linear-gradient(to bottom, var(--dark), var(--choco));
}
/* This allows for smooth scrolling behavior across the site - especially where anchor tags are used*/
html {
    scroll-behavior: smooth;
}

/* Reset default margins and paddings */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Base body styles */
body {
    font-family: Roboto, sans-serif;
    /* line-height: 1.6; */
    background-color: var(--background);
    color: var(--light);
}


h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    text-wrap: balance;
}

h1 {
    font-size: 6rem;
    margin-bottom: 60px;
    line-height: 1;
    letter-spacing: -4px;
}

h2 {
    font-size: 4rem;
    margin-bottom: 20px;
    line-height: 1;
}

h3 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1;
}

h4 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.5;
}

h5 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 40px;
    line-height: 1.5;
}

h6 {
    font-size: 1.25rem;
    margin-bottom: 20px;
    line-height: 1;
    color: var(--secondary)
}

    h6 img {
        height: 1.75em;
        width: auto;
        vertical-align: middle;
        margin-right: 0.5em;
        margin-top: -2px;
    }


p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    color: var(--gray);
    text-wrap: pretty;
}

hr {
    border: 1px solid var(--navy);
}

img {
    overflow: hidden;
}





/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */
/* Layout styles: Header, Footer, Grid */

/* Header styling */

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000; /* Ensures header stays on top */
    background-color: var(--background);
    backdrop-filter: blur(50px);
}

header {
    /* background-color: var(--background); */
    color: var(--light);
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--navy);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo img {
    height: 40px; /* Adjust based on logo size */
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    cursor: pointer;
}

.logo:hover img,
.logo:focus img {
    transform: scale(1.02);
    opacity: 0.85;
}

/* Footer styling */

footer {
    background-color: var(--dark);
}

.footer-container {
    text-align: center;
    margin: 0 auto;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
}

.footer-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

    .footer-item p {
        font-size: .75rem;
        margin-bottom: 0;
    }




/* Hero section */
.hero {
    /* background-color: var(--background); */
    color: var(--light);
    padding: 60px 20px;
    text-align: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1400px;
}

/* .hero-content h1 {
  max-width: 780px;
} */

.hero-text {
    max-width: 780px;
}

    .hero-text h1 {
        margin-bottom: 30px;
    }

    .hero-text h5 {
        color: var(--gray);
        margin-bottom: 40px;
    }

.doctor-img {
    overflow: visible;
}

    .doctor-img.left {
        position: relative;
        top: 0px;
    }

    .doctor-img.right {
        position: relative;
        top: 80px;
    }

.container {
    max-width: 1420px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    margin: 60px auto !important;
}

/* Component styles (buttons, cards, nav, col etc.) */
/* Component styles (buttons, cards, nav, col etc.) */
/* Component styles (buttons, cards, nav, col etc.) */


/* Navigation styles */
.nav-list {
    list-style: none;
    display: flex;
    justify-content: center; /* centers the nav */
    gap: .7rem; /* space between items */
    padding: 0;
    margin: 0;
}

    .nav-list li a {
        color: var(--gray);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        transition: background-color 0.3s ease, color 0.3s ease;
        border-radius: 4px;
    }

        .nav-list li a:hover,
        .nav-list li a:focus,
        .nav-list li a:active {
            color: var(--light);
            outline: none;
        }


/* Site Nav menu toggle styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--light)
}

    .menu-toggle .icon-close {
        display: none;
    }

    .menu-toggle.open .icon-open {
        display: none;
    }

    .menu-toggle.open .icon-close {
        display: inline;
    }


/* Sidebar nav styles */
.sidebar-list {
    list-style: none;
    display: flex;
    justify-content: center; /* centers the nav */
    gap: .7rem; /* space between items */
    padding: 0;
}

    .sidebar-list li a {
        color: var(--gray);
        text-decoration: none;
        font-weight: 500;
        padding: 0.5rem 1rem;
        transition: background-color 0.3s ease, color 0.3s ease;
        border-radius: 4px;
    }

        .sidebar-list li a:hover,
        .sidebar-list li a:focus,
        .sidebar-list li a:active {
            color: var(--light);
            outline: none;
        }



/* Button styles */
.btn {
    color: var(--light);
    border-radius: 4px;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: var(--accent);
    padding: 1rem 2.5rem;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.75rem;
    transition: transform 0.3s ease;
}

    .btn-primary:hover {
        transform: translateY(-4px);
        background-image: var(--blue-gradient);
        box-shadow: 0 10px 40px #000;
    }

.btn-secondary {
    padding: .75rem 1.5rem !important;
    text-decoration: none;
    color: var(--light) !important;
    border: 1px solid var(--accent);
    font-size: 1.1rem;
    font-weight: 400 !important;
}

    .btn-secondary:hover,
    .btn-secondary:focus {
        background-color: var(--accent);
    }

/* 2-col layout styles */
.two-column {
    display: flex;
    align-items: stretch;
    padding: 80px 20px;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap; /* Helps with stacking */
    transition: transform 0.3s ease;
}



    .two-column .col {
        flex: 1 1 45%;
    }

    .two-column .image {
        /* border-radius: 10px 0 0 10px; */
        background-position: center; /* Center the image */
        background-repeat: no-repeat; /* Do not repeat the image */
        background-size: cover; /* Resize the background image to cover the entire container */
        min-height: 500px;
    }

    .two-column div:first-child {
        border-radius: 10px 0 0 10px;
    }

    .two-column div:last-child {
        border-radius: 0 10px 10px 0;
    }


.bg-home-design {
    background-image: url('../assets/img/x1.5/laptopRock45SlantRuiz.jpg');
}

.bg-home-responsive {
    background-image: url('../assets/img/x1.5/phoneRockLinesContact.jpg');
}





.two-column .content {
    background-color: var(--dark);
    padding: 50px;
    height: auto;
    /* border-radius: 0 10px 10px 0; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Card styles */

.card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 60px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.card {
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    flex: 1 1 calc(33.333% - 2rem);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-4px);
    }

    .card img {
        width: 100%;
        height: auto;
        border-radius: 8px 8px 0 0;
        margin-bottom: 2rem;
    }

    .card .btn {
        align-self: flex-start;
        border: 1px solid var(--accent);
        color: var(--light);
        padding: 0.5rem 1rem;
        margin: 20px;
        border-radius: 4px;
        text-decoration: none;
        font-weight: 400;
        margin-top: auto;
    }

    .card h6 {
        padding: 20px;
    }

    .card h5 {
        padding: 20px;
    }

    .card .btn:hover,
    .card .btn:focus {
        background-color: var(--primary, #0066cc);
        border: 0px solid var(--gray, #004080);
        outline: none;
    }

    /* styles for icons*/
    .card h6 img {
        height: 1.75em;
        width: auto;
        margin-bottom: 0;
    }



/* Banner CTA styles */
/* Primary Banner */
.banner-cta {
    color: var(--light);
    padding: 100px 20px;
    text-align: center;
    margin: 40px 0;
    border-top: 1px solid var(--gray);
    border-bottom: 1px solid var(--gray);
}

    .banner-cta h3 {
        font-weight: 400;
    }

    .banner-cta h4 {
        color: var(--gray);
    }

/* Secondary Banner */
.banner-cta-alt {
    display: flex;
    max-width: 1000px;
    margin: 60px auto;
    flex-wrap: wrap;
    justify-content: space-between;
}

    .banner-cta-alt h5 {
        color: var(--gray);
        margin-bottom: 0px;
    }

    .banner-cta-alt h4 {
        font-weight: 400;
        margin-bottom: 0px;
    }

.banner-button {
    margin: auto;
}

.banner-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* FAQ styles */
.faq {
    background-color: var(--dark);
    padding: 60px;
    max-width: 1000px;
    margin: 100px auto;
    text-align: center;
    border-radius: 20px;
}

.faq h5 {
    font-weight: 400;
}

.question {
    margin: 50px 0 20px;
}

.answer {
    color: var(--gray);
    margin-bottom: 50px
}

/* Image Styles */

.mural {
    text-align: center;
    overflow: hidden;
}

    .mural img {
        transition: transform 0.25s ease;
    }

        .mural img:hover {
            transform: scale(0.97);
            transition: transform 1s ease-out;
        }

/* Styles for internal pages hero section */
.int-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 60px auto 0;
    padding: 20px 20px 0;
    text-align: center;
    max-width: 1000px;
}

    .int-hero h5 {
        color: var(--secondary);
        margin-bottom: 20px;
    }

    .int-hero hr {
        width: 45px;
        height: 1px;
        color: var(--primary);
        border: 1px solid var(--secondary);
    }

    .int-hero h3 {
        line-height: 1.2;
        font-weight: 400;
        margin: 60px 20px;
    }

    .int-hero img {
        max-width: 149%;
    }

/* Sidebar setup and styles */
.sidebar-container {
    border-top: 1px solid var(--navy);
}

.grid-layout {
    display: grid;
    /* grid-template-columns: 225px 1fr; */
    grid-template-columns: 16% 72% 12%;
    max-width: 1400px;
    margin: 0 auto;
    /* gap: 2rem; */
}

/* Left Sidebar menu styles */
.sidebar-nav {
    position: sticky;
    align-self: start;
    height: max-content; /* ensures sticky works properly */
    margin: 60px 0;
    top: 100px;
}

    .sidebar-nav ul {
        list-style: none;
        padding: 0;
    }

        .sidebar-nav ul li {
            padding: .25rem 0;
        }

            .sidebar-nav ul li a {
                border-left: 2px solid var(--background);
                font-weight: 400;
                color: var(--gray);
                padding: 12px 20px;
                cursor: pointer;
                transition: color 0.2s ease-in-out, transform 0.1s ease-in-out;
                text-decoration: none;
                width: 100%;
                display: inline-block;
            }

                .sidebar-nav ul li a:hover {
                    color: var(--light);
                }



                .sidebar-nav ul li a.active {
                    border-left: 2px solid var(--accent);
                    color: var(--light);
                }

/* Right Sidebar menu styles */
.sidebar-right-nav {
    position: sticky;
    align-self: end;
    /* height: max-content;*/
    bottom: 60px;
    display: flex;
    justify-content: end;
    padding: 20px;
}

    .sidebar-right-nav ul {
        list-style: none;
    }


        .sidebar-right-nav ul li a {
            color: var(--gray);
            cursor: pointer;
            text-decoration: none;
            display: flex;
            justify-content: center;
            flex-direction: column;
            transition: color 0.2s ease-in-out;
            text-align: center;
        }

            .sidebar-right-nav ul li a:hover {
                color: var(--light);
            }

            .sidebar-right-nav ul li a img {
                width: 35px;
                margin: 10px auto;
            }



/* Main content that belongs to sidebar menu*/

.main-content {
    overflow: hidden; /* allow natural page scroll */
    border-left: 1px solid var(--navy);
    /* padding: 0 250px 100px 100px; */
    padding: 0 5% 100px;
    background-color: var(--background);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

    .main-content h4 {
        margin-bottom: 0;
        text-align: center;
    }

    .main-content h6 {
        padding-top: 100px;
    }

    .main-content img {
        border-radius: 10px;
    }

    .main-content h5 {
        text-align: center;
    }

    .main-content p {
        text-align: center;
    }


/* Image gallery flexbox styles */
.image-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
    max-width: 1000px;
}

    .image-flex img {
        width: 100%;
    }

.flex-item-1 {
    flex: 1 1 100%;
}

.flex-item-2 {
    flex: 1 1 45%;
}

.flex-item-3 {
    flex: 1 1 32%;
}

.flex-item-4 {
    flex: 1 1 23%;
}

.flex-item-5 {
    flex: 1 1 18%;
}

/* Image gallery grid styles */
.image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 1000px;
    margin-bottom: 60px
}

    .image-grid img {
        width: 100%;
        transition: transform 0.3s ease;
    }

        .image-grid img:hover {
            transform: translateY(-4px);
        }

.tile-flex {
    display: flex;
    gap: 1rem;
    margin-bottom: 20px;
    width: 100%;
}

.tile-item {
    background-color: var(--dark);
    border-top: 2px solid var(--navy);
    border-radius: 10px;
    width: 100%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease;
}

    .tile-item:hover {
        transform: translateY(-4px);
    }

    .tile-item img {
        height: 35px;
    }

    .tile-item p {
        margin: 0;
        color: var(--light);
    }

/* Accordion styles */
.accordion {
    background-color: var(--dark);
    border-radius: 10px;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.accordion-header {
    background: var(--dark);
    color: var(--light, #fff);
    cursor: pointer;
    padding: 1rem;
    border: none;
    outline: none;
    width: 100%;
    text-align: left;
    font-size: 1.1rem;
    transition: background 0.2s;
}

    .accordion-header.active,
    .accordion-header:hover {
        background: var(--navy);
    }

.accordion-panel {
    max-height: 0;
    overflow: hidden;
    background: var(--dark);
    transition: max-height 0.3s ease;
    padding: 0 1rem;
}

    .accordion-panel.open {
        padding: 1rem;
        max-height: 500px; /* adjust as needed */
    }

    .accordion-panel p {
        text-align: left;
    }


/* Custom list styles */
.custom-list {
    list-style: none;
    padding: 10px 0;
}

    .custom-list li {
        position: relative;
        padding: 5px;
        margin-bottom: .5em;
        display: flex;
        align-items: flex-start; /* Align icon and text at the top */
        font-size: 1.2rem;
    }

        .custom-list li::before {
            content: '';
            display: inline-block;
            width: 1.2em;
            height: 1.2em;
            margin-right: 0.75em;
            margin-top: 0em; /* Adjust as needed for vertical alignment */
            background: url('/assets/icons/check-circle.svg') no-repeat center center;
            background-size: contain;
            flex-shrink: 0;
            position: relative;
            left: 0;
            top: 0;
        }

.details-flex {
    display: flex;
    gap: 5%;
}

    .details-flex div {
        flex: 1 1 45%;
    }

.bg-prod-biz-responsive {
    background-image: url('../assets/img/x1.5/phoneRockLinesContact.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.bg-prod-ace-responsive {
    background-image: url('../assets/img/feat-store-manager.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.bg-prod-med-responsive {
    background-image: url('../assets/img/desktopRedesignEqual.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.bg-prod-mobile-responsive {
    background-image: url('../assets/img/mobileHomepageRockAmica.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}

.bg-prod-mngr-responsive {
    background-image: url('../assets/img/feat-member-mngr.jpg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border-radius: 5px;
}





/* Page Specific Styles: Homepage, About, Contact, etc. */
/* Page Specific Styles: Homepage, About, Contact, etc. */
/* Page Specific Styles: Homepage, About, Contact, etc. */



/* Homepage Auto Scrolling Banner */

.scroll-banner {
    overflow: hidden;
    white-space: nowrap;
    border-top: 1px solid var(--navy);
    border-bottom: 1px solid var(--navy);
    padding: 1.5rem 0;
}

.scroll-track {
    display: inline-block;
    animation: scroll-left 20s linear infinite;
}

@keyframes scroll-left {
    0% {
        transform: translateX(0); /* ✅ Start fully visible */
    }

    100% {
        transform: translateX(-50%); /* Or -100% if your content is long enough to repeat cleanly */
    }
}

.scroll-track span {
    display: inline-block;
    padding-right: 2rem;
    font-weight: 600;
    font-size: 1rem;
}

.scroll-track img {
    height: 75px;
    padding: 0 100px;
}


/* Contact Page Styles */
.bg-contact {
    background-image: url('../assets/img/x1.5/contactform-light.jpg');
    background-position-y: top !important;
}

.contact-header {
    margin: 60px auto;
}

/* Contact Form with vertical layout */


.contact-container {
    padding-top: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 5px; /* space between fields */
    width: 100%;
   /* max-width: 600px;*/
}

    form label {
        font-weight: 400;
        font-size: 1.2rem;
        margin: 10px 0 0;
        color: var(--light);
    }

    form input,
    form textarea {
        padding: 15px;
        border-radius: 5px;
        border: 1px solid var(--navy, #ccc);
        background-color: var(--dark);
        color: var(--text);
        font-size: 1.5rem;
        font-family: 'Roboto', Arial, sans-serif;
        font-weight: 200;
    }

        form input:hover,
        form textarea:hover,
        form input:focus,
        form textarea:focus {
            background-color: var(--navy);
            border: 1px solid var(--gray, #ccc);
            box-shadow: 0 10px 20px 10px #00000025;
            transition: border 0.2s, background 0.2s, box-shadow 0.2s;
        }

    form button {
        /* margin: 10px auto; */
        padding: 1rem 1.25rem;
        border-radius: 5px;
        border: 0px solid var(--gray, #ccc);
        background-color: var(--accent);
        color: var(--light);
        font-weight: 500;
        font-size: 1.5rem;
        cursor: pointer;
        transition: background-color 0.3s ease, transform 0.3s ease;
        font-family: 'Roboto', Arial, sans-serif;
    }

        form button:hover {
            transform: translateY(-4px);
            background-image: var(--blue-gradient);
            box-shadow: 0 10px 40px #000;
        }

    form textarea {
        min-height: 200px;
        resize: vertical;
    }

.required {
    color: var(--gray);
    font-weight: 600;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* gap: 20px; */
    margin-top: 20px;
}

/* Products Page Styles */
.products-intro {
    max-width: 1400px;
    margin-bottom: 60px;
}

    .products-intro h3, .portfolio-intro h3 {
        margin-bottom: 20px;
    }

    .products-intro h6, .portfolio-intro h6 {
        margin-bottom: 60px;
        color: var(--gray)
    }

.feat-tile-flex {
    display: flex;
    /* gap: 1rem; */
    gap: 4px;
    margin-bottom: 20px;
    width: 100%;
}

.feat-tile-item {
    display: flex;
    flex-direction: column;
    align-items: start;
    background-color: var(--dark);
    border-top: 2px solid var(--navy);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    width: 100%;
    text-align: left;
    justify-content: space-between;
    text-decoration: none;
    min-height: 300px;
}

    .feat-tile-item:hover {
        transform: translateY(-4px);
        background-color: var(--navy);
        flex-basis: 200%;
    }

        .feat-tile-item:hover h6 {
            color: var(--secondary);
        }

        .feat-tile-item:hover p {
            color: var(--light);
        }

        .feat-tile-item:hover .text-label p {
            color: var(--gray);
        }

        .feat-tile-item:hover .feat-btn {
            height: 40px;
            transform: scale(1);
            transition: transform 0.3s ease;
        }

    .feat-tile-item h6 {
        color: var(--light);
        margin-bottom: 10px;
    }

    .feat-tile-item p {
        margin: 20px 0 0 0;
    }

    .feat-tile-item .feat-btn {
        display: flex;
        align-self: end;
        height: 0px;
        transform: scale(0);
    }

.text-label p {
    color: var(--secondary);
    opacity: .7;
    font-size: .8rem;
    text-transform: uppercase;
    margin-top: 0;
}

.feat-tile-img {
    margin-bottom: 20px;
    border-radius: 5px;
    height: 35px;
}

/* Product page text formatting and layout styles */
.product-overview {
    /* padding: 30px; */
    width: 100%;
    background-color: var(--dark);
    border-radius: 10px;
}

    .product-overview img {
        border-radius: 10px 10px 0 0;
    }

    .product-overview .image-flex {
        margin-bottom: 0;
    }

    .product-overview h6,
    .product-overview h5,
    .product-overview p {
        text-align: left;
        padding-top: 10px;
    }

.product-details {
    padding: 30px;
    width: 100%;
    background-color: var(--dark);
    border-radius: 10px;
    border-top: 2px solid var(--navy);
}

    .product-details h6,
    .product-details h5,
    .product-details p {
        text-align: left;
        padding-top: 10px;
        margin-bottom: 20px;
    }


.product-cta {
    text-align: center !important;
    background-color: var(--background);
    border: 1px solid var(--gray);
}

    .product-cta h5,
    .product-cta h6 {
        text-align: center !important;
        margin: 20px;
        padding: 0;
    }


/* Details grid for 2 column layouts */
.details-2col-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* 2 columns */
    grid-auto-rows: 1fr; /* as many rows as needed */
    /* border: 2px solid var(--gray); */
    background-color: var(--dark);
    border-radius: 10px;
    border-top: 2px solid var(--navy);
}

.details-grid-cell {
    padding: 40px;
    text-align: center;
    font-size: 1.5rem;
    border-right: 2px solid var(--background);
    border-bottom: 2px solid var(--background);
    /* background: #fff; */
    text-align: left;
}


    .details-grid-cell p {
        color: var(--gray);
        margin-bottom: 0;
        text-align: left;
    }

    .details-grid-cell h6 {
        color: var(--secondary);
        margin-bottom: 10px;
        padding: 0;
    }
/* Details Grid: Remove right border from last column */
.details-2col-grid .details-grid-cell:nth-child(2n) {
    border-right: none;
}

/* Details Grid: Remove bottom border if in last row */
.details-2col-grid .details-grid-cell:nth-last-child(-n+2) {
    border-bottom: none;
}


.callout {
    background-color: var(--background);
    padding: 20px !important;
    border-radius: 5px;
    color: var(--gray) !important;
    margin-bottom: 0;
    border-bottom: 2px solid var(--navy);
}


/* Why Altair page specific styles */



.why-altair {
    background-color: var(--tan);
}

.why-hero {
    text-align: left;
    padding: 150px 20px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.why-altair h1,
.why-altair h2,
.why-altair h3,
.why-altair h4,
.why-altair h5,
.why-altair h6 {
    color: var(--navy);
}

.why-altair h6 {
    font-weight: 600;
}


.waterfall h3,
.waterfall h4,
.waterfall h6 {
    margin-bottom: 75px;
}


.waterfall {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 10%;
    padding: 20px;
    align-items: center;
}

.waterfall-item {
    flex: 1 1 50%;
    margin-top: 8%;
}

.waterfall img {
    max-width: 100%;
    border-radius: 20px;
}


.waterfall-item:nth-child(1) {
    margin-bottom: -100px;
}

.waterfall-item:nth-child(2) img {
    margin-top: -250px;
}




/* why altair row items: flex styles */
.why-flex {
    display: flex;
    max-width: 1400px;
    margin: 150px auto;
}

    .why-flex img {
        /* padding-bottom: 25px; */
        height: 150px;
    }


    .why-flex h6 {
        margin: 10px 0 50px 0;
    }

.why-item {
    padding: 50px;
    /* background-color: var(--tan); */
    border-radius: 10px;
    gap: 50px;
    transition: transform 0.3s ease, box-shadow 0.2s;
}

    .why-item:hover {
        background-color: rgba(var(--lightrgb), 0.8);
        transform: translateY(-4px);
        filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .1));
    }

.why-altair .btn-primary {
    background-color: var(--light);
    color: var(--navy)
}

    .why-altair .btn-primary:hover {
        box-shadow: 0 10px 40px #00000050;
        color: var(--light);
        background-image: var(--dark-gradient);
    }

.why-altair .banner-cta-alt {
    background-color: rgba(var(--lightrgb), 0.8);
    max-width: 1400px;
    padding: 50px 150px;
    border-radius: 100px;
    margin: 100px auto;
    transition: transform 0.3s ease, box-shadow 0.2s;
}

    .why-altair .banner-cta-alt:hover {
        background-color: rgba(var(--lightrgb), 0.8);
        transform: translateY(-4px);
        filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .1));
    }

.why-altair .btn-secondary {
    color: var(--navy) !important;
    border: 1px solid var(--navy);
}

    .why-altair .btn-secondary:hover {
        box-shadow: 0 10px 40px #00000050;
        color: var(--light) !important;
        background-image: var(--dark-gradient);
    }

/* About Page Styles */

#about-altair h4 {
    color: var(--secondary)
}

.about-hero {
    border-radius: 40px;
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    text-align: center;
    display: flex;
    padding: 10px;
}

.about-page .why-flex {
    margin: 20px auto;
}

.about-page .why-item:hover {
    /* background-image: var(--dark-gradient); */
    border-top: 3px solid var(--navy);
    background-color: var(--dark);
}


/* Responsive styles */
/* Responsive styles */
/* Responsive styles */


@media (min-width: 769px) {
    /* Responsive style for hero */
    .hero-content {
        flex-direction: row;
        justify-content: center;
        gap: 80px;
    }

    .doctor-images {
        display: contents;
        margin-top: 0;
    }

    .doctor-img.left {
        order: -1;
    }

    .doctor-img.right {
        order: 1;
    }
}

/* Responsive: Adjust form layout for larger screens */
/* Responsive: Adjust form layout for larger screens */
/* Responsive: Adjust form layout for larger screens */
@media (max-width:1360px) {
    /* Contact form styles */
    form {
        align-items: center;
        margin: 0 auto;
    }

        form input,
        form textarea {
            width: 100%;
        }

    .form-actions {
        flex-direction: column-reverse;
        gap: 20px;
    }
}

/*fixes navigation running into logo in between breakpoints */
@media (max-width: 1000px) {
    .nav-list li a {
        padding: 0.5rem .5rem;
    }
}



/*tablets and smaller screens */
/*tablets and smaller screens */
/*tablets and smaller screens */

@media (max-width: 900px) {
    /* Dropdown Menu Nav mobile styles */
    .menu-toggle {
        display: block;
    }

    .site-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        padding: 2rem 2rem 4rem;
        border-top: 1px solid var(--navy);
        border-bottom: 1px solid var(--navy);
    }

        .site-nav.open {
            display: block;
            height: 100vh;
            z-index: 2000;
        }

    /* Responsive style for navigation and header */
    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        justify-content: space-around;
        height: 70%;
    }

        .nav-list li a {
            color: var(--light);
            font-weight: 300;
            font-size: 1.5rem;
        }

    .header-container {
        gap: 1rem;
    }

    /* Button styles */

    .btn {
        min-width: 50%;
    }

    /* Responsive: Adjust card layout for smaller screens */
    .card {
        flex: 1 1 calc(50% - 2rem);
    }

    /* Responsive Alt Banner Styles */
    .banner-cta-alt {
        flex-direction: column;
        align-items: center;
        margin-bottom: 100px;
    }

        .banner-cta-alt h4 {
            text-align: center;
        }

        .banner-cta-alt h5 {
            text-align: center;
            margin-bottom: 20px;
        }

    .banner-button {
        margin-top: 20px;
    }

    /* footer styles on mobile */
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-item {
        margin: 10px;
    }

    /* Responsive: Stack columns vertically on smaller screens */
    .two-column {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

        .two-column .col {
            flex-basis: 100%;
        }


        .two-column .image {
            margin-bottom: 0;
        }

        .two-column .content {
            padding: 30px;
        }

        .two-column div:first-child {
            border-radius: 10px 10px 0 0;
        }

        .two-column div:last-child {
            border-radius: 0 0 10px 10px;
        }


    /* Responsive: Adjust spacing for card grid and card styles text formatting */
    .card-grid {
        padding: 1rem;
    }

    .card {
        text-align: center;
        flex-direction: column;
    }

        .card h6 {
            padding: 0 20px;
        }

        .card h5 {
            font-size: 2rem;
            font-weight: 300;
            margin-bottom: 20px;
            line-height: 1.5;
            padding: 0 20px;
        }

        .card .btn {
            align-self: center;
        }

    /* Responsive: FAQ styles */
    .faq {
        margin: 100px 20px;
    }

    /* Sidebar layout using grid responsive styles*/
    .grid-layout {
        grid-template-columns: 1fr;
    }

    .main-content {
        border-left: 0px;
        padding: 0 20px 100px 20px;
    }

    .sidebar-nav {
        display: none;
        position: sticky;
        top: 0;
        margin: 0;
        padding: 20px;
        background-color: var(--background);
        border-bottom: 1px solid var(--gray);
        overflow-x: auto;
    }

        .sidebar-nav ul {
            display: flex;
            justify-content: center;
        }

    .sidebar-right-nav {
        display: none;
    }

    /* Responsive Featured Tiles on Products page */
    .feat-tile-flex {
        flex-wrap: wrap;
    }

    .feat-tile-item {
        flex: 1 1 200px;
        min-height: 100%;
    }

        .feat-tile-item:hover {
            transform: translateY(0px);
            background-color: var(--navy);
        }

    .details-flex {
        flex-direction: column;
    }

    .details-2col-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto auto;
    }

    .details-grid-cell {
        border-right: 0;
        border-bottom: 0;
        padding: 20px;
    }

        .details-grid-cell h6, p, li {
            font-size: 1rem;
        }

    /* Details Grid: Remove bottom border if in last row */
    .details-2col-grid .details-grid-cell:nth-last-child(-n+1) {
        border-bottom: none;
    }

    /* Flexbox on About and Why Altair pages */
    .why-flex {
        flex-direction: column;
        align-items: center;
    }

    .why-altair .banner-cta-alt {
        padding: 50px 20px;
        margin: 20px;
        border-radius: 20px;
    }

        .why-altair .banner-cta-alt h5 {
            color: var(--gray);
            font-size: 1.2rem;
        }

    .about-hero {
        border-radius: 20px;
        padding: 10px;
    }
}



@media (max-width: 768px) {
    /* Homepage Hero doctor images */
    .doctor-img.right {
        top: -30px;
        left: 100px;
    }

    .doctor-img.left {
        top: -30px;
        right: 100px;
    }
}



/* Small screens and mobile devices */
/* Small screens and mobile devices */
/* Small screens and mobile devices */

@media (max-width: 600px) {

    /* Header text styles */
    h1 {
        font-size: 3.5rem;
    }

    h3 {
        font-size: 2rem !important;
    }

    /* h4 {
    font-size: 1.5rem;
  } */

    h4, h5 {
        font-size: 1.2rem !important;
    }

    li {
        font-size: 1rem !important;
    }

    /* header logo and navigation */

    .header-container {
        padding: 0;
    }

    /* Button styles */

    .btn {
        min-width: 90%;
    }

    /* Homepage Hero section */

    .hero {
        padding: 0px;
    }

    /* Hero Doctor images */
    .doctor-img {
        max-width: 49%;
    }

        .doctor-img.right {
            top: -30px;
            left: 20px;
            width: 120px;
        }

        .doctor-img.left {
            top: -30px;
            right: 20px;
            width: 140px;
        }

    /* Responsive: 2 column layout stacking */
    .two-column .image {
        min-height: 300px;
    }

    /* Responsive: FAQ styles */
    .faq {
        margin: 60px 20px;
        padding: 60px 20px;
    }

    /* Responsive: Card styles */
    .card {
        flex: 1 1 100%;
    }
    /*Image Gallery*/
    .main-content {
        padding: 0 10px;
    }

    /* Image Gallery Flexbox styles */
    .image-flex {
        gap: 1em;
        margin-bottom: 10px;
    }


    .tile-flex {
        flex-direction: column;
    }

    /* Image Gallery grid styles */
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1em;
        margin-bottom: 20px;
    }

        .image-grid img {
            border-radius: 5px;
        }

    /* Mural on mobile */
    .mural img {
        width: 200vw;
    }

    /*Stack columns vertically on smaller screens */
    .two-column .content {
        padding: 30px 10px;
    }

    /* Featured Tiles on Products page */

    .feat-tile-item {
        text-align: center;
    }

        .feat-tile-item:hover .feat-btn {
            height: 0px;
            transform: scale(0);
            transition: transform 0.3s ease;
        }

    /* Portfolio hero image scaling */
    .int-hero img {
        max-width: 100%;
    }


    /* flexbox for Waterfall on why altair pages */


    .waterfall {
        flex-direction: column;
    }

    .waterfall-rev {
        flex-direction: column-reverse;
    }

    .waterfall-item {
        margin-bottom: 50px;
    }

        .waterfall-item img {
            margin: 0 auto !important;
        }

        .waterfall-item:nth-child(1),
        .waterfall-item:nth-child(2) {
            margin-bottom: 0;
        }

    .why-flex {
        margin: 0px 10px;
    }

    .about-page .why-flex {
        margin: 0px 10px;
    }

    .why-item {
        padding: 20px;
    }

    .why-hero {
        padding: 20px;
    }

        .why-hero h1 {
            margin-bottom: 0;
        }

    .waterfall h3,
    .waterfall h4,
    .waterfall h6 {
        margin-bottom: 30px;
    }
}
