/* =========================
   Base HTML & Body Styles
   ========================= */
html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

/* =========================
   Carousel Styles
   ========================= */
#mainPanelsCarousel {
    overflow: hidden;
}
#mainPanelsCarousel .carousel-item, #mainPanelsCarousel .carousel-item-video {
    height: 100%;
}
#mainPanelsCarousel .carousel-item {
    min-height: 325px;
}
@media (min-width: 992px) {
    #mainPanelsCarousel, #mainPanelsCarousel .carousel-inner, #mainPanelsCarousel .carousel-item, #mainPanelsCarousel .carousel-item-video {
        overflow: hidden;
    }
}
#mainPanelsCarousel .carousel-control-prev,
#mainPanelsCarousel .carousel-control-next {
    position: relative;
    background: none;
    box-shadow: none;
    width: auto;
    height: auto;
    border-radius: 0;
    opacity: 1;
}
#mainPanelsCarousel .carousel-control-prev-icon,
#mainPanelsCarousel .carousel-control-next-icon {
    filter: none;
    width: 1.5rem;
    height: 1.5rem;
    opacity: 1;
    background-color: none;
}
.carousel-controls-above {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}
.carousel-controls-above .carousel-control-prev,
.carousel-controls-above .carousel-control-next {
    position: static;
    transform: none;
    margin: 0;
    top: auto;
    left: auto;
    right: auto;
    background: linear-gradient(90deg, #8ca3c6 0%, #a2b5d6 100%) !important;
    border-radius: 50%;
    border: none;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18);
    z-index: 2;
    opacity: 1 !important;
    transition: background 0.3s;
}
.carousel-controls-above .carousel-control-prev:hover,
.carousel-controls-above .carousel-control-next:hover {
    background: linear-gradient(90deg, #a2b5d6 0%, #8ca3c6 100%) !important;
}
.carousel-controls-above .carousel-control-prev-icon,
.carousel-controls-above .carousel-control-next-icon {
    filter: invert(1) brightness(2) drop-shadow(0 0 2px #000);
    width: 2rem;
    height: 2rem;
    opacity: 1 !important;
    background-color: transparent !important;
    display: block;
}

/* =========================
   Hero Section Styles
   ========================= */
.hero-content {
    background: linear-gradient(90deg, #8ca3c6 0%, #a2b5d6 100%);
    border-radius: 1.5rem;
    box-shadow: 0 4px 32px rgba(26,60,107,0.18);
    margin-bottom: 1.2rem;
    margin-top: 0.2rem;
}
.hero-content h1,
.hero-content h2,
.hero-content .hero-text {
    color: #fff;
}
.hero-link {
    color: #1a3c6b;
    text-decoration: underline;
    font-weight: bold;
    transition: color 0.2s;
}
.hero-link:hover {
    color: #fff700;
    text-decoration: none;
}
.hero-cta:hover {
    background: linear-gradient(90deg,#3a7bd5 0%,#1a3c6b 100%) !important;
}
.hero-title {
    font-size: 2rem;
}
.hero-emphasis {
    font-weight: 600;
    color: #fffbe7;
    background: linear-gradient(90deg,rgba(255,255,255,0.10) 0%,rgba(255,255,255,0.04) 100%);
    border-radius: 1rem;
    padding: 0.5rem 1.5rem;
    display: inline-block;
    box-shadow: 0 2px 12px rgba(26,60,107,0.08);
    letter-spacing: 0.5px;
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 1px 8px rgba(26,60,107,0.10);
}
.hero-bullet {
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 0.2em;
}
.hero-dot {
    color: #ffd700;
    font-size: 1.2em;
    margin: 0 0.4em;
    vertical-align: middle;
}

/* =========================
   Navbar Styles
   ========================= */
.navbar {
    background: #1a3c6b !important;
    border-bottom: 2px solid #222;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}
.navbar-nav {
    justify-content: center !important;
    width: 100%;
}
.navbar-nav > li {
    float: none;
    display: inline-block;
}
.navbar-nav > li > a,
.navbar-nav > li > .dropdown-toggle {
    color: #fff !important;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.25rem !important;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    background: transparent !important;
}
.navbar-nav > li > .dropdown-toggle-resource {
    color: gold !important;
    font-weight: 600;
    font-size: 1.08rem;
    letter-spacing: 0.02em;
    padding: 0.75rem 1.25rem !important;
    transition: background 0.2s, color 0.2s;
    text-align: center;
    background: transparent !important;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > .dropdown-toggle:hover,
.navbar-nav > li > a.active {
    background: #0d2240 !important;
    color: #b6c430 !important;
    border-radius: 4px;
}
.navbar-nav .dropdown-menu {
    background: #fff;
    border: 1px solid #1a3c6b;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.navbar-nav .dropdown-item {
    color: #1a3c6b;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
.navbar-nav .dropdown-item-resource {
    color: gold;
    font-weight: 500;
    padding: 0.6rem 1.2rem;
}
.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
    background: #b6c430;
    color: #1a3c6b;
}
.navbar-nav .text-resource,
.navbar-nav .text-resource:visited,
.navbar-nav .text-resource:active,
.navbar-nav .text-resource.active {
    color: gold !important;
}
@media (max-width: 991px) {
    .navbar-nav > li > a,
    .navbar-nav > li > .dropdown-toggle {
        padding: 0.75rem 0.75rem !important;
    }
    .navbar-toggler {
        border-color: #1a3c6b !important;
    }
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    }
}

/* =========================
   Footer Styles
   ========================= */
.footer-logo {
    max-width: 180px;
    height: auto;
    margin-bottom: 1rem;
}
.footer-wrapper {
    background: #222;
    color: #cbcbcb;
    padding: 2rem 0;
    text-align: center;
}
.footer-wrapper address.address {
    color: #cbcbcb;
    font-style: normal;
    margin-bottom: 1rem;
}
.footer-wrapper .center-title {
    color: #fff;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}
.footer-navigate {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0 0;
}
.footer-navigate li {
    display: inline-block;
    margin: 0 10px;
}
.footer-navigate a {
    color: #cbcbcb;
    text-decoration: none;
}
.footer-navigate a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-bottom {
    background: #111;
    color: #fff;
    padding: 1rem 0 0.5rem 0;
    text-align: center;
    font-size: 0.95rem;
}
.centerTable {
    margin-left: auto;
    margin-right: auto;
    background: transparent;
}
#qrs-info-nav ul {
    list-style: none;
    padding-left: 20px;
}
#qrs-info-nav a {
    color: #cbcbcb !important;
    text-decoration: none;
}
#qrs-info-nav a:hover {
    color: #fff !important;
}
#qrs-info-nav .text-resource,
#qrs-info-nav .text-resource:visited{
    color: #cbcbcb !important;
}
#qrs-info-nav .text-resource:hover {
    color: #fff !important;
}
#qrs-info-nav .text-resource.active,
#qrs-info-nav .text-resource:active {
    color: gold !important;
}
@media (max-width: 600px) {
    .footer-navigate li {
        display: block;
        margin: 8px 0;
    }
    .footer-logo {
        max-width: 120px;
    }
    #qrs-info-nav ul {
        display: block;
        margin: 8px 0;
        padding-left: 0 !important;
    }
}

