/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: #11162c;
    color: white;
    border-bottom: solid 4px #f87800;
    height: 172px;
    display: flex;
    align-items: center;
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: bold;
}

.logo a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

.logo a:hover {
    opacity: 0.8;
}

.logo-text {
    font-size: 18px;
    line-height: 1.2;
}

.logo-image {
    height: 104px;
    width: auto;
    object-fit: contain;
}

.header-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.progress-bar {
    display: flex;
    align-items: center;
    gap: 20px;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #7f8c8d;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.step.active .step-number {
    background: #ff7b00;
}

.step-label {
    font-size: 14px;
    white-space: nowrap;
}

.header-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    
}

.btn-primary {
    background: #ff7b00;
    color: white;
}

.btn-primary:hover {
    background: #e66a00;
}

.btn-secondary {
    background: #ecf0f1;
    color: #11162c;
}

.btn-secondary:hover {
    background: #d5dbdb;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
    width: 100%;
}

/* Step Content */
.step-content {
    display: none;
    flex: 1;
    padding: 40px 30px;
}

.step-content.active {
    display: block;
}

.step-content h1 {
    text-align: center;
    font-size: 32px;
    margin-bottom: 20px;
    color: #11162c;
}

.step-content#step3 {padding:40px 0;}

/* Contact Form Container */
.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 12px;
    border-left: 4px solid #ff7b00;
}

/* Results Container */
.results-container {
    max-width: 1000px;
    margin: 0 auto;
}

