/* --- Navbar --- */
.navbar.bg-dark {
    background: #2c3e50 !important;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-brand:hover, .navbar-brand:focus {
    color: #fff !important;
}

.navbar .brand { /* Targeting the text part of the logo */
    color: #fff !important;
}

.navbar-nav .nav-item .btn {
    padding: 8px 16px !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
    line-height: 1.5; /* Ensure text is vertically centered */
}

.navbar-nav .nav-item .btn-primary {
    background-color: #3b5d3b;
    color: #fff !important;
    border-color: #3b5d3b;
}

    .navbar-nav .nav-item .btn-primary:hover {
        background-color: #2d4a2d;
        border-color: #2d4a2d;
        color: #fff !important;
        transform: translateY(-2px);
    }

.navbar-nav .nav-item .btn-outline-light {
    color: rgba(255, 255, 255, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.5) !important;
}

    .navbar-nav .nav-item .btn-outline-light:hover {
        background-color: rgba(255, 255, 255, 0.1);
        color: #fff !important;
        border-color: #fff !important;
    }

/* Mobile Navbar Override */
.navbar-toggler {
    border-color: rgba(255,255,255,0.5) !important;
}

    .navbar-toggler .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='rgba%28255, 255, 255, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    }

    .navbar-toggler:hover, .navbar-toggler:focus {
        background-color: #3b5d3b !important;
        border-color: #3b5d3b !important;
    }

.navbar-collapse.in, .navbar-collapse.collapsing {
    background: #2c3e50 !important;
    border-radius: 8px;
    margin-top: 10px;
    padding: 10px;
}


/* --- Base & Typography --- */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #495057;
    background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    font-weight: 700;
    color: #2c3e50;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6c757d;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Buttons --- */
.btn {
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease-in-out;
    border: 2px solid transparent;
    letter-spacing: 0.5px;
}

.btn-lg {
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
}

.btn-primary {
    background: #3b5d3b;
    color: #fff !important;
    box-shadow: 0 4px 15px rgba(59,93,59,0.2);
}

    .btn-primary:hover {
        background: #2d4a2d;
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(59,93,59,0.25);
    }

.btn-secondary {
    background: transparent;
    color: #3b5d3b;
    border-color: #ced4da;
}

    .btn-secondary:hover {
        background: #e9ecef;
        border-color: #3b5d3b;
        color: #2d4a2d;
    }

.btn:focus {
    outline: 3px solid rgba(59,93,59,.25) !important;
    outline-offset: 2px;
    box-shadow: none; /* remove default bootstrap focus shadow */
}


/* --- Forms & Cards --- */
.form-card {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border: 1px solid #e9ecef;
    margin-top: -80px; /* Pulls the card up into the header */
    position: relative;
    z-index: 10;
}

.form-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.form-control {
    border-radius: 8px;
    border: 1px solid #ced4da;
    padding: 0.65rem 1rem;
    height: auto;
}

.input-group-addon {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    border-left: 0;
    font-weight: 500;
    color: #495057;
}

/* --- Page-Specific Sections --- */
.page-header {
    background: #2c3e50;
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.page-header h1 {
    color: #fff;
    font-size: 3rem;
    font-weight: 800;
}

.page-header p {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 1rem auto 0;
}

.content-section {
    padding: 4rem 0;
}

/* --- Rate Results --- */
.rate-item {
    display: flex;
    align-items: center;
    padding: 1.5rem 0;
    border-bottom: 1px solid #e9ecef;
}

    .rate-item:first-child {
        padding-top: 2rem;
    }
     .rate-item:last-of-type {
        border-bottom: none;
    }

.rate-item-details {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.rate-item-logo {
    height: 40px;
}

.rate-item-service {
    font-weight: 600;
    color: #2c3e50;
}

.rate-item-delivery {
    font-size: 0.9rem;
    color: #6c757d;
}

.rate-item-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #3b5d3b;
    margin-left: auto;
}

.rate-item-action {
    margin-left: 1.5rem;
} 