/*
Theme Name: No Nirvana Digital
Theme URI: https://nonirvanadigital.com
Author: No Nirvana Digital
Author URI: https://nonirvanadigital.com
Description: WordPress theme for No Nirvana Digital
Version: 1.0.0
*/

/* CSS Variables */
:root {
    --nnd-ember-depth: #8B4A3C;
    --nnd-insight-gold: #D4A574;
    --nnd-cool-mint: #6BB8B3;
    --nnd-revenue-heat: #E85A4F;
    --nnd-conversion-coral: #FF6B6B;
    --nnd-almond: #F5E6D3;
    
    /* Typography */
    --nnd-font-headline: 'Space Grotesk', sans-serif;
    --nnd-font-body: 'Roboto', sans-serif;
    
    /* Spacing */
    --nnd-container-max-width: 1200px;
    --nnd-section-padding: 80px 0;
}

/* Base Typography - Ensure theme fonts are default */
body,
body * {
    font-family: var(--nnd-font-body) !important;
}

body {
    font-family: var(--nnd-font-body) !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--nnd-ember-depth);
    background-color: #ffffff;
}

h1, h2, h3, h4, h5, h6,
h1 *, h2 *, h3 *, h4 *, h5 *, h6 * {
    font-family: var(--nnd-font-headline) !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--nnd-font-headline) !important;
    font-weight: 700;
    line-height: 1.2;
}

/* Ensure all text elements use theme fonts */
p, span, div, a, li, td, th, input, textarea, select, button, label {
    font-family: var(--nnd-font-body) !important;
}

/* Headings and heading-like elements */
.site-title, .site-description, .entry-title, .page-title, .post-title, .widget-title {
    font-family: var(--nnd-font-headline) !important;
}

/* Override WordPress default link styles */
body a {
    color: inherit;
}

/* Override WordPress default link styles in header */
.nnd-header a,
.nnd-header a:link,
.nnd-header a:visited,
.nnd-header a:active {
    color: #ffffff !important;
}

