/* Rupee Symbol Styling */
.rupee-symbol {
    color: #28a745;
    font-weight: 700;
    font-size: 1.2em;
    margin-right: 8px;
    display: inline-block;
}

/* Screen Reader Only Class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Page Header */
.page-header {
    text-align: center;
    padding: 30px 20px;
    color: #333;
    margin-bottom: 30px;
    background: transparent;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 15px 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.page-subtitle {
    font-size: 18px;
    margin: 0 0 20px 0;
    color: #555;
    font-weight: 500;
    line-height: 1.4;
}

.page-description {
    font-size: 16px;
    margin: 0;
    color: #666;
    font-weight: 400;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Form Container */
.distance-form {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    padding: 25px;
    margin: 0 15px 25px 15px;
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-input::placeholder {
    color: #6c757d;
    font-weight: 400;
}

/* Error Messages */
.warning-msg {
    color: #dc3545 !important;
    font-size: 14px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

/* Search Button */
.search-btn {
    width: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    margin-top: 10px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.search-btn:active {
    transform: translateY(0);
}

.search-btn i {
    margin-right: 8px;
}

/* Useful Links Section */
.useful-links-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 15px 25px 15px;
    overflow: hidden;
}

.useful-links-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.useful-links-header h2,
.useful-links-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.useful-links-header i {
    margin-right: 10px;
    font-size: 18px;
}

.useful-links-description {
    padding: 15px 20px;
    background: #f8f9fa;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #e9ecef;
}

.city-section {
    padding: 20px;
}

.city-section h3,
.city-section h4 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 0 0 15px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #667eea;
    display: inline-block;
}

.store-links {
    display: grid;
    grid-template-columns: 50% 50%;
    gap: 12px;
    margin-bottom: 20px;
}

.store-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 10px;
    background: #ffffff;
    color: #333;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 2px solid #e1e5e9;
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 48px;
    min-width: 100%;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    margin: 0;
}

.store-links a:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.25);
    text-decoration: none;
    border-color: #667eea;
}

.store-links a i {
    margin-right: 8px;
    font-size: 13px;
    transition: all 0.3s ease;
}

.store-links a:hover i {
    transform: translateX(4px);
}

.clear {
    clear: both;
}

/* FAQ Section Styling - Bootstrap Template Style */
.faq-section {
    background: #f8f9fa;
    margin: 20px 15px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.faq-section .content {
    padding: 20px;
}

.faq-section h3 {
    color: #333;
    margin-bottom: 15px;
}

.faq-section h5 {
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 10px 0;
    margin: 0;
}

.faq-section h5:hover {
    color: #667eea;
}

.faq-section h5 i {
    transition: transform 0.3s ease;
}

.faq-section .collapse {
    display: none;
    transition: all 0.3s ease;
}

.faq-section .collapse.show {
    display: block;
}

.faq-section .divider {
    height: 1px;
    background: #e9ecef;
    width: 100%;
}

/* Directions Panel Styling */
#directions-panel {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#directions-panel .adp {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

#directions-panel .adp-step {
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

#directions-panel .adp-step:last-child {
    border-bottom: none;
}

#directions-panel .adp-text {
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    margin-bottom: 5px;
}

#directions-panel .adp-distance {
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

#directions-panel .adp-directions {
    font-size: 14px;
    color: #555;
}

#directions-panel .adp-summary {
    background: #667eea;
    color: white;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
}

#directions-panel .adp-warnbox {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 10px;
    font-size: 14px;
}

#directions-panel .adp-placemark {
    background: #e3f2fd;
    border-left: 4px solid #2196f3;
    padding: 8px 12px;
    margin: 8px 0;
    border-radius: 4px;
}

#directions-panel .adp-placemark .adp-text {
    font-weight: 600;
    color: #1976d2;
}

#directions-panel .adp-substep {
    margin-left: 20px;
    padding: 5px 0;
    font-size: 14px;
    color: #666;
}

#directions-panel .adp-substep .adp-text {
    font-size: 14px;
}

