/* ===== TOP BAR ===== */
.up-top-bar {
    background: #1a237e;
    color: white;
    padding: 10px 0;
    font-size: 14px;
}

.up-top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.up-top-contact {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.up-top-contact a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 5px;
}

.up-top-contact a:hover {
    color: #ff9800;
}

.up-quote-btn-top {
    background: #ff9800;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
}

.up-quote-btn-top:hover {
    background: #f57c00;
}

/* ===== HEADER ===== */
.up-main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.up-header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

.up-logo {
    display: flex;
    align-items: center;
}

.up-logo img {
    height: 70px;
    width: auto;
    max-width: 250px;
}

/* ===== MOBILE MENU ===== */
.up-mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
    cursor: pointer;
    z-index: 1002;
    padding: 5px;
}

.up-main-nav {
    display: flex;
}

.up-nav-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
}

.up-nav-menu a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 0;
    position: relative;
    font-size: 15px;
}

.up-nav-menu a:hover {
    color: #ff9800;
}

/* ===== HERO SECTION ===== */
.up-hero {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.up-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" preserveAspectRatio="none"><path d="M0,0V100H1000V0C800,50,600,100,500,100S200,50,0,0Z" fill="%23ffffff10"/></svg>');
    background-size: 100% 100px;
    background-position: bottom;
    background-repeat: no-repeat;
}

.up-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.up-hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 30px;
    opacity: 0.9;
}

.up-hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== UP CITIES SECTION ===== */
.cities-section {
    background: #f5f7ff;
}

.cities-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
}