.results-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .results-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Tablet improvements */
    .header {
        height: auto;
        min-height: 140px;
        padding: 20px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .step-label {
        font-size: 13px;
        margin-top: 5px;
    }
    
    .header-buttons {
        flex-direction: row;
        gap: 15px;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .btn {
        padding: 12px 24px;
        font-size: 14px;
        min-width: 120px;
    }
    
    /* Form improvements for tablet */
    .form-group input,
    .form-group select,
    .form-group textarea {
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Project cards tablet */
    .project-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    /* Options tablet */
    .options-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkbox-group {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    /* Budget display tablet */
    .budget-range {
        padding: 30px;
    }
    
    .cost-display {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    /* Map improvements tablet */
    .map-container {
        height: 400px;
        min-height: 400px;
        width: 100%;
        position: relative;
    }
    
    .map-area {
        min-height: 400px;
        width: 100%;
        position: relative;
    }
    
    /* Ensure map loads properly on tablet */
    #map {
        width: 100% !important;
        height: 100% !important;
        min-height: 400px !important;
        border-radius: 8px;
    }
    
    .drawing-tools {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .tool-button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

.budget-range {
    background: linear-gradient(135deg, #11162c, #202952);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.budget-range h2 {
    font-size: 28px;
    margin-bottom: 30px;
    font-weight: 600;
}

.cost-display {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.cost-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.cost-label {
    font-size: 16px;
    opacity: 0.9;
}

.cost-value {
    font-size: 48px;
    font-weight: 700;
}

.cost-explanation {
    font-size: 14px;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto;
}

.project-summary {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
}

.project-summary h2 {
    color: #11162c;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.next-steps {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 30px;
}

.next-steps h2 {
    color: #11162c;
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
}

.steps-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.step-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #ff7b00;
}

.step-item i {
    color: #ff7b00;
    font-size: 20px;
}

.step-item span {
    color: #11162c;
    font-size: 16px;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

/* Step 1: Project Type Selection */
.project-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.project-card {
    border: 2px solid #ecf0f1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.project-card:hover {
    border-color: #3498db;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.project-card.selected {
    border-color: #3498db;
    background: #f8f9fa;
}

.card-icon {
    font-size: 48px;
    color: #bdc3c7;
    margin-bottom: 20px;
}

.project-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #11162c;
}

.project-card p {
    color: #7f8c8d;
    line-height: 1.5;
}

/* Step 2: Location Selection */
.location-container {
    margin: 0 auto;
}

.map-placeholder {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), 
                url('https://www.sanantoniodeckandfenceworks.com/wp-content/uploads/2025/09/Visit_San_Antonio_Skyline_76872129-5f57-4e33-a23b-4f93672d4f65.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    position: relative;
    min-height: 400px;
    width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.search-container {
    position: relative;
    margin-bottom: 30px;
    width: 100%;
    max-width: 500px;
    display: flex;
    align-items: center;
}

.search-container i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #7f8c8d;
    z-index: 2;
}

.search-container input {
    flex: 1;
    padding: 15px 15px 15px 45px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    padding-right: 50px;
}

.search-container input:focus {
    border-color: #3498db;
}

.location-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: #ff7b00;
    color: white;
    border: none;
    border-radius: 6px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    z-index: 2;
    padding: 12px;
}

.location-btn i {
    color: white;
    font-size: 16px;
}

.location-btn:hover {
    background: #e66a00;
}

/* Map controls removed as requested */

/* Step 3: Drawing Boundary */
.measurement-choice-container {
    width: 1280px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
}

.measurement-choice {
    text-align: center;
    margin-bottom: 40px;
}

.measurement-choice h3 {
    color: #11162c;
    font-size: 20px;
    margin-bottom: 30px;
}

.choice-options {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.choice-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.choice-btn:hover {
    border-color: #ff7b00;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 123, 0, 0.2);
}

.choice-btn.active {
    border-color: #ff7b00;
    background: #fff5f0;
}

.choice-btn i {
    font-size: 24px;
    color: #ff7b00;
}

.choice-btn span {
    font-weight: 500;
    color: #11162c;
}

.calculated-measurement {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 2px solid #ff7b00;
    border-radius: 8px;
    padding: 15px 20px;
    margin-left: 20px;
}

.measurement-display-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.measurement-display-inline label {
    font-weight: 600;
    color: #11162c;
    font-size: 14px;
    margin: 0;
}

.measurement-inputs-inline {
    display: flex;
    align-items: center;
    gap: 8px;
}

.measurement-inputs-inline input {
    width: 100px;
    padding: 8px 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background: white;
    color: #11162c;
}

.measurement-inputs-inline .unit-label {
    font-size: 14px;
    font-weight: 500;
    color: #11162c;
    min-width: 40px;
}

.manual-entry-section {
    max-width: 400px;
    margin: 0 auto;
    padding: 30px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff7b00;
}

.measurement-inputs {
    display: flex;
    gap: 15px;
    align-items: center;
}

.measurement-inputs input {
    flex: 1;
    padding: 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 24px;
    font-weight: 500;
    text-align: center;
    outline: none;
    transition: border-color 0.3s ease;
    min-width: 200px;
}

.measurement-inputs input:focus {
    border-color: #ff7b00;
    box-shadow: 0 0 0 3px rgba(255, 123, 0, 0.1);
}

.unit-label {
    font-size: 18px;
    font-weight: 500;
    color: #11162c;
    min-width: 100px;
    text-align: left;
}

.map-drawing-section {
    margin-top: 20px;
}

.measurement-display {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #ff7b00;
    margin-bottom: 20px;
    text-align: center;
}

.measurement-display .form-group {
    margin-bottom: 0;
}

.measurement-display label {
    font-weight: 600;
    color: #11162c;
    font-size: 16px;
}

.measurements-container {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0;
    align-items: start;
}

.drawing-tools {
    background: #e6e6e6;
    padding: 20px;
    border-radius: 8px;
    height: fit-content;
}

.drawing-tools h3 {
    margin-bottom: 20px;
    color: #11162c;
    font-size: 16px;
}


.tool {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    margin-bottom: 10px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tool.active {
    background: #11162c;
    color: white;
}

.tool:hover:not(.active) {
    background: #ecf0f1;
}

/* Instructions Panel Styles */
.instructions-panel {
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
}

.instructions-header {
    background: #ff7b00;
    color: white;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.instructions-header:hover {
    background: #e66a00;
}

.instructions-header h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.toggle-instructions {
    background: none;
    border: none;
    color: white;
    font-size: 12px;
    cursor: pointer;
    padding: 4px;
    transition: transform 0.3s ease;
}

.toggle-instructions.collapsed {
    transform: rotate(180deg);
}

.instructions-content {
    padding: 16px;
    display: none;
}

.instructions-content.collapsed {
    display: none;
}

.instructions-content.expanded {
    display: block;
}

.instruction-step {
    margin-bottom: 16px;
}

.instruction-step:last-child {
    margin-bottom: 0;
}

.instruction-step strong {
    color: #11162c;
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

.instruction-step p {
    margin: 0 0 8px 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

.instruction-step ul {
    margin: 0;
    padding-left: 16px;
}

.instruction-step li {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 4px;
}

.instruction-step li:last-child {
    margin-bottom: 0;
}

.tool-actions {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: #f8f9fa;
}

.map-area {
    background: #ecf0f1;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    width: 100%;
}

.map-container {
    width: 100%;
    height: 500px;
    border-radius: 8px;
    position: relative;
    min-height: 500px;
}

.map-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #7f8c8d;
    font-size: 16px;
    z-index: 1000;
}

.map-loading i {
    font-size: 24px;
}

.map-placeholder-large {
    font-size: 64px;
    color: #bdc3c7;
}


/* Step 4: Project Options */
.options-container {
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff7b00;
}

.form-section h4 {
    color: #11162c;
    font-size: 16px;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.preset-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.preset-btn {
    background: white;
    border: 2px solid #e1e4e8;
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.preset-btn:hover {
    border-color: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 90, 160, 0.15);
}

.preset-btn.active {
    border-color: #2c5aa0;
    background: linear-gradient(135deg, #2c5aa0, #1a3d73);
    color: white;
}

.preset-btn.active .preset-title {
    color: white;
}

.preset-btn.active .preset-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.preset-btn.active .preset-price {
    color: rgba(255, 255, 255, 0.8);
}

.preset-title {
    font-size: 18px;
    font-weight: 600;
    color: #11162c;
    margin-bottom: 5px;
}

.preset-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.preset-price {
    font-size: 16px;
    font-weight: 600;
    color: #2c5aa0;
}

.preset-btn.essential {
    border-left: 4px solid #28a745;
}

.preset-btn.signature {
    border-left: 4px solid #ffc107;
}

.preset-btn.oasis {
    border-left: 4px solid #dc3545;
}

.preset-btn.custom {
    border-left: 4px solid #6c757d;
}

@media (max-width: 768px) {
    .preset-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .preset-btn {
        padding: 15px;
    }
    
    .preset-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .preset-buttons {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

.help-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #ff7b00;
    color: white;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    font-size: 12px;
    font-weight: bold;
    text-decoration: none;
    margin-left: 8px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

.help-icon:hover {
    background-color: #e66a00;
    transform: scale(1.1);
    text-decoration: none;
    color: white;
}

.options-form h3, .project-summary h3 {
    margin-bottom: 20px;
    color: #11162c;
    font-size: 18px;
}

.project-info {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 30px;
    font-weight: 500;
    color: #11162c;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #11162c;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    border-color: #3498db;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #3498db;
    cursor: pointer;
    border: none;
}

.slider-value {
    font-weight: 500;
    color: #11162c;
    min-width: 40px;
}

.height-options {
    display: flex;
    gap: 10px;
}

.height-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
}

.height-btn.active {
    border-color: #3498db;
    background: #f8f9fa;
}

.height-btn:hover:not(.active) {
    border-color: #bdc3c7;
}

.project-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
    height: fit-content;
}

.summary-details {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #ecf0f1;
}

.summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.summary-item .label {
    font-weight: 500;
    color: #7f8c8d;
}

.summary-item .value {
    color: #11162c;
    font-weight: 500;
}

.project-image {
    background: #ecf0f1;
    height: 150px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 48px;
    color: #bdc3c7;
}

.project-description {
    color: #7f8c8d;
    line-height: 1.5;
    font-size: 14px;
}

/* Step 5: Confirm and Send */
.final-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ecf0f1;
}

.name-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-group {
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    opacity: 0;
    position: absolute;
}

.checkmark {
    position: relative;
    display: inline-block;
    width: 18px;
    height: 18px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 3px;
    margin-right: 10px;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background-color: #ff7b00;
    border-color: #ff7b00;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark:after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.final-summary {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

.estimated-cost {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 4px;
    text-align: center;
    font-size: 18px;
}

.estimated-cost strong {
    color: #11162c;
    margin-right: 10px;
}

.estimated-cost span {
    color: #27ae60;
    font-size: 24px;
    font-weight: bold;
}

/* Footer */
.footer {
    background: #11162c;
    color: white;
    padding: 20px 30px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer i {
    color: #9b59b6;
    font-size: 18px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
        width: 100%;
    }
    
    .progress-bar {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .step-label {
        display: none;
    }
    
    .header-buttons {
        width: 100%;
        justify-content: center;
    }
    
    .measurements-container {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .drawing-tools {
        order: 2;
        margin-top: 20px;
        padding: 15px;
    }
    
    .drawing-tools h3 {
        font-size: 14px;
        margin-bottom: 15px;
    }
    
    .tool {
        padding: 10px;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .tool-actions {
        margin-top: 15px;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .action-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .map-area {
        order: 1;
        min-height: 500px;
        width: 100%;
    }
    
    .map-container {
        height: 500px;
        min-height: 500px;
        width: 100%;
    }
    
    #map {
        width: 100% !important;
        height: 100% !important;
    }
    
    .options-container,
    .final-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-cards {
        grid-template-columns: 1fr;
    }
    
    .name-inputs {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1300px) {
    .measurement-choice-container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .measurements-container {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .measurements-container {
        grid-template-columns: 200px 1fr;
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
    }
    
    .map-container {
        height: 450px;
        min-height: 450px;
    }
    
    .map-area {
        min-height: 450px;
    }
}

@media (max-width: 768px) {
    .measurement-choice-container {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .map-placeholder {
        width: 100%;
        max-width: 100%;
        padding: 20px;
        min-height: 300px;
    }
    
    .search-container {
        max-width: 100%;
        margin: 0 auto 20px auto;
    }
    
    .search-container input {
        font-size: 16px;
        padding: 12px 12px 12px 40px;
        padding-right: 45px;
    }
    
    /* Mobile layout for choice options and calculated measurement */
    .choice-options {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .choice-btn {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .calculated-measurement {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .container {
        margin: 0;
    }
    
    .header,
    .step-content,
    .footer {
        padding: 15px;
    }
    
    .step-content h1 {
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .step-content h2 {
        font-size: 20px;
        margin-bottom: 10px;
    }
    
    .measurement-choice-container {
        padding: 0 15px;
    }
    
    .map-container {
        height: 300px;
        min-height: 300px;
        width: 100%;
        position: relative;
    }
    
    .map-area {
        min-height: 300px;
        width: 100%;
        position: relative;
    }
    
    /* Ensure map loads properly on mobile */
    #map {
        width: 100% !important;
        height: 100% !important;
        min-height: 300px !important;
        border-radius: 8px;
    }
    
    /* Mobile-specific improvements */
    .header {
        height: auto;
        min-height: 120px;
        padding: 15px;
    }
    
    .header-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .logo-image {
        max-width: 150px;
        height: auto;
    }
    
    .progress-bar {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 12px;
        margin-top: 5px;
    }
    
    .header-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 14px;
        width: 100%;
        max-width: 200px;
    }
    
    .btn-primary {
        background: #f87800;
        border: none;
        color: white;
    }
    
    .btn-secondary {
        background: transparent;
        border: 2px solid #f87800;
        color: #f87800;
    }
    
    /* Form improvements */
    .form-group {
        margin-bottom: 20px;
    }
    
    .form-group label {
        font-size: 14px;
        margin-bottom: 8px;
        display: block;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100%;
        padding: 12px;
        font-size: 16px; /* Prevents zoom on iOS */
        border: 2px solid #e0e0e0;
        border-radius: 8px;
        background: white;
    }
    
    .form-group input:focus,
    .form-group select:focus,
    .form-group textarea:focus {
        border-color: #f87800;
        outline: none;
        box-shadow: 0 0 0 3px rgba(248, 120, 0, 0.1);
    }
    
    /* Project cards mobile */
    .project-cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .project-card {
        padding: 20px;
        border-radius: 12px;
        text-align: center;
    }
    
    .project-card h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .project-card p {
        font-size: 14px;
        line-height: 1.5;
    }
    
    /* Options mobile */
    .options-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .option-group {
        padding: 15px;
        border-radius: 8px;
    }
    
    .option-group h3 {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .checkbox-group {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .checkbox-item {
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 10px;
        background: #f8f9fa;
        border-radius: 6px;
    }
    
    .checkbox-item input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin: 0;
    }
    
    .checkbox-item label {
        font-size: 14px;
        margin: 0;
        cursor: pointer;
    }
    
    /* Budget display mobile */
    .budget-range {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .budget-range h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .cost-display {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .cost-amount {
        font-size: 32px;
        font-weight: bold;
    }
    
    .cost-item {
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .cost-item span:first-child {
        font-size: 12px;
        opacity: 0.8;
    }
    
    .cost-item span:last-child {
        font-size: 16px;
        font-weight: 600;
    }
    
    /* Map tools mobile */
    .drawing-tools {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .tool-button {
        padding: 10px 15px;
        font-size: 12px;
        border-radius: 6px;
    }
    
    /* Step navigation mobile */
    .step-navigation {
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .step-navigation .btn {
        width: 100%;
        max-width: none;
    }
    
    /* Results mobile */
    .results-container {
        padding: 20px;
    }
    
    .results-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-section {
        padding: 15px;
    }
    
    .result-section h3 {
        font-size: 18px;
        margin-bottom: 15px;
    }
    
    .result-section p {
        font-size: 14px;
        line-height: 1.6;
    }
    
    /* Contact form mobile */
    .contact-form {
        padding: 20px;
    }
    
    .name-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form .form-group {
        margin-bottom: 20px;
    }
    
    /* Footer mobile */
    .footer {
        text-align: center;
        padding: 20px 15px;
    }
    
    .footer p {
        font-size: 12px;
        line-height: 1.5;
    }
    
    /* Additional mobile touch improvements */
    .project-card {
        cursor: pointer;
        transition: all 0.2s ease;
        -webkit-tap-highlight-color: rgba(248, 120, 0, 0.1);
    }
    
    .project-card:active {
        transform: scale(0.98);
    }
    
    .btn:active {
        transform: scale(0.98);
    }
    
    .tool-button:active {
        transform: scale(0.95);
    }
    
    /* Improve touch targets */
    .checkbox-item {
        min-height: 44px; /* Apple's recommended minimum touch target */
        display: flex;
        align-items: center;
    }
    
    .radio-item {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    
    /* Better spacing for mobile */
    .step-content {
        padding: 20px 15px;
    }
    
    .step-content h1 {
        text-align: center;
        margin-bottom: 20px;
    }
    
    .step-content h2 {
        text-align: center;
        margin-bottom: 15px;
    }
    
    /* Mobile-specific button improvements */
    .btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-decoration: none;
        border-radius: 8px;
        font-weight: 600;
        transition: all 0.2s ease;
    }
    
    .btn:hover {
        transform: translateY(-1px);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile form validation improvements */
    .form-group input:invalid {
        border-color: #e74c3c;
    }
    
    .form-group input:valid {
        border-color: #27ae60;
    }
    
    /* Mobile alert improvements */
    .alert {
        padding: 15px;
        margin: 15px;
        border-radius: 8px;
        font-size: 14px;
        line-height: 1.5;
    }
    
    .alert-success {
        background: #d4edda;
        color: #155724;
        border: 1px solid #c3e6cb;
    }
    
    .alert-error {
        background: #f8d7da;
        color: #721c24;
        border: 1px solid #f5c6cb;
    }
    
    /* Mobile loading states */
    .loading {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 20px;
        font-size: 14px;
        color: #666;
    }
    
    .loading::before {
        content: '';
        width: 20px;
        height: 20px;
        border: 2px solid #f3f3f3;
        border-top: 2px solid #f87800;
        border-radius: 50%;
        animation: spin 1s linear infinite;
        margin-right: 10px;
    }
    
    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
    
    /* Mobile-specific utility classes */
    .mobile-hidden {
        display: none;
    }
    
    .mobile-only {
        display: block;
    }
    
    .desktop-only {
        display: none;
    }
    
    /* Improve mobile scrolling */
    .step-content {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
    }
    
    /* Mobile map improvements */
    .map-container {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    /* Mobile budget display improvements */
    .budget-range {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .cost-amount {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    /* Mobile location search improvements */
    .map-placeholder {
        padding: 15px;
        min-height: 250px;
    }
    
    .search-container {
        max-width: 100%;
        margin: 0 auto 15px auto;
    }
    
    .search-container input {
        font-size: 16px;
        padding: 12px 12px 12px 40px;
        padding-right: 45px;
    }
    
    .location-btn {
        width: 40px;
        height: 40px;
        padding: 10px;
    }
}

/* Email Verification Styles */
.email-verification-message {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.verification-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 1px solid #e1e8ed;
}

.verification-icon {
    font-size: 64px;
    color: #3498db;
    margin-bottom: 20px;
}

.verification-container h2 {
    color: #2c3e50;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 600;
}

.verification-container p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.verification-note {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
    border-radius: 8px;
    padding: 15px;
    margin: 25px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #0c5460;
    font-size: 14px;
}

.verification-note i {
    color: #17a2b8;
    font-size: 16px;
}

.verification-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.verification-actions .btn {
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.verification-actions .btn-primary {
    background-color: #3498db;
    color: white;
}

.verification-actions .btn-primary:hover {
    background-color: #2980b9;
    transform: translateY(-1px);
}

.verification-actions .btn-secondary {
    background-color: #95a5a6;
    color: white;
}

.verification-actions .btn-secondary:hover {
    background-color: #7f8c8d;
    transform: translateY(-1px);
}

.verification-help {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-top: 30px;
    text-align: left;
    border-left: 4px solid #3498db;
}

.verification-help p {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 10px;
}

.verification-help ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.verification-help li {
    color: #7f8c8d;
    padding: 5px 0;
    position: relative;
    padding-left: 20px;
}

.verification-help li:before {
    content: "•";
    color: #3498db;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.verification-timer {
    margin-top: 20px;
    padding: 15px;
    background-color: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #17a2b8;
}

.verification-timer p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.verification-timer i {
    color: #17a2b8;
    margin-right: 8px;
}

/* Success and Error Messages */
.success-message {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.success-message i {
    color: #28a745;
    font-size: 18px;
}

.error-message {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 15px;
    border-radius: 6px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error-message i {
    color: #dc3545;
    font-size: 18px;
}

/* Responsive Design for Verification */
@media (max-width: 768px) {
    .verification-container {
        padding: 30px 20px;
        margin: 20px;
    }
    
    .verification-icon {
        font-size: 48px;
    }
    
    .verification-container h2 {
        font-size: 24px;
    }
    
    .verification-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .verification-actions .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}