/* New Home Page Design Styles */

/* Override any conflicting styles */
.hero_banner * {
    box-sizing: border-box;
}

/* Hero Banner Section */
.hero_banner {
    background: linear-gradient(135deg, #ffffff 0%, #f0faf7 100%);
    padding: 100px 0 80px;
    min-height: 600px;
    position: relative;
}

.hero_content {
    padding-right: 30px;
}

.hero_content h1 {
    font-size: 44px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 35px;
    line-height: 1.3;
    letter-spacing: -0.5px;
}

.trip_type_selector {
    display: flex;
    gap: 35px;
    margin-bottom: 35px;
    align-items: center;
}

.trip_option {
    position: relative;
}

.trip_option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.trip_option label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #333;
    transition: color 0.3s ease;
    user-select: none;
}

.trip_option input[type="radio"]:checked + label {
    color: #43c59e;
}

.radio_icon {
    width: 20px;
    height: 20px;
    border: 2px solid #43c59e;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    transition: all 0.3s ease;
}

.trip_option input[type="radio"]:checked + label .radio_icon {
    background: #43c59e;
    border-color: #43c59e;
}

.trip_option input[type="radio"]:checked + label .radio_icon::after {
    content: '';
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Search Form */
.search_form_wrapper {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 520px;
}

.form_row {
    margin-bottom: 16px;
}

.form_row:last-of-type {
    margin-bottom: 0;
}

.form_row_multi {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
}

.form_row_multi .form_field {
    flex: 1;
}

.form_field {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border-radius: 10px;
    padding: 14px 16px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.form_field:focus-within {
    border-color: #43c59e;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(67, 197, 158, 0.1);
}

.field_icon {
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.field_icon img {
    width: 18px;
    height: 18px;
    opacity: 0.5;
    object-fit: contain;
}

.form_field:focus-within .field_icon img {
    opacity: 0.8;
}

.form_field input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 14px;
    color: #333;
    outline: none;
}

.form_field input::placeholder {
    color: #999;
}

.search_btn {
    width: 100%;
    background: #43c59e;
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.search_btn:hover {
    background: #3ab58c;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 197, 158, 0.35);
}

.search_btn:active {
    transform: translateY(0);
}

/* Hero Map */
.hero_map {
    position: relative;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.map_container {
    width: 100%;
    height: 500px;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    overflow: hidden;
}

.map_image {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Google Maps custom styles */
#map {
    width: 100%;
    height: 100%;
}

/* Map info window custom styling */
.gm-style .gm-style-iw-c {
    border-radius: 12px;
    padding: 12px;
}

.gm-style .gm-style-iw-d {
    overflow: auto !important;
}

.gm-style .gm-style-iw-t::after {
    background: linear-gradient(45deg, #43c59e 50%, transparent 51%, transparent);
}

/* Ride Types Section */
.ride_types_section {
    padding: 90px 0;
    background: #fff;
}

.section_title {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 60px;
    letter-spacing: -0.5px;
}

.ride_type_card {
    background: #f8f9fa;
    border-radius: 20px;
    padding: 40px 35px;
    height: 100%;
    transition: all 0.4s ease;
    border: 2px solid transparent;
    position: relative;
}

.ride_type_card:hover {
    border-color: #43c59e;
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(67, 197, 158, 0.2);
    background: #fff;
}

.ride_icon {
    width: 70px;
    height: 70px;
    background: #43c59e;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all 0.3s ease;
}

.ride_type_card:hover .ride_icon {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(67, 197, 158, 0.3);
}

.ride_icon img {
    width: 38px;
    height: 38px;
    filter: brightness(0) invert(1);
}

.ride_type_card h3 {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.ride_type_card p {
    font-size: 14px;
    color: #666;
    line-height: 1.7;
    margin-bottom: 24px;
    min-height: 84px;
}

.ride_stats {
    margin-bottom: 24px;
    padding-top: 10px;
}

.stat_item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.stat_item img {
    width: 18px;
    height: 18px;
    opacity: 0.6;
}

.ride_link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #43c59e;
    font-weight: 600;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.ride_link:hover {
    gap: 14px;
    color: #3ab58c;
}

.ride_link .arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.ride_link:hover .arrow {
    transform: translateX(4px);
}

.mission_link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: #43c59e;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    padding: 14px 35px;
    border: 2px solid #43c59e;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.mission_link:hover {
    background: #43c59e;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(67, 197, 158, 0.3);
}

.mission_link .arrow {
    transition: transform 0.3s ease;
}

.mission_link:hover .arrow {
    transform: translateX(4px);
}

/* Why Ride Section */
.why_ride_section {
    padding: 90px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #f0faf7 100%);
}

.section_title_left {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 45px;
    letter-spacing: -0.5px;
}

.why_ride_points {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.why_point {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.point_bar {
    width: 5px;
    min-height: 60px;
    background: linear-gradient(180deg, #43c59e 0%, #3ab58c 100%);
    border-radius: 3px;
    flex-shrink: 0;
}

.why_point p {
    font-size: 17px;
    color: #333;
    line-height: 1.8;
    margin: 0;
    padding-top: 2px;
}

.why_ride_image {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.why_ride_image img {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* Safety Section */
.safety_section {
    padding: 70px 0;
    background: #fff;
}

.safety_banner {
    background: linear-gradient(135deg, #43c59e 0%, #3ab58c 100%);
    border-radius: 20px;
    padding: 70px 50px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.safety_banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.safety_banner::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.safety_banner h2 {
    font-size: 44px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.book_now_btn {
    background: #fff;
    color: #43c59e;
    border: none;
    border-radius: 10px;
    padding: 16px 55px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.book_now_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
}

.book_now_btn:active {
    transform: translateY(-1px);
}

/* Download Section */
.download_section {
    padding: 90px 0;
    background: #fff;
}

.download_desc {
    font-size: 17px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 45px;
    max-width: 500px;
}

.app_download_options {
    display: flex;
    align-items: center;
    gap: 45px;
    flex-wrap: wrap;
}

.qr_code {
    position: relative;
}

.qr_code img {
    width: 160px;
    height: 160px;
    border: 3px solid #e8e8e8;
    border-radius: 16px;
    padding: 12px;
    background: #fff;
}

.store_buttons {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.store_btn {
    display: block;
    transition: all 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
}

.store_btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.store_btn img {
    height: 55px;
    width: auto;
    display: block;
}

.phone_mockup {
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.phone_mockup img {
    width: 100%;
    max-width: 450px;
    height: auto;
}

/* Responsive Design */
@media (max-width: 991px) {
    .hero_banner {
        padding: 70px 0 60px;
    }
    
    .hero_content {
        padding-right: 0;
        margin-bottom: 50px;
    }
    
    .hero_content h1 {
        font-size: 36px;
    }
    
    .map_container {
        height: 400px;
    }
    
    .section_title,
    .section_title_left {
        font-size: 32px;
    }
    
    .safety_banner h2 {
        font-size: 36px;
    }
    
    .hero_map,
    .why_ride_image,
    .phone_mockup {
        margin-top: 0;
    }
    
    .app_download_options {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    
    .ride_types_section,
    .why_ride_section,
    .download_section {
        padding: 70px 0;
    }
}

@media (max-width: 767px) {
    .hero_banner {
        padding: 50px 0 40px;
    }
    
    .hero_content h1 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .map_container {
        height: 350px;
    }
    
    .search_form_wrapper {
        padding: 25px 20px;
    }
    
    .form_row_multi {
        flex-direction: column;
        gap: 16px;
    }
    
    .trip_type_selector {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    
    .ride_types_section,
    .why_ride_section,
    .download_section {
        padding: 50px 0;
    }
    
    .section_title,
    .section_title_left {
        font-size: 26px;
        margin-bottom: 35px;
    }
    
    .ride_type_card p {
        min-height: auto;
    }
    
    .safety_section {
        padding: 50px 0;
    }
    
    .safety_banner {
        padding: 50px 25px;
    }
    
    .safety_banner h2 {
        font-size: 28px;
        margin-bottom: 25px;
    }
    
    .book_now_btn {
        padding: 14px 40px;
        font-size: 16px;
    }
    
    .why_point p {
        font-size: 15px;
    }
    
    .download_desc {
        font-size: 15px;
    }
}

@media (max-width: 575px) {
    .hero_content h1 {
        font-size: 24px;
    }
    
    .map_container {
        height: 300px;
    }
    
    .section_title,
    .section_title_left {
        font-size: 22px;
    }
    
    .safety_banner h2 {
        font-size: 24px;
    }
    
    .ride_type_card {
        padding: 30px 25px;
    }
    
    .ride_type_card h3 {
        font-size: 22px;
    }
}
