/* your styles go here */
footer.main-footer .newsletter button {
    top: 83%;
}

section.hero.hero-home h1,
.home-banner p {
    color: white;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.5);
}

section.how-to {
    padding: 30px 0;
}

.dropdown:hover>.dropdown-menu {
    display: block;
    margin-top: 0;
}

header.hero {
    background: #333;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

header.hero h1 {
    margin-bottom: 1rem;
    font-size: 32px;
    font-weight: 500;
}

header.hero p {
    margin-bottom: 1rem;
}

header.hero .btn {
    padding: 0.75rem 1.5rem;
    background: #184844;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

header.hero .btn:hover {
    background: #d5c190;
}

section {
    padding: 2rem 0;
}

section h2 {
    margin-bottom: 1rem;
    font-size: 28px;
    font-weight: 500;
    text-align: center;
}

section h3 {
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 20px !important;
}

.equipment-content {
    display: flex;
    flex-wrap: wrap;
}

.equipment-image {
    flex: 1;
    background-image: url('https://selmasu-bbr.s3.ap-southeast-2.amazonaws.com/bbr/125/iStock-refrigeration.jpg');
    background-size: cover;
    background-position: center;
    min-height: 300px;
}

.equipment-text {
    flex: 1;
    padding: 1rem;
    background: #f4f4f4;
}

ul, ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

ul li, ol li {
    margin-bottom: 0.5rem;
}

.background {
    background-color: #f5f5f5;
}

.why-us-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.card {
    flex: 1 1 22%;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    max-width: 250px;
}

.card h3 {
    margin-bottom: 0.5rem;
}

.card p {
    font-size: 0.9rem;
    color: #555;
}

section#quote .btn, section#contact .btn {
    display: block;
    width: fit-content;
    margin: 1rem auto;
    padding: 0.75rem 1.5rem;
    background: #184844;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

section#quote .btn:hover, section#contact .btn:hover {
    background: #d5c190;
}

.timeline {
    position: relative;
    margin: 2rem 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    background: #184844;
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 2rem 0;
    padding: 0;
    width: 45%;
    display: flex;
    justify-content: center;
    text-align: center;
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    right: 0;
}

.timeline-icon {
    position: absolute;
    top: 0;
    left: 50%;
    width: 30px;
    height: 30px;
    background: #184844;
    color: #fff;
    text-align: center;
    line-height: 30px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.timeline-content {
    padding: 1rem;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 80%;
}

.timeline-item h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
}

.dl dt {
    font-weight: bold;
    margin-top: 1rem;
}

.dl dd {
    margin-bottom: 1rem;
}

.hero.dark-background {
    background-color: #333;
    color: #fff;
    text-align: center;
}

.hero.dark-background .btn {
    background: #184844;
    color: #fff;
}

.accordion {
    border: 1px solid #ddd;
    border-radius: 5px;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-title {
    background: #f5f5f5;
    padding: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
}

.accordion-title h3 {
    margin: 0;
    font-size: 1rem;
}

.accordion-icon {
    font-size: 1.5rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: #fff;
    padding: 0 1rem;
}

.accordion-content p {
    padding: 1rem 0;
}

.accordion-item.active .accordion-content {
    max-height: none;
}

.accordion-title.active {
    background: #184844;
    color: #fff;
}

.accordion-title.active h3 {
    color: #fff;
}

/* Pop-Up Container */
.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Pop-Up Content */
.popup-content {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
//text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

/* Close Button */
.close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
}

/* Headline */
.popup-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #184844;
    text-align:left;
}

/* Paragraph */
.popup-content p {
//margin: 10px 0;
    color: #555;
}

/* Bullet Points */
.popup-content ul {
    text-align: left;
    padding-left: 40px;
    margin-bottom: 20px;
    color: #555;
}
.popup-content ul li{
    margin-bottom:12px;
}

/* Button */
.popup-button {
    background: #184844;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1em;
    cursor: pointer;
}

.popup-button:hover {
    background: #d5c190;
}

/* Fine Print */
.fine-print {
    font-size: 0.8em;
    color: #777;
    margin-top: 10px;
    font-style: italic;
}
/* End of Pop-Up Content */

.flex-wrap-nav {
    flex-wrap: wrap !important;
    white-space: normal !important;
}

nav.navbar .nav-item {
    width: 250px;
}

nav.navbar a.nav-link {
    font-size: 0.9rem !important;
}

@media (max-width: 992px) {

    /* Pop-Up Content */
    .popup-content {padding:20px;}
    .popup-content h2 {font-size:26px;}


    .container {
        width: 100%;
        max-width: none;
    }

    header.hero h1 {
        font-size: 28px;
    }

    section h2 {
        font-size: 24px;
    }

    section h3 {
        font-size: 20px;
    }

    header.hero p {
        font-size: 1rem;
    }

    header.hero .btn, section#quote .btn, section#contact .btn {
        padding: 0.5rem 1rem;
    }

    section h2 {
        font-size: 1.5rem;
    }

    .equipment-content {
        flex-direction: column;
    }

    .equipment-image, .equipment-text {
        flex: 1;
    }

    ul, ol {
        padding-left: 1rem;
    }

    ul li, ol li {
        font-size: 1rem;
    }

    dl dt {
        font-size: 1rem;
    }

    dl dd {
        font-size: 0.9rem;
    }

    .why-us-cards {
        flex-direction: column;
        align-items: center;
    }

    .card {
        flex: 1 1 90%;
    }

    .steps {
        flex-direction: column;
    }

    .timeline {
        padding: 0;
        flex-direction: column;
        align-items: center;
    }

    .timeline::before {
        left: 5%;
        width: 2px;
    }

    .timeline-item {
        width: 90%;
        left: auto;
        transform: translateX(0);
    }

    .timeline-item.left,
    .timeline-item.right {
        left: auto;
        right: auto;
        text-align: center;
        align-self: center;
    }

    .timeline-icon {
        left: 5%;
        transform: translateX(-50%);
    }

    .timeline-item h3 {
        font-size: 1.2rem;
    }
}