/* Add mobile CTA bar styles at the beginning of the file */
.mobile-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: white;
    padding: 0.75rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1030;
}

.mobile-cta-bar .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.875rem;
}

/* Add padding to main content to prevent overlap with fixed CTA bar */
@media (max-width: 991px) {
    main {
        padding-bottom: 120px;
    }
}

/* Navigation styles */
.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-logo {
    height: 100px;
    width: auto;
}

@media (max-width: 768px) {
    .navbar-logo {
        height: 100px; /* Increased logo size for better legibility */
    }
}

.phone-number {
    font-size: 1.1rem;
}

@media (max-width: 991px) {
    .navbar .btn-primary {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }

    .navbar .d-flex.flex-column {
        width: 100%;
    }
}

/*This section was removed because it was duplicated and conflicting with the media query above*/
/*@media (max-width: 768px) {
    .navbar-logo {
        height: 50px;
    }
}*/

/* Typography */
h1, .h1 {
    font-weight: 600;
    color: #2d3748;
    line-height: 1.2;
}

.lead {
    font-weight: 300;
    line-height: 1.6;
    color: #4a5568;
}

/* Button styling */
.btn-primary {
    background-color: #37577B;
    border-color: #37577B;
    font-weight: 500;
    padding: 0.625rem 1.25rem;
    transition: all 0.2s ease;
}

