h1, h2, h3, h4, h5, h6 {
    font-family: 'Red Hat Display', sans-serif;
    color: #444;
}
body, p, span, div, a {
    font-family: 'Roboto', sans-serif;
}
.container {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}
.top_banner {
    background-color: #1E3A5F;
    margin: 0;
    padding: 8px;
}
.top_banner .info {
    display: flex;
    margin:6px;
}
.top_banner .info a {
    float: left;
    text-decoration: none;
    color: #fff;
    text-align: left;
    font-size: 16px;
    font-weight: bold;
    padding-left: 15px;
    padding-right: 25px;
}
h1 {
    color: #1E3A5F;
}
.logo img {
    height: 90px;
}
a {
    color: #1E3A5F;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #fff; /* Adjust as needed */
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin-left: 20px; /* Space between menu items */
}

nav a {
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
}

nav a:hover {
    color: #C14D21;
    background-color: #f0f0f0; /* Adjust hover effect as needed */
    border-radius: 5px;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}
.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 2px 0;
}
.content {
    min-height: 500px;
}
footer {
    margin: 0px;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: #1E3A5F;
}
footer p {
    padding: 10px;
    font-size: 12px;
    color: white;
    margin-bottom: 0px;
}
section {    
    background-size: auto 100%; /* Auto width, scale height to fit container */
    background-position: right center; /* Align to right when wider, center when narrower */
    background-repeat: no-repeat; /* Prevent repeating */
    color: #fff;
}
.device_box {
    background-color: #1E3A5F;
    background-image: url('/images/bath_banner_top.png'); /* Replace with your image URL */
}
section .device_wrap {
    background-color: #1E3A5F50;
}
section .box_wrap {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0px;
    padding: 80px;
    padding-bottom: 30px;
}
section h2 {
    font-size: 1.75em;
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 60px;
}
.device_wrap h2 {
    color: #fff;
}
section p {
    margin-top: 50px;
    font-size: 20px;
    font-weight: normal;
    line-height: 35px;
    color: #444;
}

section p.news-content {
    margin-top: 20px;
}

.device_wrap p {
    color: white;
}

section .section_wrap {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0px;
    padding: 20px;
    padding-top: 80px;
    padding-bottom: 20px;
}