/* Aggressive override for Read More button - must come after other styles */
a.nnd-read-more,
a.nnd-read-more:link,
a.nnd-read-more:visited,
a.nnd-read-more:active,
a.nnd-read-more:hover,
a.nnd-read-more:focus,
.nnd-post-footer a.nnd-read-more,
.nnd-post-footer a.nnd-read-more:link,
.nnd-post-footer a.nnd-read-more:visited,
.nnd-post-footer a.nnd-read-more:active,
.nnd-post-footer a.nnd-read-more:hover,
.nnd-post-footer a.nnd-read-more:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Container */
.nnd-container {
    max-width: var(--nnd-container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.nnd-header {
    background-color: var(--nnd-ember-depth);
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nnd-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.nnd-logo-link {
    display: inline-block;
}

.nnd-logo-img {
    height: 40px;
    width: auto;
}

.custom-logo {
    height: 40px;
    width: auto;
}

.nnd-mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.nnd-mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nnd-mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.nnd-mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nnd-mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.nnd-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nnd-nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nnd-nav-menu li {
    margin: 0;
}

.nnd-header .nnd-nav-link,
.nnd-header a.nnd-nav-link,
body .nnd-nav-link,
body.single .nnd-nav-link,
body.blog .nnd-nav-link {
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nnd-header .nnd-nav-link:hover,
.nnd-header .nnd-nav-link:focus,
.nnd-header a.nnd-nav-link:hover,
.nnd-header a.nnd-nav-link:focus,
body .nnd-nav-link:hover,
body .nnd-nav-link:focus,
body.single .nnd-nav-link:hover,
body.single .nnd-nav-link:focus,
body.blog .nnd-nav-link:hover,
body.blog .nnd-nav-link:focus {
    color: var(--nnd-insight-gold) !important;
}

.nnd-submenu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nnd-header .nnd-btn-contact,
.nnd-header a.nnd-btn-contact,
body .nnd-btn-contact,
body.single .nnd-btn-contact,
body.blog .nnd-btn-contact {
    padding: 10px 25px;
    border: 1px solid #ffffff !important;
    background-color: transparent !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    display: inline-block;
}

.nnd-header .nnd-btn-contact:hover,
.nnd-header .nnd-btn-contact:focus,
.nnd-header a.nnd-btn-contact:hover,
.nnd-header a.nnd-btn-contact:focus,
body .nnd-btn-contact:hover,
body .nnd-btn-contact:focus,
body.single .nnd-btn-contact:hover,
body.single .nnd-btn-contact:focus,
body.blog .nnd-btn-contact:hover,
body.blog .nnd-btn-contact:focus {
    background-color: #ffffff !important;
    color: var(--nnd-ember-depth) !important;
}

/* Footer */
.nnd-footer {
    background-color: var(--nnd-almond);
    padding: 60px 0 30px;
    margin-top: 0;
    position: relative;
}

.nnd-footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.nnd-footer-section {
    display: flex;
    flex-direction: column;
}

.nnd-footer-heading {
    font-family: var(--nnd-font-headline);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--nnd-ember-depth);
    margin-bottom: 15px;
}

.nnd-footer-text {
    font-size: 16px;
    color: var(--nnd-ember-depth);
    margin-bottom: 25px;
    opacity: 0.8;
}

.nnd-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nnd-footer-links li {
    margin-bottom: 10px;
}

.nnd-footer-links a {
    color: var(--nnd-ember-depth);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
    opacity: 0.8;
}

.nnd-footer-links a:hover,
.nnd-footer-links a:focus {
    color: var(--nnd-revenue-heat);
    opacity: 1;
}

.nnd-social-icons {
    display: flex;
    gap: 15px;
}

.nnd-social-icon {
    width: 40px;
    height: 40px;
    background-color: var(--nnd-ember-depth);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.3s ease;
    text-decoration: none;
}

.nnd-social-icon:hover,
.nnd-social-icon:focus {
    background-color: var(--nnd-revenue-heat);
    transform: translateY(-3px);
}

.nnd-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(139, 74, 60, 0.2);
}

.nnd-footer-copyright {
    font-size: 14px;
    color: var(--nnd-ember-depth);
    opacity: 0.7;
}

.nnd-footer-legal {
    display: flex;
    gap: 20px;
}

.nnd-footer-legal-link {
    font-size: 14px;
    color: var(--nnd-ember-depth);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.nnd-footer-legal-link:hover,
.nnd-footer-legal-link:focus {
    opacity: 1;
    color: var(--nnd-revenue-heat);
}

/* Main Content */
.nnd-main-content {
    min-height: 60vh;
    padding: var(--nnd-section-padding);
}

/* Blank Slate Template */
.nnd-blank-content {
    padding: 0;
    margin: 0;
    width: 100%;
    max-width: 100%;
}

.nnd-blank-slate-wrapper {
    width: 100%;
    min-height: 60vh;
    margin: 0;
    padding: 0;
}

.nnd-blank-slate-wrapper > * {
    width: 100%;
    margin: 0;
    padding: 0;
}

.nnd-page-header {
    margin-bottom: 50px;
}

.nnd-page-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--nnd-ember-depth);
}

/* Posts Container */
.nnd-posts-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.nnd-post-item {
    background-color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nnd-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.nnd-post-thumbnail {
    width: 100%;
    overflow: hidden;
}

.nnd-post-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.nnd-post-item:hover .nnd-post-image {
    transform: scale(1.05);
}

.nnd-post-content {
    padding: 40px;
}

.nnd-post-header {
    margin-bottom: 20px;
}

.nnd-post-title,
h2.nnd-post-title,
h1.nnd-post-title,
.nnd-main-content .nnd-post-title,
body.single .nnd-post-title,
body.blog .nnd-post-title {
    font-family: var(--nnd-font-headline) !important;
    font-size: 32px !important;
    font-weight: 700 !important;
    margin-bottom: 15px;
    color: var(--nnd-ember-depth) !important;
    line-height: 1.3;
}

.nnd-post-title a,
.nnd-main-content .nnd-post-title a,
body.single .nnd-post-title a,
body.blog .nnd-post-title a {
    color: var(--nnd-ember-depth) !important;
    text-decoration: none !important;
    transition: color 0.3s ease;
    font-family: var(--nnd-font-headline) !important;
}

.nnd-post-title a:hover,
.nnd-post-title a:focus,
.nnd-main-content .nnd-post-title a:hover,
.nnd-main-content .nnd-post-title a:focus,
body.single .nnd-post-title a:hover,
body.single .nnd-post-title a:focus,
body.blog .nnd-post-title a:hover,
body.blog .nnd-post-title a:focus {
    color: var(--nnd-revenue-heat) !important;
}

.nnd-post-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    font-size: 14px;
    color: var(--nnd-ember-depth);
    opacity: 0.7;
}

.nnd-post-date {
    display: inline-block;
}

.nnd-post-categories {
    display: inline-block;
}

.nnd-post-categories a {
    color: var(--nnd-insight-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.nnd-post-categories a:hover,
.nnd-post-categories a:focus {
    color: var(--nnd-revenue-heat);
}

.nnd-post-excerpt {
    font-size: 16px;
    line-height: 1.8;
    color: var(--nnd-ember-depth);
    margin-bottom: 25px;
    opacity: 0.9;
}

.nnd-post-excerpt p {
    margin-bottom: 15px;
}

.nnd-post-footer {
    margin-top: 25px;
}

.nnd-read-more,
a.nnd-read-more,
a.nnd-read-more:link,
a.nnd-read-more:visited,
a.nnd-read-more:active,
body .nnd-read-more,
body.single .nnd-read-more,
body.blog .nnd-read-more,
.nnd-main-content a.nnd-read-more,
.nnd-post-footer a.nnd-read-more {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--nnd-revenue-heat) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    border-radius: 5px;
    border: none !important;
}

.nnd-read-more:hover,
.nnd-read-more:focus,
a.nnd-read-more:hover,
a.nnd-read-more:focus,
a.nnd-read-more:link:hover,
a.nnd-read-more:visited:hover,
a.nnd-read-more:active:hover,
body .nnd-read-more:hover,
body .nnd-read-more:focus,
body.single .nnd-read-more:hover,
body.single .nnd-read-more:focus,
body.blog .nnd-read-more:hover,
body.blog .nnd-read-more:focus,
.nnd-main-content a.nnd-read-more:hover,
.nnd-main-content a.nnd-read-more:focus,
.nnd-post-footer a.nnd-read-more:hover,
.nnd-post-footer a.nnd-read-more:focus {
    background-color: var(--nnd-conversion-coral) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* No Content */
.nnd-no-content {
    text-align: center;
    padding: 80px 20px;
}

.nnd-no-content .nnd-page-title {
    margin-bottom: 20px;
}

.nnd-no-content p {
    font-size: 18px;
    color: var(--nnd-ember-depth);
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Pagination */
.nnd-posts-pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(139, 74, 60, 0.2);
}

.nnd-posts-pagination .page-numbers {
    display: inline-block;
    padding: 10px 15px;
    color: var(--nnd-ember-depth);
    text-decoration: none;
    border: 1px solid rgba(139, 74, 60, 0.2);
    transition: all 0.3s ease;
    border-radius: 5px;
}

.nnd-posts-pagination .page-numbers:hover,
.nnd-posts-pagination .page-numbers:focus {
    background-color: var(--nnd-ember-depth);
    color: #ffffff;
    border-color: var(--nnd-ember-depth);
}

.nnd-posts-pagination .page-numbers.current {
    background-color: var(--nnd-ember-depth);
    color: #ffffff;
    border-color: var(--nnd-ember-depth);
}

.nnd-posts-pagination .page-numbers.dots {
    border: none;
    cursor: default;
}

.nnd-posts-pagination .page-numbers.dots:hover {
    background-color: transparent;
    color: var(--nnd-ember-depth);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .nnd-footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nnd-container {
        padding: 0 16px;
    }
    
    .nnd-header {
        padding: 15px 0;
    }
    
    .nnd-header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
        gap: 15px;
    }
    
    .nnd-logo-img,
    .custom-logo {
        height: 35px;
    }
    
    .nnd-mobile-menu-toggle {
        display: flex;
    }
    
    .nnd-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background-color: var(--nnd-ember-depth);
        flex-direction: column;
        gap: 0;
        width: 100%;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        opacity: 0;
        visibility: hidden;
        z-index: 1000;
    }
    
    .nnd-nav.active {
        max-height: 500px;
        opacity: 1;
        visibility: visible;
    }
    
    .nnd-nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .nnd-nav-link {
        font-size: 16px;
        padding: 12px 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block;
    }
    
    .nnd-nav-menu li:last-child .nnd-nav-link {
        border-bottom: none;
    }
    
    .nnd-btn-contact {
        display: none;
    }
    
    .nnd-nav .nnd-btn-contact.mobile {
        display: block;
        padding: 12px 20px;
        font-size: 13px;
        width: 100%;
        text-align: center;
        margin-top: 15px;
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .nnd-footer {
        padding: 40px 0 20px;
    }
    
    .nnd-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }
    
    .nnd-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .nnd-footer-legal {
        flex-direction: column;
        gap: 10px;
    }
    
    .nnd-main-content {
        padding: 50px 0;
    }
    
    .nnd-page-title {
        font-size: 36px;
    }
    
    .nnd-posts-container {
        gap: 40px;
    }
    
    .nnd-post-content {
        padding: 30px 20px;
    }
    
    .nnd-post-title {
        font-size: 24px;
    }
    
    .nnd-post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .nnd-page-title {
        font-size: 28px;
    }
    
    .nnd-post-title {
        font-size: 20px;
    }
    
    .nnd-post-content {
        padding: 25px 15px;
    }
    
    .nnd-read-more {
        padding: 10px 25px;
        font-size: 12px;
    }
}

/* Ultra-aggressive overrides for Read More button - Must override WordPress defaults */
html body a.nnd-read-more,
html body a.nnd-read-more:link,
html body a.nnd-read-more:visited,
html body a.nnd-read-more:active,
html body a.nnd-read-more:hover,
html body a.nnd-read-more:focus,
html body .nnd-post-footer a.nnd-read-more,
html body .nnd-post-footer a.nnd-read-more:link,
html body .nnd-post-footer a.nnd-read-more:visited,
html body .nnd-post-footer a.nnd-read-more:active,
html body .nnd-post-footer a.nnd-read-more:hover,
html body .nnd-post-footer a.nnd-read-more:focus,
html body.single a.nnd-read-more,
html body.blog a.nnd-read-more,
html body.single-post a.nnd-read-more {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ============================================
   FORM STYLING
   ============================================ */

/* Form Container */
form,
.nnd-form,
.wpcf7-form,
.gravity-form {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

/* Form Groups */
.form-group,
.wpcf7-form-control-wrap,
.gfield {
    margin-bottom: 25px;
    width: 100%;
}

/* Labels */
label,
.form-label,
.wpcf7-form-control-label,
.gfield_label {
    display: block;
    font-family: var(--nnd-font-body) !important;
    font-size: 14px;
    font-weight: 600;
    color: var(--nnd-ember-depth);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

label.required::after,
.form-label.required::after {
    content: ' *';
    color: var(--nnd-revenue-heat);
}

/* Text Inputs */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="date"],
input[type="time"],
input[type="datetime-local"],
.wpcf7-form-control input[type="text"],
.wpcf7-form-control input[type="email"],
.wpcf7-form-control input[type="tel"],
.ginput_container input[type="text"],
.ginput_container input[type="email"],
.ginput_container input[type="tel"] {
    width: 100%;
    padding: 16px 20px;
    font-family: var(--nnd-font-body) !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--nnd-ember-depth);
    background-color: #ffffff;
    border: 1px solid rgba(139, 74, 60, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
input[type="datetime-local"]:focus,
.wpcf7-form-control input:focus,
.ginput_container input:focus {
    outline: none;
    border-color: var(--nnd-cool-mint);
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(107, 184, 179, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
input[type="url"]:hover,
input[type="password"]:hover,
input[type="number"]:hover,
input[type="search"]:hover,
input[type="date"]:hover,
input[type="time"]:hover,
input[type="datetime-local"]:hover {
    border-color: rgba(139, 74, 60, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="tel"]::placeholder,
input[type="url"]::placeholder,
input[type="password"]::placeholder,
input[type="number"]::placeholder,
input[type="search"]::placeholder {
    color: rgba(139, 74, 60, 0.5);
    font-style: italic;
}

/* Textarea */
textarea,
.wpcf7-form-control textarea,
.ginput_container textarea {
    width: 100%;
    min-height: 120px;
    padding: 16px 20px;
    font-family: var(--nnd-font-body) !important;
    font-size: 16px;
    line-height: 1.6;
    color: var(--nnd-ember-depth);
    background-color: #ffffff;
    border: 1px solid rgba(139, 74, 60, 0.15);
    border-radius: 8px;
    transition: all 0.3s ease;
    resize: vertical;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

textarea:focus,
.wpcf7-form-control textarea:focus,
.ginput_container textarea:focus {
    outline: none;
    border-color: var(--nnd-cool-mint);
    border-width: 2px;
    box-shadow: 0 0 0 4px rgba(107, 184, 179, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
    background-color: #ffffff;
}

textarea:hover,
.wpcf7-form-control textarea:hover,
.ginput_container textarea:hover {
    border-color: rgba(139, 74, 60, 0.3);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

textarea::placeholder {
    color: rgba(139, 74, 60, 0.5);
    font-style: italic;
}

/* Select Dropdowns */
select,
select *,
.wpcf7-form-control select,
.wpcf7-form-control select *,
.ginput_container select,
.ginput_container select *,
body select,
body select *,
form select,
form select * {
    font-family: var(--nnd-font-body) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

select,
.wpcf7-form-control select,
.ginput_container select,
body select,
form select {
    width: 100% !important;
    padding: 16px 20px !important;
    padding-right: 50px !important;
    line-height: 1.6 !important;
    color: var(--nnd-ember-depth) !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 7L9 11.5L13.5 7' stroke='%238B4A3C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 18px !important;
    border: 1px solid rgba(139, 74, 60, 0.2) !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04) !important;
    min-height: 54px !important;
    outline: none !important;
}

/* Firefox specific select styling */
select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 var(--nnd-ember-depth);
}

select::-moz-focus-inner {
    border: 0;
}

select:focus,
.wpcf7-form-control select:focus,
.ginput_container select:focus,
body select:focus,
form select:focus {
    outline: none !important;
    border-color: var(--nnd-cool-mint) !important;
    border-width: 2px !important;
    box-shadow: 0 0 0 4px rgba(107, 184, 179, 0.15), 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 18 18' fill='none'%3E%3Cpath d='M4.5 7L9 11.5L13.5 7' stroke='%236BB8B3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
    transform: translateY(-1px) !important;
}

select:hover,
.wpcf7-form-control select:hover,
.ginput_container select:hover,
body select:hover,
form select:hover {
    border-color: rgba(139, 74, 60, 0.35) !important;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1), 0 1px 3px rgba(0, 0, 0, 0.06) !important;
    background-color: #ffffff !important;
}

select:active,
.wpcf7-form-control select:active,
.ginput_container select:active,
body select:active,
form select:active {
    border-color: var(--nnd-cool-mint) !important;
    transform: translateY(0) !important;
}

select option {
    padding: 12px 16px !important;
    font-family: var(--nnd-font-body) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--nnd-ember-depth) !important;
    background-color: #ffffff !important;
    line-height: 1.6 !important;
    min-height: 44px;
}

/* Ensure selected option displays correctly */
select option:checked {
    background-color: rgba(107, 184, 179, 0.1) !important;
    color: var(--nnd-ember-depth) !important;
    font-weight: 500 !important;
}

/* Style for when dropdown is open (limited browser support) */
select option:hover {
    background-color: rgba(245, 230, 211, 0.5) !important;
}

/* Ensure select text color is correct */
select,
select:focus,
select:hover {
    color: var(--nnd-ember-depth) !important;
}

/* File Inputs */
input[type="file"],
.wpcf7-form-control input[type="file"],
.ginput_container input[type="file"] {
    width: 100%;
    padding: 12px 18px;
    font-family: var(--nnd-font-body) !important;
    font-size: 14px;
    color: var(--nnd-ember-depth);
    background-color: #ffffff;
    border: 2px dashed rgba(139, 74, 60, 0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    cursor: pointer;
}

input[type="file"]:focus,
.wpcf7-form-control input[type="file"]:focus,
.ginput_container input[type="file"]:focus {
    outline: none;
    border-color: var(--nnd-cool-mint);
    border-style: solid;
    box-shadow: 0 0 0 3px rgba(107, 184, 179, 0.1);
}

input[type="file"]:hover,
.wpcf7-form-control input[type="file"]:hover,
.ginput_container input[type="file"]:hover {
    border-color: rgba(139, 74, 60, 0.5);
    background-color: rgba(245, 230, 211, 0.3);
}

input[type="file"]::-webkit-file-upload-button {
    padding: 8px 16px;
    margin-right: 12px;
    font-family: var(--nnd-font-body) !important;
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    background-color: var(--nnd-ember-depth);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

input[type="file"]::-webkit-file-upload-button:hover {
    background-color: var(--nnd-revenue-heat);
}

/* Checkboxes and Radio Buttons */
input[type="checkbox"],
input[type="radio"],
.wpcf7-form-control input[type="checkbox"],
.wpcf7-form-control input[type="radio"],
.ginput_container input[type="checkbox"],
.ginput_container input[type="radio"] {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    cursor: pointer;
    accent-color: var(--nnd-cool-mint);
}

input[type="checkbox"] + label,
input[type="radio"] + label,
.wpcf7-form-control input[type="checkbox"] + label,
.wpcf7-form-control input[type="radio"] + label {
    display: inline-block;
    font-weight: 400;
    cursor: pointer;
    margin-bottom: 0;
}

/* Submit Buttons */
input[type="submit"],
button[type="submit"],
.submit,
.wpcf7-submit,
.gform_button,
button.btn-submit,
body input[type="submit"],
body button[type="submit"],
form input[type="submit"],
form button[type="submit"] {
    display: inline-block !important;
    padding: 16px 40px !important;
    font-family: var(--nnd-font-body) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    background-color: var(--nnd-revenue-heat) !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-sizing: border-box !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(232, 90, 79, 0.3), 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    min-height: 52px !important;
    outline: none !important;
}

input[type="submit"]:hover,
input[type="submit"]:focus,
button[type="submit"]:hover,
button[type="submit"]:focus,
.submit:hover,
.submit:focus,
.wpcf7-submit:hover,
.wpcf7-submit:focus,
.gform_button:hover,
.gform_button:focus,
button.btn-submit:hover,
button.btn-submit:focus,
body input[type="submit"]:hover,
body input[type="submit"]:focus,
body button[type="submit"]:hover,
body button[type="submit"]:focus,
form input[type="submit"]:hover,
form input[type="submit"]:focus,
form button[type="submit"]:hover,
form button[type="submit"]:focus {
    background-color: var(--nnd-conversion-coral) !important;
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4), 0 3px 8px rgba(0, 0, 0, 0.15) !important;
    outline: none !important;
    color: #ffffff !important;
}

input[type="submit"]:active,
button[type="submit"]:active,
.submit:active,
.wpcf7-submit:active,
.gform_button:active,
button.btn-submit:active,
body input[type="submit"]:active,
body button[type="submit"]:active,
form input[type="submit"]:active,
form button[type="submit"]:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 3px 10px rgba(255, 107, 107, 0.3), 0 1px 3px rgba(0, 0, 0, 0.12) !important;
    background-color: var(--nnd-conversion-coral) !important;
}

/* Form Validation States */
input:invalid:not(:focus):not(:placeholder-shown),
textarea:invalid:not(:focus):not(:placeholder-shown),
select:invalid:not(:focus) {
    border-color: var(--nnd-revenue-heat);
}

input:valid:not(:focus):not(:placeholder-shown),
textarea:valid:not(:focus):not(:placeholder-shown),
select:valid:not(:focus) {
    border-color: var(--nnd-cool-mint);
}

/* Error Messages */
.wpcf7-not-valid-tip,
.gfield_description.validation_message,
.error-message {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: var(--nnd-revenue-heat);
    font-weight: 500;
}

/* Success Messages */
.wpcf7-mail-sent-ok,
.gform_confirmation_message,
.success-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: rgba(107, 184, 179, 0.1);
    border-left: 4px solid var(--nnd-cool-mint);
    border-radius: 4px;
    color: var(--nnd-ember-depth);
    font-size: 14px;
    font-weight: 500;
}

/* Form Section Headings */
.form-section-title,
.form-heading {
    font-family: var(--nnd-font-headline) !important;
    font-size: 32px;
    font-weight: 700;
    color: var(--nnd-ember-depth);
    margin-bottom: 15px;
}

.form-description {
    font-size: 16px;
    line-height: 1.7;
    color: var(--nnd-ember-depth);
    opacity: 0.8;
    margin-bottom: 30px;
}

/* Responsive Form Styles */
@media (max-width: 768px) {
    form,
    .nnd-form,
    .wpcf7-form,
    .gravity-form {
        max-width: 100%;
    }
    
    .form-group,
    .wpcf7-form-control-wrap,
    .gfield {
        margin-bottom: 20px;
    }
    
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    textarea,
    select {
        padding: 12px 16px;
        font-size: 16px; /* Prevent zoom on iOS */
    }
    
    input[type="submit"],
    button[type="submit"],
    .submit,
    .wpcf7-submit,
    .gform_button,
    button.btn-submit {
        width: 100%;
        padding: 14px 25px;
    }
    
    .form-section-title,
    .form-heading {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="password"],
    input[type="number"],
    input[type="search"],
    input[type="date"],
    input[type="time"],
    input[type="datetime-local"],
    textarea {
        padding: 12px 14px;
        font-size: 16px;
    }
    
    select,
    .wpcf7-form-control select,
    .ginput_container select {
        padding: 12px 14px;
        padding-right: 40px;
        font-size: 16px !important;
        min-height: 48px;
        background-position: right 14px center;
    }
    
    .form-section-title,
    .form-heading {
        font-size: 20px;
    }
}
