/* ==========================================================================
   SITE STYLES - Main stylesheet for the application
   ========================================================================== */

/* CSS Variables */
:root {
    --forest-green: #0b6e4f;
    --light-green: #e6f3ec;
    --light-contrast: #f0faf5;
    --accent: #64bc90;
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */

html,
body,
.view {
    height: 100%;
}

/* ==========================================================================
   TYPOGRAPHY (Modern & Responsive)
   ========================================================================== */

/* Base font size for the whole document */
body {
    background-color: pink; /* A clean, crisp white background */
    font-weight: 400;
    font-size: 16px; /* This sets the root for rem units */
    color: #333; /* A standard, readable body text color */
}

p, li, .questionText {
    font-size: 1.1rem; /* Slightly larger than default for readability */
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--forest-green); /* Default header color */
}

h1 {
    font-size: 3rem;
}
/* ~48px */
h2 {
    font-size: 2.5rem;
}
/* ~40px */
h3 {
    font-size: 2rem;
}
/* ~32px */
h4 {
    font-size: 1.5rem;
}
/* ~24px */
h5 {
    font-size: 1.25rem;
}
/* ~20px */
h6 {
    font-size: 1rem;
}
/* ~16px */

strong {
    font-weight: 700;
}

/* Responsive typography for smaller screens */
@media (max-width: 767.98px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    p, li, .questionText {
        font-size: 1rem; /* Adjust base text size for mobile */
    }
}

/* ==========================================================================
   UTILITY CLASSES
   ========================================================================== */

.forestGreen-text {
    color: var(--forest-green);
}

.redText {
    color: red;
}

.blueText {
    color: darkblue;
}

.darkgreen {
    background-color: darkgreen !important;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.centerJumbo {
    display: block;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
}

.centerImage {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.centerPesticide {
    display: block;
    margin-left: auto;
    margin-right: auto;
    height: 300px;
    border: 1px solid black;
}

.hidden {
    display: none !important;
}

.push-down {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 40%;
}

.fontBorder {
    text-shadow: -1px 0 black, 0 1px black, 1px 0 black, 0 -1px black;
    font-family: sans;
    color: var(--light-contrast);
    font-weight: bold;
}

/* Spacing */
.bulletSeparator {
    height: 10px;
}

.sectionSeparator {
    height: 60px;
}

.plan-separator {
    margin: 7px 0;
}

.jumbotronPadding {
    padding: 2rem 1rem !important;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.navbar {
    background-color: darkgreen;
}

.navbar-custom {
    height: 50px;
    padding: 0;
}

.top-nav-collapse {
    background-color: darkgreen;
}

.navbar-inverse .navbar-brand {
    color: white;
    float: right !important;
}

/* Override Bootstrap navbar padding */
.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
}

/* Responsive navigation padding */
@media (min-width: 1200px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.75rem !important;
        padding-left: 0.75rem !important;
    }
}

@media (min-width: 1400px) {
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1rem !important;
        padding-left: 1rem !important;
    }
}

.navbar-nav > li > a {
    color: #e8e6e3 !important;
}

.navbar-nav > li > a:hover {
    color: white !important;
}

/* Dropdown Menus */
.dropdown-submenu {
    position: relative;
}

.dropdown-submenu:hover .dropdown-menu {
    top: 0;
}

li.dropdown-submenu:hover ul {
    display: block;
    left: 100%;
}

.dropdown-toggle::before {
    visibility: hidden;
}

.caret-right {
    display: block;
    content: " ";
    float: right;
    width: 0px;
    height: 0px;
    margin-top: 5px;
    margin-right: -10px;
    border-color: transparent transparent transparent rgb(204, 204, 204);
    border-style: solid;
    border-width: 5px 0px 5px 5px;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    border-radius: 1rem;
}

.hero-button {
    font-size: 20px;
    padding: 14px 32px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    transition: all 0.2s ease-in-out;
    margin: 8px;
    display: inline-block;
}

.hero-button:hover {
    font-weight: bold;
}