section .items {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

section .items .item {
    padding: 20px;
    width: 250px;
}

.items .item h3 {
    font-size: 1.5em;
    font-weight: 900;
}

.items .item h3 i {
    display: block;
    font-size: 36px;
    margin-bottom: -20px;
}

.items .item p {
    font-size: 18px;
    line-height: 25px;
    padding-bottom: 0px;
}

.s_boxes {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 90px;
    justify-content: left;
}
.s_boxes .sbox {
    display: block;
    width: 280px;
    margin: 0px;
    padding: 0px;
    cursor: pointer;
}

.spec_header {
    font-weight: bold;
}

.spec_header td {
    width: 33%;
}

.s_boxes .sbox img {
    width: 100%;
    min-height: 270px;
    display: block;
    background-color: #f1f1f1;
}

.list_section .line {
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
}

.list_section h3 {
    font-size: 1.5em;
    font-weight: bold;
    text-align: left;
    padding-bottom: 10px;
}

.list_sections {
    margin-bottom: 50px;
}

.sbox a {
    display: block;
    background-color: #1E3A5F;
    padding: 15px;
    padding-left: 30px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    text-align: left;
    font-weight: semi-bold;
}

.contact {
    margin: 50px;
    padding: 50px;
    text-align: left;
    background-color: #f1f1f1;
}

.contact h4 {
    font-size: 1.25em;
    font-weight: bold;
    margin-bottom: 20px;
}

.contact p {
    font-size: 16px;
    line-height: 25px;
    margin-top: 20px;
}

gmp-map {
    height: 200px;
}

.p_container {
    margin: 100px;
}

.p_header {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: start;
    padding: 0px;
    margin: 0px;
}

.p_header .item {
    display: block;
    width: 50%;
    margin: 0px;
}

.image_viewer {
    width: 100%;
    padding-right: 20px;
}

.image_viewer img {
    width: 100%;
    cursor: pointer;
}

.p_header .item .thumbnail_list {
    margin-top: 10px;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
}

.thumbnail_list img {
    display: block;
    width: 80px;
    height: 80px;
    margin: 10px;
    cursor: pointer;
    border: 2px solid #fff;
}

.thumbnail_list img.active {
    border: 2px solid #1E3A5F;
}

.p_header .item .p_info {
    padding: 30px;
    padding-top: 0px;
}

.p_header h3 {
    margin-top: 0px;
    font-size: 1.6em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.p_category {
    padding: 20px;
    padding-left: 0px;
    margin-bottom: 20px;
    text-align: left;
}

.p_category a {
    text-decoration: none;
    color: #1E3A5F;
}

.status_bar {
    text-align: left;
    margin-bottom: 20px;
}

.status {
    font-size: 1.0em;
    font-style: italic;
    color: #7a7a7a;
}

table.specs {
    margin: 0 auto;
}

table.specs td {
    padding: 15px;
    text-align: left;
    border: 1px solid #ccc;
    font-size: 0.9em;
}

table.specs tr:nth-child(even) {
    border: 1px solid #ccc;
}

.list li {
    text-align: left;
    line-height: 35px;
}

.tabs {
    margin: 20px;
    margin-bottom: 50px;
}

.tabs .tab {
    display: none;
}

.tabs .tab.active {
    display: block;
}

.tab_header {
    text-decoration: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: left;
    border-bottom: 1px solid #ccc;
    margin-bottom: 40px;
    padding-bottom: 0px;
}

.tab_header li {
    text-decoration: none;
    display: block;
    margin: 20px;
    margin-right: 30px;
    margin-bottom: 0px;
    cursor: pointer;
}

.tab_header li h4 {
    font-size: 1.1em;
    font-weight: bold;
    color: #7a7a7a;
    border-bottom: 0px;
    padding: 15px;
    padding-left: 30px;
    padding-right: 30px;
    margin-bottom: 0px;
}

.tab_header li.active h4 {
    background-color: #1E3A5F;
    color: white;
}

.p_section {
    margin-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
    text-align: left;
}

.p_section h4 {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 10px;
    text-align: left;
}

.p_section ul {
    margin-left: 0px;
}

.p_section p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 25px;
    margin-left: 20px;
}

.p_section ul li {
    line-height: 35px;
}

.p_actions {
    margin-top: 50px;
}

.button {
    padding: 15px;
    padding-left: 40px;
    padding-right: 40px;
    text-decoration: none;
}

.btn_primary {
    background-color: #CC3333;
    color: white;
    font-size: 1.2em;
    font-weight: 900;
    margin: 20px;
}

.quote_form {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
}

.p_photo {
    display: block;
    width: 50%;
    margin-bottom: 30px;
}

.p_photo img {
    width: 350px;
    padding-right: 50px;
}

.p_form {
    display: block;
    width: 50%;
}

.form-group {
    margin: 0 auto;
}

.form-group label {
    display: block;
    text-align: left;
    padding-left: 10px;
}

.form-group input {
    margin-bottom: 20px;
}

.intro {
    padding: 60px;
    padding-top: 0px;
}

.intro p {
    text-align: left;
    font-size: 16px;
}

.intro .portrait img {
    width: 300px;
}

.message_form {
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}

.message_form .p_form {
    width: 100%;
    max-width: 600px;
    padding: 20px;
    background-color: #f1f1f1;
    border: solid 1px #ccc;
}

.message_form h4 {
    margin-top: 0px;
    margin-bottom: 40px;
}

.message_form label {
    color: #444;
}

.photo_box {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}

.photo_box .photo {
    margin: 10px;
    max-width: 300px;
}

.photo_box .photo img {
    max-width: 300px;
    display: block;
    border: solid 1px #ccc;
}

.photo_box .photo span {
    margin-top: 10px;
    display: block;
    text-align: center;
    font-size: 14px;
    color: #444;
}

#quote-view {
    margin-top: 20px;
    margin-bottom: 20px;
}

