@charset "UTF-8";
/* Reset */
body, h1, h2, h3, p, ul, li, a {
    margin: 0;
    padding: 0;
    border: none;
    list-style: none;
    box-sizing: border-box;
}
a {
    text-decoration: none;
}

/* Global Styles */
body {
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #023060;
}
a {
    color: #003366;
}
a:hover {
    text-decoration: underline;
}

/* Header (Fallback for SSI includes) */
.header-menu-wrapper {
    background: #023060;
    width: 100%;
}
.header {
    background: #023060;
    text-align: center;
    padding: 10px 0;
    width: 100%;
}
.header-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}
.logo {
    flex-shrink: 0;
}
.logo img {
    max-width: 350px;
    max-height: 100px;
    width: 350px;
    height: auto;
    object-fit: contain;
    display: block;
}
.contact-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-left: 120px;
}
.phone {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 5px;
}
.email a, .quote a {
    font-size: 16px;
    color: #ffffff;
}
.email a:hover, .quote a:hover {
    color: #ffffff;
}

/* Navigation (Fallback for SSI includes) */
.nav {
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 700;
    -webkit-font-smoothing: antialiased;
    display: block;
    position: relative;
    z-index: 1500;
    text-align: center;
    background: #023060;
    width: 100%;
}
.nav > ul {
    max-width: 800px;
    margin: 0 auto;
}
.nav > ul > li {
    display: inline-block;
    position: relative;
}
.nav > ul > li > a {
    color: #ffffff;
    display: block;
    font-weight: 700;
    line-height: 3.5;
    padding: 0 0.5em;
    text-shadow: 0 0 1px rgba(0, 0, 0, 0.35);
    transition: all 0.3s ease;
}
.nav > ul > li > a:hover {
    background: #333;
}
.dropdown-menu {
    font-family: 'Roboto', sans-serif;
    background: #fff;
    border: 1px solid #111;
    border-radius: 0 0 3px 3px;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    z-index: 1000;
    display: none;
}
.dropdown:hover > .dropdown-menu {
    display: block;
}
.dropdown-menu li {
    display: block;
}
.dropdown-menu a {
    color: #111;
    display: block;
    font-weight: 700;
    line-height: 1.75;
    padding: 5px 10px;
}
.dropdown-menu a:hover {
    color: #000;
}

/* Hero Section with Static Background Image */
.hero-section {
    background: url('/images/chiller-hero.jpg') no-repeat center center !important;
    background-size: cover;
    height: 450px;
    width: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    background-color: #023060; /* Fallback if image fails */
}
.hero-content {
    color: #f1f1f1;
    padding: 30px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    max-width: 800px;
    margin: 0 auto;
    z-index: 1;
}
.hero-content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.hero-content p {
    font-size: 20px;
    margin-bottom: 25px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
.hero-cta {
    display: inline-block;
    background: #ffffff;
    color: #023060;
    padding: 12px 24px;
    font-weight: 700;
    font-size: 16px;
    border-radius: 5px;
    transition: background 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
.hero-cta:hover {
    background: #e6f0ff;
    text-decoration: none;
}
.hero-custom-area {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}
.hero-logo-area {
    flex-shrink: 0;
    min-height: 100px;
}
.hero-contact-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    margin-left: 120px;
    min-height: 100px;
}

/* Grey Line */
.grey-line {
    border: 0;
    height: 2px;
    background: #cccccc;
    margin: 20px 0;
}

/* Content */
.content-wrapper {
    background: #ffffff;
    width: 100%;
    margin-bottom: 0;
}
.content-wrapper .content {
    background: #ffffff;
    max-width: 958px;
    margin: 0 auto;
    padding: 15px;
    color: #221e1f;
}
.content-wrapper .content h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #221e1f;
    margin-bottom: 10px;
    text-align: center;
}
.content-wrapper .content h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #221e1f;
    margin: 10px 0;
}
.content-wrapper .content h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #221e1f;
    margin: 10px 0;
}
.content-wrapper .content p {
    margin-bottom: 10px;
}
.content-wrapper .content ul {
    list-style: disc;
    margin: 0 0 10px 0;
    padding-left: 20px;
}
.content-wrapper .content ul li {
    line-height: 1.2;
}
.content-wrapper .content img.content-image {
    max-width: 300px;
    width: 300px;
    height: auto;
    object-fit: contain;
    display: inline-block;
    margin: 10px;
}
.content-wrapper .content .company-info {
    font-family: 'Roboto', sans-serif;
    font-size: 11pt;
    font-weight: 700;
    margin-bottom: 10px;
}
.background-image-section {
    background: url('/images/pool2000.jpg') no-repeat center center;
    background-size: cover;
    height: 100px;
    width: 100%;
    margin: 0;
    margin-bottom: 0;
}