#directions-panel .adp-substep .adp-distance {
    font-size: 11px;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .page-header {
        padding: 20px 15px;
    }
    
    .page-title {
        font-size: 26px;
    }
    
    .page-subtitle {
        font-size: 16px;
    }
    
    .page-description {
        font-size: 14px;
        padding: 0 10px;
    }
    
    .distance-form {
        padding: 18px;
        margin: 0 10px 18px 10px;
    }
    
    .useful-links-section {
        margin: 0 10px 18px 10px;
    }
    
    .useful-links-header {
        padding: 15px;
    }
    
    .useful-links-header h2,
    .useful-links-header h3 {
        font-size: 18px;
    }
    
    .useful-links-description {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .city-section {
        padding: 15px;
    }
    
    .city-section h3,
    .city-section h4 {
        font-size: 16px;
        margin-bottom: 15px;
    }
    
    .store-links {
        gap: 10px;
        margin-bottom: 15px;
    }
    
    .store-links a {
        padding: 12px 8px;
        font-size: 14px;
        min-height: 42px;
        margin: 0;
        border-radius: 8px;
    }
    
    .store-links a i {
        margin-right: 6px;
        font-size: 12px;
    }
    
    .form-input {
        font-size: 16px;
    }
    
    .faq-section {
        margin: 15px 10px;
    }
    
    .faq-section .content {
        padding: 15px;
    }
    
    .faq-section h3 {
        font-size: 20px;
        margin-bottom: 12px;
    }
    
    .faq-section h5 {
        font-size: 15px;
        padding: 8px 0;
    }
    
    #directions-panel {
        padding: 12px;
        margin-top: 12px;
    }
    
    #directions-panel .adp-text {
        font-size: 13px;
    }
    
    #directions-panel .adp-distance {
        font-size: 11px;
    }
    
    #directions-panel .adp-summary {
        font-size: 15px;
        padding: 8px;
    }
}

@media (max-width: 480px) {
    .page-header {
        padding: 15px 10px;
    }
    
    .page-title {
        font-size: 24px;
        margin-bottom: 10px;
    }
    
    .page-subtitle {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .page-description {
        font-size: 14px;
        padding: 0 5px;
        line-height: 1.4;
    }
    
    .distance-form {
        padding: 15px;
        margin: 0 5px 15px 5px;
    }
    
    .useful-links-section {
        margin: 0 5px 15px 5px;
    }
    
    .useful-links-header {
        padding: 12px;
    }
    
    .useful-links-header h2,
    .useful-links-header h3 {
        font-size: 16px;
    }
    
    .useful-links-description {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .city-section {
        padding: 12px;
    }
    
    .city-section h3,
    .city-section h4 {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .store-links {
        gap: 8px;
        margin-bottom: 12px;
    }
    
    .store-links a {
        padding: 10px 6px;
        font-size: 14px;
        border-radius: 8px;
        min-height: 38px;
        margin: 0;
    }
    
    .store-links a i {
        margin-right: 5px;
        font-size: 11px;
    }
    
    .form-input {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .search-btn {
        padding: 12px 15px;
        font-size: 14px;
    }
    
    .faq-section {
        margin: 10px 5px;
    }
    
    .faq-section .content {
        padding: 12px;
    }
    
    .faq-section h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    
    .faq-section h5 {
        font-size: 14px;
        padding: 6px 0;
    }
    
    #directions-panel {
        padding: 10px;
        margin-top: 10px;
    }
    
    #directions-panel .adp-text {
        font-size: 14px;
    }
    
    #directions-panel .adp-distance {
        font-size: 14px;
    }
    
    #directions-panel .adp-summary {
        font-size: 16px;
        padding: 6px;
    }
    
    #directions-panel .adp-substep {
        margin-left: 15px;
        font-size: 14px;
    }
    
    #directions-panel .adp-substep .adp-text {
        font-size: 14px;
    }
    
    #directions-panel .adp-substep .adp-distance {
        font-size: 14px;
    }
}