.btn-primary:hover {
    background-color: #37577B;
    border-color: #37577B;
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Card styles */
.charity-card {
    border: none;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    height: 100%;
}

.charity-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.charity-card .card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.charity-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.charity-card h3 {
    color: #1a202c;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.charity-card .text-muted {
    color: #4a5568 !important;
    line-height: 1.6;
}

.charity-card .description-text {
    flex-grow: 1;
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.charity-card .btn-primary {
    width: 100%;
    padding: 0.75rem 1rem;
    font-weight: 500;
    background-color: #37577B;
    border-color: #37577B;
}

.charity-card .btn-primary:hover {
    background-color: #37577B;
    border-color: #37577B;
}

/* Global styles */
body {
    color: #2d3748;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.container {
    max-width: 1140px;
    padding: 0 1rem;
}

.container-narrow {
    max-width: 970px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Section styling */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

/* Icon styling */
.fas {
    color: inherit;
}

/* Phone number button specific style */
.charity-card .btn-primary {
    width: 100%;
    text-align: center;
    font-weight: 500;
    padding: 0.75rem 1rem;
}

/* Custom styles to enhance Bootstrap */

/* Global styles */
:root {
    --primary-color: #0d6efd;
    --success-color: #198754;
    --call-button-color: #25d366;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

main {
    flex: 1 0 auto;
}

/* Typography */

/* Hero section */
.hero-section {
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 1.5rem;
    text-align:left;
}

.hero-section .lead {
    color: #4a5568;
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
      text-align:left;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23000000' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
    z-index: 0;
}

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

/* Hero section specific styles */
.hero-heading {
    font-size: 2.25rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.2;
    margin-bottom: 0.5rem;

}

.hero-subheading {
    font-size: 1.5rem;
    font-weight: 500;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 1rem;
    font-display: swap;
}

.hero-description {
    color: #6c757d;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    font-display: swap;
    text-align: left;
}

/* Search section */
.search-heading {
    font-size: 1.3rem;
    font-weight: 500;
    color: #212529;
    text-align: center;
}

.search-box {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 1.5rem;
    background-color: #ffffff;
    margin-top: auto;
}

.search-input {
    height: 42px;
    font-size: 0.95rem;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 4px;
}

.search-button {
    height: 42px;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .search-heading {
        font-size: 1.4rem;
        margin-bottom: 1rem !important;
    }

    .search-box .row {
        flex-direction: column;
    }

    .search-box .col-8,
    .search-box .col-auto {
        width: 100%;
        max-width: 100%;
    }

    .search-input,
    .search-button {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .search-button {
        margin-top: 0.5rem;
    }
}

/* Info box styling */
.info-box {
    padding: 1.5rem;
    background-color: rgba(13, 110, 253, 0.05);
    border-radius: 8px;
    /* height: 240px; */
}

/* Additional margin for mb-3 */
.info-box.mb-3 {
    margin-bottom: 1rem !important;
    /* height: 90px; */
}

/* Responsive styles */
@media (max-width: 768px) {
    .info-box {
        padding: 1rem;
        height: auto; /* Allow height to adjust based on content */
    }

    .info-box.mb-3 {
        height: auto; /* Prevent fixed height on smaller screens */
    }
}

/* Hero section adjustments */
.hero-section .row {
    display: flex;
    align-items: stretch;
}

.hero-section .col-lg-5,
.hero-section .col-lg-3 {
    display: flex;
    flex-direction: column;
}


.info-box.flex-grow-1 {
    height: calc(100% - 120px); /* Adjust to match search box height */
}

.search-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Sidebar styles */
.sidebar-heading {
    font-size: 1.1rem;
    font-weight: 600;
    color: #212529;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

.sidebar-text {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Card enhancements */
.card {
    border: 1px solid rgba(13, 110, 253, 0.15);
    box-shadow: none;
    transition: transform 0.2s ease-in-out;
}

.card:hover {
    transform: translateY(-2px);
}

.card-body {
    padding: 1rem;
}

/* How it works section */
.how-it-works {
    background-color: #f8f9fa;
    padding: 4rem 0;
    border-top: 1px solid rgba(0,0,0,0.1);
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* Process steps styling */
.process-step {
    background: #fff;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: left;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.process-step h3 {
    font-size: 1.25rem;
    color: #1a202c;
    margin-bottom: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
}

.process-step p {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
    font-size: 1rem;
}

.process-step i {
    font-size: 1.25rem;
    color: #4B77BE;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .process-step {
        margin: 0 auto;
        max-width: 280px;
    }
}

.step-number {
    width: 32px;
    height: 32px;
    background: var(--bs-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    position: absolute;
    top: -16px;
    left: 2rem;
}

.step-icon {
    color: var(--bs-primary);
    font-size: 1.5rem;
    margin-top: 0.5rem;
}


@media (max-width: 768px) {
    .process-step {
        margin-bottom: 2rem;
    }
}

/* Featured charities section */
.featured-charity-card {
    background: linear-gradient(45deg, rgba(13, 110, 253, 0.05), rgba(13, 110, 253, 0.1));
    border-radius: 10px;
}

.featured-charity-logo {
    width: 80px;
    height: 80px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.featured-charity-card:hover .featured-charity-logo {
    transform: scale(1.1);
}

/* CTA section */
.cta-section {
    position: relative;
    margin: 4rem 0;
}

.cta-section .card {
    background: linear-gradient(135deg, #4B77BE 0%, #2C3E50 100%);
    overflow: hidden;
}

.cta-section .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
}

.text-white-80 {
    color: rgba(255, 255, 255, 0.9) !important;
}

.cta-section .lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.8;
}

.cta-section .btn-light {
    color: #4B77BE;
    font-weight: 600;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.cta-section .btn-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    background-color: #ffffff;
    color: #3867af;
}

.cta-section .btn-outline-light {
    border-width: 2px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-section .btn-outline-light:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.cta-section .shadow-lg {
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175)!important;
}

/* Button styling */

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}


.btn-light {
    background: #ffffff;
    border: none;
    color: var(--primary-color);
}

.btn-light:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
    }

    .hero-heading {
        font-size: 2rem;
    }

    .hero-subheading {
        font-size: 1.25rem;
    }

    .process-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .featured-charity-logo {
        width: 60px;
        height: 60px;
    }
    .container {
        padding: 0 1.25rem;
    }
    .vehicle-types {
        grid-template-columns: 1fr;
    }
}

/* Container and row adjustments */
.hero-section .row {
    display: flex;
    align-items: stretch;
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .search-box, .info-box {
        height: auto;
    }

    .hero-section .row {
        min-height: auto;
    }
}

/* Section styling */
.section-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 2rem;
    text-align: center;
}

/* Benefits list */
.benefits-list {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}
.benefits-list li {
    margin-bottom: 0.75rem;
    color: #4a5568;
    display: flex;
    align-items: center;
}

.benefits-list li i {
    color: #4B77BE;
    margin-right: 0.75rem;
}


/* Vehicle types grid */
.vehicle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.vehicle-type {
    display: flex;
    align-items: center;
    color: #4a5568;
}

.vehicle-type i {
    color: #4B77BE;
    margin-right: 0.75rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.cta-section p {
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Why Choose section styling */
.why-choose-content {
    color: #4a5568;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-content p {
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.why-choose-content p:last-child {
    margin-bottom: 0;
}

/* State section styling */
/* .states-section {
    background-color: #e9ecef;
    padding: 4rem 0;
}

.state-letters {
    margin: 2.5rem 0;
    text-align: center;
}

.alphabet-row {
    display: inline-flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
} */

/* .state-letter {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 2px solid #666;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    padding: 0;
    line-height: 1;
    margin: 0.25rem;
}

.state-letter.has-states {
    color: #333;
    border-color: #333;
}

.state-letter.active {
    background-color: #00847c;
    color: #ffffff;
    border-color: #00847c;
}

.state-letter {
    color: #666;
    border: 2px solid #666;
    cursor: pointer;
    background: none;
}

.state-letter:hover:not(.active) {
    color: #00847c;
} */

.state-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    max-width: 800px;
    margin: 2rem auto;
}

.state-link {
    color: #333;
    text-decoration: none;
    padding: 1rem 2rem;
    background-color: #ffffff;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.state-link:hover {
    background-color: #e5e5e5;
    color: #00847c;
    text-decoration: none;
}

@media (max-width: 768px) {
    .state-letters {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .alphabet-row {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.5rem;
        max-width: 320px;
    }

    .state-letter {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0.15rem;
    }

    .state-links {
        gap: 0.75rem;
    }

    .search-box {
        margin: 1.5rem 0;
        width: 100%;
        display: block;
    }

    .search-box .row {
        margin: 0;
    }

    .search-box .col-8,
    .search-box .col-auto {
        padding: 0;
    }

    .state-letters {
        gap: 0.25rem;
    }

    .state-letter {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.9rem;
    }

    .state-links {
        gap: 0.5rem;
    }

    .state-link {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
}

/* CTA section */
.cta-section {
    position: relative;
    margin: 4rem 0;
}

.light-info-box {
    background-color: #F8F9FA;
    border: 1px solid rgba(0, 0, 0, 0.1) !important;
    border-radius: 8px;
}

.light-info-box .text-dark {
    color: #212529 !important;
}

.light-info-box .lead {
    color: #495057;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.cta-buttons .btn-success {
    background-color: #198754;
    border-color: #198754;
}

.cta-buttons .btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
}
/* Floating CTA Button */
.floating-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #198754;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.floating-cta:hover {
    background-color: #157347;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 80px;
        right: 10px;
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