.city-tab {
    background: white;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.city-tab:hover,
.city-tab.active {
    background: #ff9800;
    color: white;
    border-color: #ff9800;
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.city-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.city-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    border-color: #ff9800;
}

.city-card h3 {
    color: #1a237e;
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.city-card p {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.city-link {
    background: #1a237e;
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.3s;
    display: inline-block;
}

.city-link:hover {
    background: #ff9800;
}

/* ===== COMPREHENSIVE SERVICES SECTION ===== */
.services-section {
    background: #fff;
}

.services-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.service-tab {
    background: white;
    padding: 12px 30px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid #1a237e;
    color: #1a237e;
}

.service-tab:hover,
.service-tab.active {
    background: #1a237e;
    color: white;
    border-color: #1a237e;
}

.service-detail {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: none;
    animation: fadeIn 0.5s ease;
}

.service-detail.active {
    display: block;
}

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

.service-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.service-icon-lg {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    flex-shrink: 0;
}

.service-header h3 {
    color: #1a237e;
    font-size: 2rem;
    margin-bottom: 10px;
}

.service-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-features h4,
.service-process h4 {
    color: #1a237e;
    margin-bottom: 20px;
    font-size: 1.4rem;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9800;
}

.features-list,
.process-list {
    list-style: none;
    padding: 0;
}

.features-list li,
.process-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: #555;
}

.features-list li::before,
.process-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
    font-size: 1.2rem;
}

.process-list li::before {
    content: counter(step);
    background: #1a237e;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.process-list {
    counter-reset: step;
}

.process-list li {
    counter-increment: step;
}

.service-cta {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid #f0f0f0;
}

/* ===== ALL SERVICES GRID ===== */
.all-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.up-service-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.up-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.up-service-icon {
    background: linear-gradient(135deg, #1a237e, #3949ab);
    color: white;
    font-size: 2.5rem;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.up-service-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.up-service-content h3 {
    color: #1a237e;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.up-service-content p {
    color: #666;
    margin-bottom: 20px;
    flex-grow: 1;
}

.up-service-btn {
    background: #ff9800;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.3s;
    display: inline-block;
    margin-top: auto;
}

.up-service-btn:hover {
    background: #f57c00;
}

/* ===== ALL CITIES LIST ===== */
.all-cities-section {
    background: white;
}

.cities-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.cities-column h3 {
    color: #1a237e;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9800;
}

.cities-list {
    list-style: none;
    padding: 0;
}

.cities-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.cities-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ff9800;
    font-weight: bold;
}

.cities-list a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s;
}

.cities-list a:hover {
    color: #ff9800;
    padding-left: 5px;
}

/* ===== PRICING SECTION ===== */
.up-pricing-section {
    background: #f5f7ff;
}

.up-pricing-table {
    overflow-x: auto;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.up-pricing-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.up-pricing-table th {
    background: #1a237e;
    color: white;
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.up-pricing-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.up-pricing-table tr:nth-child(even) {
    background: #f9f9f9;
}

.up-pricing-table tr:hover {
    background: #f0f0f0;
}

/* ===== CONTACT FORM ===== */
.up-contact-section {
    background: linear-gradient(135deg, #1a237e 0%, #283593 100%);
    color: white;
    position: relative;
}

.up-contact-section .section-title h2,
.up-contact-section .section-title p {
    color: white;
}

.up-contact-form {
    max-width: 700px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.up-form-group {
    margin-bottom: 20px;
}

.up-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 500;
}

.up-form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    transition: border 0.3s;
}

.up-form-control:focus {
    border-color: #1a237e;
    outline: none;
}

.up-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.up-form-control {
    min-height: 120px;
    resize: vertical;
}

.up-submit-btn {
    background: #ff9800;
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s;
}

.up-submit-btn:hover {
    background: #f57c00;
}

/* ===== FOOTER ===== */
.up-footer {
    background: #1a1a1a;
    color: #ddd;
    padding: 60px 0 20px;
}

.up-footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.up-footer-column h3 {
    color: #ff9800;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.up-footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff9800;
}

.up-footer-links {
    list-style: none;
}

.up-footer-links li {
    margin-bottom: 10px;
}

.up-footer-links a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.up-footer-links a:hover {
    color: #ff9800;
    padding-left: 5px;
}

.up-footer-contact p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.up-copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333;
    color: #999;
    font-size: 14px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 992px) {
    .up-hero h1 {
        font-size: 2.2rem;
    }
    
    .up-form-row {
        grid-template-columns: 1fr;
    }
    
    .cities-grid {
        grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    }
    
    .service-detail {
        padding: 30px;
    }
    
    .service-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .up-mobile-menu-btn {
        display: block;
    }
    
    .up-main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        padding: 80px 20px 20px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1001;
        flex-direction: column;
        overflow-y: auto;
    }
    
    .up-main-nav.active {
        right: 0;
    }
    
    .up-nav-menu {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .up-nav-menu li {
        width: 100%;
    }
    
    .up-nav-menu a {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #eee;
        font-size: 16px;
    }
    
    .up-mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
        display: none;
    }
    
    .up-mobile-overlay.active {
        display: block;
    }
    
    .up-hero {
        padding: 60px 0;
    }
    
    .up-hero h1 {
        font-size: 1.8rem;
    }
    
    .up-hero p {
        font-size: 1rem;
    }
    
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .up-contact-form {
        padding: 25px;
    }
    
    .up-footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .service-tab {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    .service-detail {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .up-top-bar .container {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .up-logo img {
        height: 60px;
        max-width: 200px;
    }
    
    .up-hero h1 {
        font-size: 1.6rem;
    }
    
    .up-hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .cities-grid {
        grid-template-columns: 1fr;
    }
    
    .cities-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .city-tab {
        white-space: nowrap;
    }
    
    .services-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding-bottom: 10px;
    }
    
    .service-tab {
        white-space: nowrap;
    }
}
/* Uttarakhand specific styles */
.city-card[data-category="uttarakhand"] {
    border-left: 5px solid #4CAF50; /* Green for Uttarakhand */
}

.city-tab[data-city="uttarakhand"] {
    background: linear-gradient(135deg, #4CAF50, #2E7D32);
}

/* Add to existing city-tab hover */
.city-tab[data-city="uttarakhand"]:hover {
    background: linear-gradient(135deg, #2E7D32, #1B5E20);
}