/* =========================
   Header Logo Area
   ========================= */
.header-logo-area img {
    max-width: 220px;
    height: auto;
}
.header-logo-area .head_phone {
    font-size: 1.1rem;
    margin: 0.5rem 0 0.25rem 0;
}
.header-logo-area .socials {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}
.header-logo-area .socials li {
    display: inline-block;
    margin-right: 8px;
}
.header-logo-area .socials li:last-child {
    margin-right: 0;
}
.header-logo-area .socials .twitter {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/twitter.svg') no-repeat center center;
    background-size: contain;
}
.header-logo-area .socials .facebook {
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/facebook.svg') no-repeat center center;
    background-size: contain;
}

/* =========================
   Service Message Styles
   ========================= */
.service-message {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1a3c6b;
    background: linear-gradient(90deg, #e3eaf6 0%, #f7fafc 100%);
    border-radius: 0.75rem;
    padding: 0.5rem 1.5rem;
    margin: 0.5rem auto 0.5rem auto;
    display: inline-block;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(26,60,107,0.07);
    text-shadow: 0 1px 8px rgba(26,60,107,0.08);
    transition: background 0.3s;
}
.service-message:hover {
    background: linear-gradient(90deg, #d1e0f7 0%, #eaf1fa 100%);
}
.service-message a[href^="tel"] {
    color: #1a3c6b;
    text-decoration: none !important;
}

/* =========================
   FAQ Styles
   ========================= */
.faq-toc ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    justify-content: flex-start;
    margin-bottom: 0.5rem;
}
.faq-toc-link {
    display: inline-block;
    background: linear-gradient(90deg, #f7fafc 0%, #e3eaf6 100%);
    color: #1a3c6b;
    border-radius: 1.2rem;
    padding: 0.35em 1em;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(26,60,107,0.07);
    margin-bottom: 0.25rem;
    transition: background 0.2s, color 0.2s;
}
.faq-toc-link:hover, .faq-toc-link:focus {
    background: linear-gradient(90deg, #ffd180 0%, #ffecb3 100%);
    color: #c66900;
    text-decoration: underline;
}
.faq-question {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #f7fafc 0%, #e3eaf6 100%);
    color: #1a3c6b;
    border-radius: 1.2rem;
    padding: 0.35em 1em;
    font-weight: 600;
    font-size: 1rem;
    text-align: left;
    text-decoration: none;
    box-shadow: 0 1px 6px rgba(26,60,107,0.07);
    margin-bottom: 0.75rem;
    margin-top: 0.75rem;
    border: none;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}
.faq-question[aria-expanded="true"], .faq-question:focus {
    background: linear-gradient(90deg, #ffd180 0%, #ffecb3 100%);
    color: #1a3c6b;
    text-decoration: underline;
}
.faq-answer {
    display: none;
    padding: 0.5em 1.5em 1em 1.5em;
    background: #fffbe7;
    border-radius: 0 0 1.2rem 1.2rem;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: #222;
    box-shadow: 0 1px 6px rgba(26,60,107,0.04);
}
.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* =========================
   Newspaper Quote Styles
   ========================= */
.newspaper-quote {
    display: flex;
    align-items: flex-start;
    background: #fff;
    border: 1.5px solid #d1d1d1;
    border-left: 8px solid #1a3c6b;
    border-radius: 1rem;
    box-shadow: 0 2px 16px rgba(26,60,107,0.08);
    padding: 2rem 2rem 2rem 1.5rem;
    margin-bottom: 2rem;
    font-family: 'Georgia', 'Times New Roman', Times, serif;
    position: relative;
}
.newspaper-quote-img {
    width: 64px;
    height: 64px;
    margin-right: 1.5rem;
    object-fit: contain;
    opacity: 0.7;
}
.newspaper-quote-content {
    flex: 1;
}
.newspaper-quote-text {
    font-size: 1.25rem;
    color: #222;
    margin-bottom: 0.5em;
    font-style: italic;
}
.newspaper-quote-source {
    font-size: 1rem;
    color: #555;
    font-weight: bold;
    margin-top: 0.5em;
}

/* =========================
   Form Section Styles
   ========================= */
.form-section {
    border: 1.5px solid #e3eaf6;
    background: #f7fafc;
}

    .form-section.bg-light {
        background: #fafdff;
        border-color: #dbeafe;
    }

.form-section-title {
    color: #1a3c6b;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    padding-left: 0.2em;
    border-left: 4px solid #b6c430;
    background: none;
}

/* =========================
   Miscellaneous Styles Not included in CSS reorganization
   ========================= */

/* Darker green active state for _SubNav */
.radon-subnav .nav-link.active, .radon-subnav .nav-link.active:focus, .radon-subnav .nav-link.active:hover {
    background-color: #256029 !important;
    color: #fff !important;
    /*border-radius: 4px;*/
    border-radius: 1.2rem;
}

.bold-red {
    color: #c00;
    font-weight: bold;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

/* Sample Images */
@media (min-width: 900px) {
    .sample-images {
        max-width: 900px;
        margin-left: 0;
        margin-right: auto;
        display: flex;
        gap: 100px;
    }

        .sample-images > div {
            flex: 1 1 0;
            max-width: 400px;
        }
        .sample-images img {
            vertical-align: top;
            max-width: 400px;
            width: 100%;
            height: auto;
        }
}

.diagrams-row {
    max-width: 800px;
    margin-left: 0;
    margin-right: auto;
}

@media (min-width: 900px) {
    .diagrams-row {
        display: flex;
        gap: 100px;
    }

        .diagrams-row > div {
            flex: 1 1 0;
        }
}