:root {
    --primary-green: #09b850;
    --emerald: #3d8669;
    --light-green:#82dca8;
    --mint-light:#e6f8ed;

    --dark-gray: #353639;
    --gray: #dce0e5;
    --light-gray: #dbe3ea;
    --mid-gray: #5d636a;
    --social-gray: #52525e;

    --white: #ffffff;
    --black: #000000;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    overflow-x: hidden;
}

h1, h2 {letter-spacing: -0.6pt;line-height: 15px;}
h3, h4 {letter-spacing: -0.6pt;}

.dacgreen {color: #09b850;}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-gray);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Navbar */
.navbar {
    background: rgba(21, 21, 23, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(99, 167, 0, 0.1);
    transition: all 0.3s ease;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar-scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.8rem;
    color: var(--primary-green) !important;
    text-decoration: none;
}

.nav-link {
    color: #fff !important;
    transition: color 0.3s ease;
    position: relative;
    font-size: 19px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-green);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link:hover {
    color: var(--primary-green) !important;
}

/* Desktop navbar: slightly smaller labels with more breathing room between them */
@media (min-width: 992px) {
    .navbar .nav-link:not(.nav-phone) {
        font-size: 16px;
        margin: 0 9px;
    }
}

/* Collapsed (hamburger) navbar menu: no underline animation or green text on
   hover; instead the tapped option lights up as a green pill with white text */
@media (max-width: 991.98px) {
    .navbar .nav-link::after {
        display: none;
    }

    .navbar .nav-link:not(.nav-phone) {
        padding-left: 10px;
        padding-right: 10px;
        border-radius: 6px;
    }

    .navbar .nav-link:not(.nav-phone):hover {
        color: #fff !important;
    }

    .navbar .nav-link:not(.nav-phone):active,
    .navbar .dropdown-item:active {
        background: var(--primary-green);
        color: var(--white) !important;
    }
}

/* Services dropdown: Bootstrap draws its caret with ::after, which collides with
   the nav-link underline animation (also ::after) and renders as a stray rectangle.
   Remove the caret borders so the dropdown toggle behaves like every other link. */
.navbar .nav-link.dropdown-toggle::after {
    border: none;
    margin-left: 0;
    vertical-align: 0;
}

/* Services dropdown */
.navbar .dropdown-menu {
    background: rgba(21, 21, 23, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.85);
    padding: 8px 18px;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: var(--primary-green);
    color: var(--white);
}

/* Phone button in navbar */
.nav-phone {
    background: var(--primary-green);
    color: var(--white) !important;
    border-radius: 50px;
    padding: 8px 22px !important;
    font-weight: 600;
    margin-left: 12px;
    white-space: nowrap;
}

.nav-phone::after {
    display: none;
}

.nav-phone:hover {
    background: var(--white);
    color: var(--primary-green) !important;
}

/* Hero Section */
.hero {
    background: radial-gradient(circle, rgb(0, 0, 0) 41%, rgb(0, 0, 0) 100%);
    min-height: 550px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(8px);
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

/* The hero phone button enters like the other hero buttons, slightly ahead
   of Learn More since it sits above it */
.hero .cta-btn {
    animation: fadeInUp 1s ease 0.4s both;
}

.hero .btn-primary-custom {
    animation-delay: 0.6s;
}

.hero h1 {
    font-size: 46px;
    font-weight: 600;
    color: var(--white);
    animation: fadeInUp 1s ease;
    letter-spacing: -0.8pt;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.8);
    line-height: 50px;
}

.hero p {
    font-size: 1.7rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
    letter-spacing: -0.3pt;
    line-height: 32px;
}

.hero-image {
    animation: float 6s ease-in-out infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Interior page hero */
.page-hero {
    background: radial-gradient(circle, rgb(0, 0, 0) 41%, rgb(0, 0, 0) 100%);
    padding: 150px 0 60px;
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/hero1.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    z-index: 0;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero h1 {
    color: var(--white);
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.75rem;
}

.page-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.3rem;
    text-shadow: 0 2px 2px rgba(0, 0, 0, 0.8);
    margin-bottom: 0;
}

/* Generic content section for interior pages */
.content-section {
    padding: 60px 0;
}

.content-section h2 {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.25;
    color: var(--dark-gray);
    margin-bottom: 1.25rem;
}

.content-section p {
    color: var(--mid-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.check-list {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}

.check-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 0.75rem;
    color: var(--mid-gray);
    font-size: 1.1rem;
}

.check-list li::before {
    content: '\f26a';
    font-family: 'bootstrap-icons';
    color: var(--primary-green);
    position: absolute;
    left: 0;
}

/* Contact page info cards */
.info-card {
    background: var(--mint-light);
    border: 2px solid #91d9ae;
    border-radius: 7px;
    padding: 25px;
}

.info-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.info-card i {
    color: var(--primary-green);
    margin-right: 8px;
}

/* Links inside info cards match the "Learn more" style: green, no underline */
.info-card a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.info-card a:hover {
    color: var(--dark-gray);
}

.map-embed {
    width: 100%;
    height: 400px;
    border: 0;
    border-radius: 12px;
}

/* Buttons */
.btn-primary-custom {
    background: var(--black);
    color: var(--white);
    border: none;
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 19px;
    animation: fadeInUp 1s ease 0.4s both;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(99, 167, 0, 0.3);
    color: var(--primary-green);
}

.btn-secondary-custom {
    background: var(--primary-green);
    color: var(--white);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin-left: 1rem;
    font-size: 19px;
    animation: fadeInUp 1s ease 0.6s both;
}

.btn-secondary-custom:hover {
    background: var(--white);
    color: var(--primary-green);
    transform: translateY(-3px);
}

/* Stats Section */
.stats {
    background: var(--light-gray);
    padding: 80px 0 60px 0;
    margin-top: -50px;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image: url('../images/dac-tile.jpg');
    background-repeat: repeat;
    background-size: 6%;
    opacity: 0.2;
    transform: rotate(-10deg);
    z-index: 0;
}

.stats > * {
    position: relative;
    z-index: 1;
}

.stats-card {
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    background:linear-gradient(147deg, rgba(93, 99, 106, 1) 14%, rgba(47, 60, 74, 1) 100%);
    background-repeat: repeat, no-repeat;
    background-size: auto, cover;
    background-position: top left, center;
    background-blend-mode: overlay;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 135px;
}

.stats-number {
    font-size: 30px;
    font-weight: 500;
    color: var(--white);
    letter-spacing: -0.5pt;
    line-height: 1.2;
}

.stats-label {
    color: var(--white);
    font-weight: 500;
    font-size: 16px;
    line-height: 1.3;
}

/* Services Section */
.services {
    padding: 50px 0;
    background: linear-gradient(180deg, var(--white) 0%, #f8f9fa 100%);
}

.section-title {
    font-size: 2.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark-gray);
}

.section-subtitle {
    text-align: center;
    color: var(--mid-gray);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    line-height: 26px;
    margin-top: 25px;
}

.service-card {
    background: #e5f7eb;
    border-radius: 7px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid #91d9ae;
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(87, 87, 87, 0.5);
    border-color: var(--primary-green);
}

.service-icon {
    width: 70px;
    height: 70px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-green);
    color: var(--white);
    flex-shrink: 0;
}

.service-icon i {
    font-size: 2rem;
}

.service-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--dark-gray);
    line-height: 24px;
}

.service-description {
    color: var(--dark-gray);
    line-height: 1.6;
    font-size: 16px;
}

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.service-link {
    color: var(--primary-green);
    font-weight: 600;
    text-decoration: none;
    margin-top: auto;
    padding-top: 0.5rem;
    display: inline-block;
}

.service-link:hover {
    color: var(--dark-gray);
}

/* Icon fonts are single-weight; stroke the glyph to render it bold.
   Applies to every inline link chevron site-wide */
.bi-chevron-right {
    -webkit-text-stroke: 1.5px currentColor;
    font-size: 0.8em;
}

/* Features Section */
.features {
    padding: 100px 0;
    background: var(--dark-gray);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/dark-money.jpg');
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    opacity: 0.1;
    z-index: 0;
}

.features > * {
    position: relative;
    z-index: 1;
}

.features .section-title,
.features .section-subtitle {
    color: var(--white);
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    opacity: 0;
    transform: translateX(-30px);
    animation: slideInLeft 0.6s ease forwards;
}

.feature-item:nth-child(2) {
    animation-delay: 0.2s;
}

.feature-item:nth-child(3) {
    animation-delay: 0.4s;
}

.feature-item:nth-child(4) {
    animation-delay: 0.6s;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.feature-text {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 500;
    margin-top: 25px;
}

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 8px !important;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.accordion-button {
    background: var(--light-gray);
    border: none;
    padding: 1.5rem;
    font-size: 19px;
    font-weight: 500;
    color: var(--dark-gray);
    letter-spacing: -0.3pt;
    line-height: 24px;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
    border-radius: 8px;
}

.accordion-button:not(.collapsed) {
    background: var(--primary-green);
    color: var(--white);
    border-radius: 0;
}

.accordion-body {
    padding: 1.5rem;
    color: var(--mid-gray);
    background: #f8f9fa;
    font-size: 1.1rem;
}

/* Sales Pitch Section */
.sales-pitch {
    padding: 100px 0 0 0;
    background: #FFFFFF;
}

.sales-content {
    padding: 1.5rem;
}

.sales-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.sales-content p {
    color: var(--mid-gray);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.texas-map {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    margin-bottom: 2rem;
}

/* CTA Section */
.cta {
    padding: 100px 0;
    background: var(--dark-gray);
    position: relative;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
}

.cta .section-title {
    color: var(--white);
}

.cta .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cta-btn {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 30px;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    font-size: 32px;
}

.cta-btn:hover {
    background: var(--black);
    transform: translateY(-3px);
    color: var(--white);
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    line-height: 30px;
}

.footer-title {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--white);
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-green);
}

.social-icon {
    background-color: var(--social-gray);
    color: white;
    border-radius: 50%;
    padding: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-decoration: none;
}

.social-icon:hover {
    background: var(--primary-green);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.animate {
    opacity: 1;
    transform: translateY(0);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='%2309b850' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.herotext {
    text-shadow: 0 3px 3px rgba(0, 0, 0, 0.8);
}

.email-container {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 1px 3px;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.email-container:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.email-revealed {
    opacity: 0;
    animation: fadeInEmail 0.5s ease forwards;
}

@keyframes fadeInEmail {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.email-link {
    color: var(--primary-green) !important;
    text-decoration: none;
    font-weight: 500;
}

.email-link:hover {
    text-decoration: underline;
    color: var(--white) !important;
}

.pushdownhr {margin-bottom: 50px;}

.modal-header {
    background-color: #289949;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {

    .logo-mobile {
        filter: grayscale(100%);
        opacity: 0.5;
    }

    .stats::before {
        background-size: 18%;
    }

    .hero-content {
        text-align: center;
    }

    .hero-content .btn-primary-custom,
    .hero-content .btn-secondary-custom {
        display: inline-block;
        margin: 10px auto;
    }

    .hero {
        padding: 120px 20px 80px;
        text-align: center;
    }

    .hero h1 {
        font-size: 1.9rem;
        line-height: 2.5rem;
        margin-bottom: 23px;
    }

    .hero p {
        font-size: 1.5rem;
    }

    h1, h2 {line-height: 2.8rem;}
    h3, h4 {line-height: 32px;}

    .btn-secondary-custom {
        margin-left: 0;
        margin-top: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats {
        margin-top: 0;
    }

    .service-card {
        margin-bottom: 2rem;
    }

    .cta-btn {
        font-size: 20px;
        padding: 12px 26px;
        white-space: nowrap;
    }

    /* Headings that must stay on one line: scale with viewport width */
    .title-one-line {
        white-space: nowrap;
        font-size: min(2rem, 6.5vw);
    }

    .footer-bottom {
        font-size: 13px;
    }

    .page-hero {
        padding: 130px 0 45px;
        text-align: center;
    }

    .page-hero h1 {
        font-size: 2.2rem;
    }

    .nav-phone {
        margin-left: 0;
        margin-top: 10px;
        display: inline-block;
        text-align: center;
    }
}