.quote-data {
    text-align: left;
    padding-left: 20px;
}

@media (max-width: 1000px) {
    .s_boxes {
        gap: 30px;
    }
}

/* News Article Styles */
.news_article {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.news_header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #1E3A5F;
}

.news_header h1 {
    color: #1E3A5F;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.2;
}

.news_meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 15px;
}

.news_date, .news_updated {
    color: #7a7a7a;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news_updated {
    color: #C14D21;
}

.news_content {
    margin: 30px 0;
    line-height: 1.8;
    font-size: 0.95em;
    color: #444;
}

.news_content a {
    color: #1E3A5F;
    transition: color 0.3s ease;
}

.news_content a:hover {
    color: #C14D21;
    text-decoration: underline;
}

.news_content h1, .news_content h2, .news_content h3, .news_content h4, .news_content h5, .news_content h6 {
    color: #1E3A5F;
    margin-top: 30px;
    margin-bottom: 15px;
}

.news_content h2 {
    font-size: 1.5em
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.news_content h3 {
    font-size: 1.25em;
}

.news_content p {
    margin-top: 30px;
    margin-bottom: 15px;
    text-align: left;
    font-size: 18px;
}

.news_content ul, .news_content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.news_content li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.news_content a {
    color: #1E3A5F;
    text-decoration: underline;
    border-bottom: 1px solid transparent;
    transition: border-bottom 0.3s ease;
}

.news_content strong {
    color: #1E3A5F;
    font-weight: bold;
}

.news_content blockquote {
    border-left: 4px solid #1E3A5F;
    padding-left: 20px;
    margin: 20px 0;
    font-style: italic;
    color: #666;
}

.news_footer {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.news_actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.news_actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.news_actions .btn-outline-primary {
    color: #1E3A5F;
    border: 2px solid #1E3A5F;
    background-color: transparent;
}

.news_actions .btn-outline-primary:hover {
    background-color: #1E3A5F;
    color: white;
}

.news_actions .btn-primary {
    background-color: #1E3A5F;
    color: white;
    border: 2px solid #1E3A5F;
}

.news_actions .btn-primary:hover {
    background-color: #C14D21;
    border-color: #C14D21;
}

/* News Index Styles */
.news_list {
    max-width: 1000px;
    margin: 0 auto;
}

.news_item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #1E3A5F;
}

.news_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-left-color: #C14D21;
}

.news_item_header {
    padding: 20px 25px 15px 25px;
    border-bottom: 1px solid #f0f0f0;
}

.news_item_title {
    margin: 0 0 8px 0;
    font-size: 1.3em;
    font-weight: bold;
    color: #1E3A5F;
    line-height: 1.3;
}

.news_item_title a {
    color: #1E3A5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_item_title a:hover {
    color: #C14D21;
}

.news_item_meta {
    color: #7a7a7a;
    font-size: 0.85em;
    display: flex;
    align-items: center;
    gap: 15px;
}

.news_item_content {
    padding: 15px 25px 20px 25px;
    color: #444;
    line-height: 1.6;
}

.news_item_excerpt {
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 3em; /* 2 lines * 1.5 line-height */
}

.news_item_read_more {
    color: #1E3A5F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.news_item_read_more:hover {
    color: #C14D21;
    background-color: #e9ecef;
    transform: translateX(2px);
}

/* Home News Section Styles */
.news_home {
    max-width: 1000px;
    margin: 0 auto;
}

.news_home_item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid #1E3A5F;
}

.news_home_item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    border-left-color: #C14D21;
}

.news_home_header {
    padding: 20px 25px 15px 25px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 15px;
}

