 /* Base Styles */
 :root {
    --primary: #2ECC71;
    --secondary: #27AE60;
    --dark: #2C3E50;
    --light: #ffffff;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', system-ui, sans-serif;
    line-height: 1.6;
    background: var(--light);
}

/* Header */
.header {
    background: var(--dark);
    color: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
}

.nav-links {
display: flex;
gap: 1.5rem;
align-items: center;
}

.nav-links a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 5px;
transition: all 0.3s ease;
position: relative;
font-weight: 500;
}

.nav-links a:hover {
background: rgba(255, 255, 255, 0.1);
transform: translateY(-2px);
}

.nav-links a::after {
content: '';
position: absolute;
width: 0;
height: 2px;
bottom: 0;
left: 0;
background-color: var(--primary);
transition: width 0.3s ease;
}

.nav-links a:hover::after {
width: 100%;
}

.nav-links a.active {
background: rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
.nav-links {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.nav-links a {
    width: 100%;
    text-align: center;
}
}

/* Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Search Section */
.search-box {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.select-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

select:focus {
    border-color: var(--primary);
    outline: none;
}

.search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 5px;
    font-size: 1.1rem;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.search-btn:hover {
    background: var(--secondary);
}

/* Results Section */
.results {
    display: grid;
    gap: 1.5rem;
}

.station-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    position: relative;
}

.station-card h3 {
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.station-meta {
    display: flex;
    gap: 1rem;
    color: #7F8C8D;
    margin-bottom: 1rem;
}

.station-address {
    color: #34495E;
    line-height: 1.8;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 2rem 1rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .select-group {
        grid-template-columns: 1fr;
    }

    .nav {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .search-box {
        padding: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    text-align: center;
    padding: 2rem;
}

.loader {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error Message */
.error {
    background: #F8D7DA;
    color: #721C24;
    padding: 1rem;
    border-radius: 5px;
    margin: 1rem 0;
}
/* ev range calculator CSS */
.unit-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.unit-tab {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background: #ddd;
    transition: all 0.3s ease;
}

.unit-tab.active {
    background: var(--primary);
    color: white;
}

.calculator-form {
    display: grid;
    gap: 1rem;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

input {
    padding: 1rem;
    border: 2px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

input:focus {
    border-color: var(--primary);
    outline: none;
}

.result-box {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    text-align: center;
    font-size: 1.2rem;
}
/* Add these new styles */
.result-box {
    background: var(--primary);
    color: white;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.result-icon {
    font-size: 2.5rem;
}

.info-section {
    background: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.info-section h3 {
    color: var(--dark);
    margin-bottom: 1rem;
}

.info-content {
    display: grid;
    gap: 1.5rem;
}

.info-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        width: 100%;
        text-align: center;
    }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        margin-top: 1rem;
    }
    
    .menu-toggle {
        display: block;
    }
}

/* Footer Tools Section */
.tools-list {
    list-style: none;
    padding: 0;
}

.tools-list li {
    margin-bottom: 0.5rem;
}

.tools-list a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tools-list a:hover {
    color: var(--primary);
}

.copyright {
    text-align: center;
    padding: 1rem;
    border-top: 1px solid #ddd;
    margin-top: 2rem;
}

/* Social Share Styles */
.social-share-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 2rem 0;
}

.social-share-btn {
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    transition: transform 0.2s;
    flex: 1;
    min-width: 200px;
    justify-content: center;
}

.social-share-btn:hover {
    transform: translateY(-2px);
}

.whatsapp { background: #25D366; }
.facebook { background: #1877F2; }
.twitter { background: #1DA1F2; }
.telegram { background: #0088CC; }

@media (max-width: 768px) {
    .social-share-container {
        flex-direction: column;
    }
    
    .social-share-btn {
        width: 100%;
        min-width: unset;
    }
}

/* Change text selection color */
::selection {
    background-color: #4CAF50; /* Green color */
    color: #ffffff; /* White text for better contrast */
  }
  
  /* For Mozilla Firefox */
  ::-moz-selection {
    background-color: #4CAF50;
    color: #ffffff;
  }