   :root {
    --primary-blue: #2196F3;
    --accent-orange: #ff6b4a;
    --text-dark: #333333;
    --text-gray: #777777;
    --bg-light: #f9f9f9;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark); 
    background: #fff; 
    overflow-x: hidden; 
    background: #2B2B46;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 10%;
    background: #fff;
    /* border-bottom: 1px solid #eee; */
    flex-wrap: wrap; 
    background-color: #303150;
}
.logo { display: flex; align-items: center; font-size: 18px; font-weight: 700; color: #1e88e5; }
.logo-icon { width: 24px; height: 24px; background: #1e88e5; border-radius: 50%; margin-right: 8px; }
nav { display: flex; gap: 20px; }
nav a { text-decoration: none;color: #B4F1F1; font-size: 13px; }
footer ul li a{
    color: #7E7F90 !important;
}
.hero {
    display: flex;
    height: calc(100vh - 350px);
    max-height: 530px;
    flex-direction: row;
}
.hero-left {
    flex: 0.6;
    background: #303150;
    /* background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 40%); */
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
}
.hero-left h1 { font-size: 32px; line-height: 1.2; margin-bottom: 20px; }
.hero-left p { font-size: 14px; opacity: 0.9; line-height: 1.6; max-width: 450px; }

.hero-right {
    flex: 1.2;
    background: #e5e3df;
    position: relative;
}
.main-box{
    padding: 0;
}

.explore-earth-btn {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background-color 0.3s ease;
    width: max-content;
}

.explore-earth-btn:hover {
    background: #1565c0;
    text-decoration: none;
    color: white;
}

.map-widget {
    position: absolute;
    z-index: 10;
    bottom: 30px;
    right: 120px;
    width: 320px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    padding: 20px;
    font-size: 12px;
    z-index: 10;
}
.widget-tabs { display: flex; justify-content: space-around; margin-bottom: 15px; border-bottom: 1px solid #eee; color: #999; }
.tab.active { color: var(--accent-orange); border-bottom: 2px solid var(--accent-orange); padding-bottom: 5px; font-weight: bold; }
.input-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 4px; margin-top: 5px; }
.btn-search {background: var(--primary-blue); color: white; border: none; width: 100%; padding: 12px; border-radius: 4px; font-weight: bold; cursor: pointer; margin-top: 15px; }
.btn-search:hover { background: var(--primary-blue); }
.input-group input:active{
    border-color: none;
    outline: none;
}
.widget-tabs span{
    cursor: pointer;
}
.mapboxgl-ctrl-fullscreen{
    display: none !important;
}
.search-result-item {
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: background-color 0.2s;
}

.search-result-item:hover {
    background-color: #f8f8f8;
}

.search-result-item:last-child {
    border-bottom: none;
}

#search-results {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
    max-height: 200px;
    overflow-y: auto;
}

.close_ipt {
    display: none;
    position: absolute;
    top: 18px;
    right: 5px;
    cursor: pointer;
    z-index: 10;
}
.ad-placeholder{
    font-size: 13px !important;
    color: #888;
    font-style: italic;
    text-align: center;
    max-width: 750px;
    margin: 0 auto;
    width: 98%;
    display: flex;
    align-items: center;
}
.ad-placeholder::before, .ad-placeholder::after {
    content: "";
    flex: 1;
    border-bottom: 1px dashed rgb(255 210 210 / 20%);
}

.suggestionsList {
    width: 100%;
    background-color: #ffffff;
    position: absolute;
    top: calc(100% + 6px);
    max-height: 350px;
    overflow-y: auto;
    border-radius: 4px;
    box-shadow: 0 0 5px 1px rgba(0,0,0,.3);
    font-size: 15px;
    z-index: 1000;
}

.suggestions {
    margin-bottom: 0;
    width: 100%;
    background-color: #ffffff;
    position: relative;
    max-height: 350px;
    overflow-y: auto;
    border-radius: 3px;
}

.suggestions li {
    padding: 5px 10px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.suggestions li:hover {
    background-color: #EEEEEE;
}

.suggestions li a {
    color: #333;
    text-decoration: none;
    display: block;
}

.mapboxgl-ctrl-geocoder--suggestion-title {
    font-weight: 700;
    font-size: 14px;
}

.mapboxgl-ctrl-geocoder--suggestion-address {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
}

.how-to-section { padding: 60px ; text-align: center;max-width: 1200px;margin: 0 auto; }
.section-header h2 { font-size: 26px; margin-bottom: 10px;     color: #B4F1F1;}
.section-header p { margin-bottom: 40px; font-size: 14px;color: #7E7F90; }

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); 
    gap: 30px;
}
.step-window {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    margin-bottom: 15px;
    border: 1px solid #eee;
    overflow: hidden;
}
.window-head { height: 20px; background: #333; display: flex; align-items: center; padding: 0 8px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: #555; margin-right: 3px; }
.window-body { height: 180px; background: #f5f5f5; }
.step-card h3 { font-size: 15px; margin-bottom: 8px; font-weight: 700; color: #B4F1F1;}
.step-card p { font-size: 13px; color: #7E7F90; }

.features-row {
    padding: 20px 10% 60px;
    display: flex;
    gap: 30px;
}
.gas-price-card {
    flex: 2;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
}
.gas-map { flex: 1; background: #eee; min-height: 200px; }
.gas-list { flex: 1; background: var(--primary-blue); color: white; padding: 25px; font-size: 12px; }

.cta-footer {
    background: #303150;
    padding: 60px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    gap: 40px;
}
.direction-item,
.feature-item { display: flex; align-items: center; margin-bottom: 12px; font-size: 13px;color: #7E7F90; }
.icon-circle { width: 28px; height: 28px; background: rgba(255,255,255,0.2); border-radius: 50%; margin-right: 12px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.cta-content { text-align: right; }
.cta-content h2 { font-size: 28px; margin-bottom: 10px; }
.cta-content p { font-size: 13px; max-width: 400px; margin-left: auto; opacity: 0.9;color: #7E7F90; }

.main-footer {
    background: #222;
    padding: 30px 10%;
    display: flex;
    justify-content: space-between;
    color: #777;
    font-size: 11px;
    flex-wrap: wrap;
    gap: 15px;
}
.img_ext{
    width: 90%;
    height: auto;
}
#maps{
    width: 100%;
    height: 100%;
    background: url(../images/bg3.webp?v=5);
    background-size: cover;
    background-repeat: no-repeat;
}
.footer-links a { color: #777; text-decoration: none; margin-left: 15px; }
footer{
    border-top: none;
}
.footer_logo{
    border-right: none;
}
.footer_title{
    color: #7E7F90;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 28px;
  }
  
  .footer-col h4 {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #94a3b8;
    margin: 0 0 14px;
    font-weight: 700;
  }
  
  .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
  }
  
  .footer-col a {
    color: #cbd5e1;
    font-size: 14px;
    transition: color 0.2s ease;
  }
  
  .footer-col a:hover {
    color: #ffffff;
  }
  
  .footer-bottom {
    margin-top: 36px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: #64748b;
  }
  
  .footer-grid {
    align-items: flex-start;
  }
  .site-footer {
    border-top: 0;
    margin-top: 0;
    padding: 56px 0 28px;
    background: #0b1224;
    color: #cbd5e1;
  }
  
  .site-footer .brand {
    color: #ffffff !important;
    font-size: 22px;
  }
  
  .site-footer .brand-badge {
    background: linear-gradient(135deg, #2563eb, #0ea5e9);
    width: 38px;
    height: 38px;
    font-size: 15px;
  }
  
  .footer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
  }
  
  .footer-social a {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #cbd5e1;
    transition: all 0.2s ease;
  }
  
  .footer-social a:hover {
    background: rgba(37, 99, 235, 0.22);
    color: #ffffff;
    border-color: rgba(37, 99, 235, 0.5);
  }
  
  .footer-social svg {
    width: 14px;
    height: 14px;
  }
  
  .footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-start;
  }
  
  .footer-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #cbd5e1;
  }
  
  .footer-note {
    color: #64748b;
    font-size: 13px;
    max-width: 520px;
    margin: 14px 0 0;
    line-height: 1.7;
  }
  .container {
    max-width: 1200px;
    width: 98%;
    margin: 0 auto;
}
a{
    text-decoration: none;
}
@media (max-width: 992px) {
    .hero { flex-direction: column; }
    .hero-left, .hero-right {width: 100%; }
    .hero-left { padding: 60px 10%; text-align: center; }
    .hero-left p { margin: 0 auto; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .features-row { flex-direction: column; }
    .cta-footer { flex-direction: column; text-align: center; }
    .cta-content { text-align: center; }
    .cta-content p { margin: 0 auto; }
}

@media (max-width: 600px) {
    header { justify-content: center; gap: 10px; }
    nav { width: 100%; justify-content: center; }
    .hero-left h1 { font-size: 26px; }
    .steps-grid { grid-template-columns: 1fr; }
    .gas-price-card { flex-direction: column; }
    .gas-map { height: 150px; }
    .main-footer { flex-direction: column; text-align: center; }
    .footer-links { margin-top: 10px; }
    .footer-links a { margin: 0 5px; }
    .map-widget { width: 90%; max-width: 300px;right: 42px; }
}