* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0f4c75 0%, #3282b8 50%, #bbe1fa 100%);
    min-height: 100vh;
    color: #333;
}

/* Header container */
.header {
    background-color: #ffffff;
    padding: 1rem;
    border-bottom: 1px solid #ddd;
    position: relative;
}

/* Flex container for logo and text */
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo section (logo + text) */
.logo-section {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex: 0 0 auto; /* Don't grow or shrink */
}

/* Logo image container */
.logo {
    width: 75px;
    height: 75px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #28a745, #a8e063);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Logo text styles */
.logo-text h1 {
    font-size: 1.1rem;
    margin: 0;
    font-weight: bold;
    color: #333;
}

.logo-text p {
    font-size: 0.85rem;
    margin: 0;
    color: #666;
}

/* Auth section (login/register or user info) */
.auth-buttons {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #f0f0f0;
    padding: 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

/* Logged in user info block */
.auth-buttons .user-info {
    background: #ffffff;
    color: #333;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 10px;
    text-align: center;
    white-space: nowrap;
}

/* Guest login/register button styles */
.auth-buttons .guest-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #0f4c75, #3282b8);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: #0f4c75;
    border: 2px solid #0f4c75;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-section {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.hero-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.service-category {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.business-icon { background: linear-gradient(135deg, #ff9a9e, #fecfef); }
.property-icon { background: linear-gradient(135deg, #a8edea, #fed6e3); }
.health-icon { background: linear-gradient(135deg, #ffecd2, #fcb69f); }
.transport-icon { background: linear-gradient(135deg, #a8c8ec, #7d8dc1); }
.agriculture-icon { background: linear-gradient(135deg, #96fbc4, #f9f586); }
.hospital-icon { background: linear-gradient(135deg, #ff758c, #ff7eb3); }
.market-icon { background: linear-gradient(135deg, #fd9644, #fe6b8b); }
.entertainment-icon { background: linear-gradient(135deg, #4facfe, #00f2fe); }

.service-category h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.service-list {
    list-style: none;
}

.service-list li {
    padding: 0.5rem 0;
    color: #5a6c7d;
    border-bottom: 1px solid #ecf0f1;
    cursor: pointer;
    transition: color 0.3s ease;
}

.service-list li:hover {
    color: #0f4c75;
}

.service-list li:last-child {
    border-bottom: none;
}

.quick-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2000;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal h3 {
    margin-bottom: 1.5rem;
    color: #2c3e50;
    text-align: center;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #555;
    font-weight: 600;
}

.form-group input {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #0f4c75;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #999;
}

.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    text-align: center;
    color: white;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2c3e50;
    margin: 3px 0;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#toast {
    display: none;
    position: fixed;
    top: 10px;
    right: 10px;
    background: #0f4c75;
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transition: opacity 1s;
}

/* Mobile responsive styles */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .logo-section {
        justify-content: center;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-text {
        text-align: center;
    }
    
    .auth-buttons {
        justify-content: center;
        flex-wrap: wrap;
        margin-top: 0;
    }
    
    .hamburger {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }
    
    .hero-section h2 {
        font-size: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
}