/* ==========================================================================
   FORMS
   ========================================================================== */

input,
select {
    max-width: 280px;
    padding-top: 3px;
}

label {
    font-weight: 700;
}

.form-horizontal .control-label {
    padding-top: 7px;
    margin-bottom: 0px;
    text-align: right;
}

/* ==========================================================================
   IMAGES
   ========================================================================== */

/*img {
    padding: 5px;
}*/

.img-responsive {
    max-width: 100%;
    height: auto;
}

.img-jm {
    height: 240px;
    border: solid 1px;
}

.img-jm-width {
    border: solid 1px;
}

/* ==========================================================================
   CAROUSEL
   ========================================================================== */

.carousel {
    height: 50%;
}

.carousel .carousel-inner {
    height: 100%;
}

.carousel .carousel-inner .carousel-item,
.carousel .carousel-inner .active {
    height: 100%;
}

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal {
    width: 98%;
}

.modal-dialog {
    width: 98%;
    max-width: none;
}


/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 3rem 1rem;
}

details {
    background-color: #fff;
    border: 1px solid #ccc;
    border-left: 4px solid var(--forest-green);
    border-radius: 6px;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.page-footer {
    margin-top: 100px;
}

.footerFont {
    color: #333333;
    font-size: 24pt;
}

.socialIcon {
    margin: 10px 10px 0 10px;
    font-size: 1em !important;
}

.stripes {
    background-image: linear-gradient(to right, #304f56 0%,#304f56 12.5%,#1c3e43 12.5%,#1c3e43 25%,#304e29 25%,#304e29 37.5%,#4f561c 37.5%,#4f561c 50%,#625618 50%,#625618 62.5%,#613814 62.5%,#613814 75%,#5d2a41 75%,#5d2a41 87.5%,#4c2742 87.5%);
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 100vh;
}

/* Scroll Offset */
section {
    scroll-margin-top: 60px;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

/* Tablet and Mobile */
@media (max-width: 776px) {
    .carousel {
        height: 100%;
    }
}

@media (max-width: 767.98px) {
    section {
        scroll-margin-top: 80px;
    }

    .hero-content {
        margin-top: 30px;
        padding: 30px 15px !important;
    }

    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
    }
}

/* Mobile Navigation and Typography */
@media only screen and (max-width: 768px) {
    .navbar {
        background-color: darkgreen;
    }

    .actionButton {
        max-width: 80%;
    }

    p, li, .questionText {
        font-size: 1rem !important;
    }

    .pageTitle {
        margin: 30px 0 20px 0 !important;
    }

    .fa-2x {
        font-size: 1em !important;
        text-align: right !important;
    }

    .marginp5 {
        margin-top: .5em;
    }

    .fa-2x:not(.sectionIcon) {
        float: right;
    }

    .col-1, .col-2 {
        padding: 0 5px 0 5px !important;
        margin: 0 !important;
    }

    .bulletSeparator {
        height: 10px !important;
    }

    .sectionSeparator {
        height: 15px !important;
    }

    .my-5, .mt-5, .mb-5 {
        margin: 2.5rem 0 1.5rem 0 !important;
    }

    .portfolio-item {
        margin-left: 15px;
    }

    .control-label {
        text-align: left !important;
    }

    .hideMobile {
        display: none;
    }
}

/* Desktop */
@media only screen and (min-width: 768px) {
    .actionButton {
        max-width: 40%;
    }
}
/* Vertically center content within the login partial container */
.navbar-collapse .navbar-right {
    display: flex;
    align-items: center;
}

/* Ensure the button and link have some space */
.navbar-right #registerLink {
    margin-right: 5px;
}
/* ==========================================================================
   CUSTOM XXL BREAKPOINT FOR WIDER SCREENS
   ========================================================================== */

/* Define a new, wider container for xxl screens */
@media (min-width: 1400px) {
    .container-xxl, .container { /* You can choose to override the default or use a new class */
        max-width: 90%;
    }
}

@media (min-width: 1600px) {
    .container-xxl, .container {
        max-width: 1520px;
    }
}