/* Footer (Fallback for SSI includes) */
.footer {
    background: #023060;
    color: #ffffff;
    text-align: center;
    padding: 5px 0 20px 0;
    margin-top: 10px;
    width: 100%;
}
.footer-container {
    max-width: 958px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.footer-form {
    flex: 1;
    max-width: 520px;
}
.footer-contact {
    flex: 1;
    text-align: center;
}
.footer .logo img {
    max-width: 350px;
    max-height: 100px;
    width: 350px;
    height: auto;
    object-fit: contain;
    display: block;
    margin: 0 auto 10px;
}
.company, .address, .quote-link, .made-in-usa, .copyright {
    font-size: 16px;
    margin-bottom: 10px;
}
.quote-link a, .copyright a {
    color: #e6f0ff;
}
.quote-link a:hover, .copyright a:hover {
    text-decoration: underline;
}

/* Media Queries */
/* Desktop (=800px) */
@media screen and (min-width: 800px) {
    .header-container {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .header .logo img {
        max-width: 350px;
        width: 350px;
    }
    .contact-info {
        align-items: center;
        margin-left: 120px;
    }
    .nav > ul {
        max-width: 800px;
        margin: 0 auto;
    }
    .content-wrapper .content {
        padding: 15px;
    }
    .content-wrapper .content h1 {
        font-size: 40px;
    }
    .content-wrapper .content h2 {
        font-size: 26px;
    }
    .content-wrapper .content h3 {
        font-size: 22px;
    }
    .content-wrapper .content p, .content-wrapper .content ul li {
        font-size: 16px;
    }
    .content-wrapper .content img.content-image {
        max-width: 300px;
        width: 300px;
    }
    .footer-container {
        flex-direction: row;
    }
    .footer-form {
        margin-right: 20px;
    }
    .footer-contact {
        max-width: 418px;
    }
    .footer .logo img {
        max-width: 300px;
        width: 300px;
    }
    .hero-section {
        height: 450px;
    }
    .hero-content h1 {
        font-size: 52px;
    }
    .hero-content p {
        font-size: 20px;
    }
    .hero-custom-area {
        flex-direction: row;
        flex-wrap: nowrap;
    }
    .hero-contact-area {
        margin-left: 120px;
    }
}

/* Tablet (600px–799px) */
@media screen and (max-width: 799px) {
    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    .header .logo img {
        max-width: 300px;
        width: 300px;
    }
    .contact-info {
        align-items: center;
        margin-left: 115px;
    }
    .phone {
        font-size: 28px;
    }
    .email a, .quote a {
        font-size: 14px;
    }
    .nav {
        padding: 0 10px;
    }
    .nav > ul {
        max-width: 100%;
    }
    .nav > ul > li > a {
        font-size: 14px;
        padding: 0 0.3em;
        line-height: 3;
    }
    .dropdown-menu {
        width: 180px;
    }
    .content-wrapper .content {
        padding: 15px;
    }
    .content-wrapper .content h1 {
        font-size: 36px;
    }
    .content-wrapper .content h2 {
        font-size: 24px;
    }
    .content-wrapper .content h3 {
        font-size: 20px;
    }
    .content-wrapper .content p, .content-wrapper .content ul li {
        font-size: 15px;
    }
    .content-wrapper .content img.content-image {
        max-width: 250px;
        width: 250px;
    }
    .footer-container {
        flex-direction: row;
        padding: 0 15px;
    }
    .footer-form {
        max-width: 400px;
        margin-right: 15px;
    }
    .footer-contact {
        max-width: 350px;
    }
    .footer .logo img {
        max-width: 250px;
        width: 250px;
    }
    .company, .address, .quote-link, .made-in-usa, .copyright {
        font-size: 14px;
    }
    .hero-section {
        height: 350px;
    }
    .hero-content h1 {
        font-size: 40px;
    }
    .hero-content p {
        font-size: 18px;
    }
    .hero-custom-area {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 0 15px;
    }
    .hero-contact-area {
        margin-left: 115px;
    }
}

/* Mobile (<600px) */
@media screen and (max-width: 599px) {
    .header-container {
        flex-direction: column;
        padding: 0 10px;
    }
    .header .logo img {
        max-width: 250px;
        width: 250px;
        margin-bottom: 10px;
    }
    .contact-info {
        align-items: center;
        margin-left: 0;
    }
    .nav {
        padding: 0;
    }
    .nav > ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .nav > ul > li {
        display: block;
        width: 100%;
    }
    .nav > ul > li > a {
        font-size: 16px;
        padding: 10px 0;
        line-height: 1.5;
        border-bottom: 1px solid #ccc;
    }
    .dropdown-menu {
        position: static;
        width: 100%;
        border: none;
        border-radius: 0;
        background: #f5f5f5;
        display: none;
    }
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .dropdown-menu a {
        padding: 8px 15px;
        border-bottom: 1px solid #ddd;
    }
    .content-wrapper .content {
        padding: 15px;
    }
    .content-wrapper .content h1 {
        font-size: 30px;
    }
    .content-wrapper .content h2 {
        font-size: 22px;
    }
    .content-wrapper .content h3 {
        font-size: 18px;
    }
    .content-wrapper .content p, .content-wrapper .content ul li {
        font-size: 15px;
    }
    .content-wrapper .content img.content-image {
        max-width: 200px;
        width: 200px;
        margin: 8px auto;
    }
    .background-image-section {
        height: 80px;
    }
    .footer-container {
        flex-direction: column;
        padding: 0 10px;
    }
    .footer-form {
        max-width: 100%;
        margin-bottom: 20px;
    }
    .footer-contact {
        max-width: 100%;
    }
    .footer .logo img {
        max-width: 200px;
        width: 200px;
        margin-bottom: 15px;
    }
    .company, .address, .quote-link, .made-in-usa, .copyright {
        font-size: 14px;
        margin-bottom: 8px;
    }
    .hero-section {
        height: 300px;
    }
    .hero-content h1 {
        font-size: 32px;
    }
    .hero-content p {
        font-size: 16px;
    }
    .hero-cta {
        padding: 10px 20px;
    }
    .hero-custom-area {
        flex-direction: column;
        padding: 0 10px;
    }
    .hero-contact-area {
        margin-left: 0;
    }
    /* New rule to ensure Jotform iframe visibility on mobile */
    .content iframe {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        min-height: 100vh !important;
    }
}