.news_home_header h3 {
    margin: 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #1E3A5F;
    line-height: 1.3;
    flex: 1;
    min-width: 200px;
}

.news_home_header h3 a {
    color: #1E3A5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_home_header h3 a:hover {
    color: #C14D21;
}

.news_home_date {
    color: #7a7a7a;
    font-size: 0.9em;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
}

.news_home_date::before {
    content: "📅";
    font-size: 0.8em;
}

.news_home_content {
    padding: 15px 25px;
    color: #444;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.8em; /* 3 lines * 1.6 line-height */
}

.news_home_footer {
    padding: 15px 25px 20px 25px;
    border-top: 1px solid #f0f0f0;
}

.news_home_read_more {
    color: #1E3A5F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
}

.news_home_read_more:hover {
    color: #C14D21;
    background-color: #e9ecef;
    transform: translateX(2px);
}

.news_home_view_all {
    text-align: center;
    margin-top: 30px;
}

.news_home_view_all .btn {
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1E3A5F;
    border: 2px solid #1E3A5F;
    background-color: transparent;
}

.news_home_view_all .btn:hover {
    background-color: #1E3A5F;
    color: white;
}

.news_empty {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

/* Home News Simple Styles */
.news_home_simple {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.news_item_simple {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    transition: border-color 0.3s ease;
}

.news_item_simple:hover {
    border-bottom-color: #1E3A5F;
}

.news_item_simple:last-child {
    border-bottom: none;
}

.news_item_simple h3 {
    margin: 0 0 15px 0;
    font-size: 1.4em;
    font-weight: bold;
    color: #1E3A5F;
    line-height: 1.3;
    text-align: left;
}

.news_item_simple h3 a {
    color: #1E3A5F;
    text-decoration: none;
    transition: color 0.3s ease;
}

.news_item_simple h3 a:hover {
    color: #C14D21;
}

.news-content {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
    max-height: 3em; /* 2 lines * 1.5 line-height */
    margin-bottom: 15px;
    text-overflow: ellipsis;
    color: #444;
    font-size: 0.9em;
    text-align: left;
}

.news_content a {
    color: #1E3A5F;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.news-content a:hover {
    color: #C14D21;
    text-decoration: underline;
}

.news_empty_simple {
    text-align: center;
    padding: 40px 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border: 1px dashed #ddd;
}

/* Simple News List Styles */
.news_list_simple {
    display: flex;
    flex-direction: column;
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.news_content_container {
    position: relative;
    margin-bottom: 10px;
}

.news_read_more_container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
}

.news_date {
    font-size: 0.9em;
    color: #7a7a7a;
    margin: 0 0 8px 0;
    text-align: left;
}

.news_read_more_btn {
    color: #1E3A5F;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9em;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 4px;
    background-color: #f8f9fa;
    white-space: nowrap;
    flex-shrink: 0;
}

.news_read_more_btn:hover {
    color: #C14D21;
    background-color: #e9ecef;
    transform: translateX(2px);
}

.news_view_all_btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid #1E3A5F;
    background-color: transparent;
    color: #1E3A5F;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.news_view_all_btn:hover {
    background-color: #1E3A5F;
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: 100px;
        left: 0;
        right: 0;
        background-color: #fff;
        z-index: 1000;
    }
    nav.active {
        display: block;
    }
    nav ul {
        flex-direction: column;
        background-color: #fff;
    }
    nav ul li {
        margin: 0;
        text-align: center;
    }
    nav ul li a {
        display: block;
        padding: 10px;
        padding-left: 20px;
        padding-right: 20px;
    }
    .p_photo {
        width: 100%;
    }  
    .p_form {
        width: 100%;
    }
    
    /* News responsive styles */
    .news_article {
        margin: 10px;
        padding: 15px;
    }
    
    .news_header h1 {
        font-size: 2em;
    }
    
    .news_meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .news_actions {
        flex-direction: column;
        align-items: center;
    }
    
    .news_actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}