/* General Reset */
body, html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    overflow-x: hidden;
    width: 100%;
}

.container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* Update the main blue color throughout the site */
:root {
    --primary-blue: #0a1172; /* Current blue */
    --logo-blue: #0a1172;    /* New blue from logo */
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(26, 35, 126, 0.1);
    position: fixed;
    width: 100%;
    z-index: 50;
    padding: 1rem 0;
}

.navbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

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

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #0a1172;
    border-radius: 50%;
    padding: 8px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.logo-text {
    font-family: 'Carter One', cursive, sans-serif;
    font-size: 1.5rem;
    color: #0a1172;
    margin-left: 10px;
}

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

.nav-links a {
    text-decoration: none;
    color: #0a1172;
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #ffa500;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.login-btn, .signup-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.login-btn {
    background-color: #f0f0f0;
    color: var(--logo-blue);
}

.login-btn:hover {
    background-color: #e0e0e0;
}

.signup-btn {
    background-color: #0a1172;
    color: white;
}

.signup-btn:hover {
    background-color: #1a237e;
}

/* User Menu Styles */
.user-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-right: 1rem;
}

.user-info span:first-child {
    font-weight: 600;
    color: var(--logo-blue);
    font-size: 0.9rem;
}

.user-info span:last-child {
    font-size: 0.8rem;
    color: #666;
    text-transform: capitalize;
}

.dashboard-btn, .logout-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s;
    white-space: nowrap;
}

.dashboard-btn {
    background-color: #0a1172;
    color: white;
}

.dashboard-btn:hover {
    background-color: #1a237e;
}

.logout-btn {
    background-color: #ff4444;
    color: white;
}

.logout-btn:hover {
    background-color: #cc0000;
}

/* Mobile menu styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 100;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #0a1172;
    margin: 5px 0;
    transition: all 0.3s;
}

@media screen and (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links, .auth-buttons, .user-menu {
        display: none;
        width: 100%;
        text-align: center;
        padding: 1rem 0;
    }

    .nav-links.active, .auth-buttons.active, .user-menu.active {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .navbar-content {
        flex-wrap: wrap;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .nav-links a, .auth-buttons a, .user-menu a {
        padding: 0.5rem 0;
        width: 100%;
        display: block;
    }

    .login-btn, .signup-btn, .dashboard-btn, .logout-btn {
        width: 100%;
        text-align: center;
    }
    
    .user-info {
        align-items: center;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 1rem;
    background: #0a1172;
    margin-top: 4rem;
    text-align: center;
    min-height: 80vh;
    width: 100%;
}

.hero-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.hero-text {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: white;
    font-weight: 700;
    line-height: 1.2;
}

.hero-text .highlight {
    color: #ffa500;
}

.hero-text p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    color: #f0f0f0;
    line-height: 1.6;
}

.search-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
    background-color: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.search-input {
    flex: 1;
    min-width: 200px;
    padding: 0.8rem 1.2rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    font-size: 0.9rem;
    background-color: #f8f8f8;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.search-input:focus {
    outline: none;
    border-color: #0a1172;
    box-shadow: 0 0 0 2px rgba(10, 17, 114, 0.1);
}

.search-input::placeholder {
    color: #999;
}

.search-btn {
    padding: 0.8rem 1.5rem;
    background-color: var(--logo-blue);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.3s;
    white-space: nowrap;
    margin: 0 auto;
}

.search-btn:hover {
    background-color: #2c3e8f;
    transform: translateY(-1px);
}

/* Make the search form responsive */
@media (max-width: 768px) {
    .search-form {
        padding: 1rem;
    }
    
    .search-input {
        width: 100%;
    }
    
    .search-btn {
        width: 100%;
    }
}

.hero-image {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Make sure the hero section is responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        width: 90%;
    }
    
    .hero-text, .hero-image {
        width: 100%;
    }
    
    .hero-image {
        margin-top: 2rem;
    }
}

/* Update mobile styles for hero section */
@media screen and (max-width: 768px) {
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero-content {
        flex-direction: column;
        width: 90%;
    }

    .hero-text {
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2rem;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .search-form {
        width: 100%;
    }
}

/* Explore More Section */
.explore-more {
    padding: 4rem 1rem;
    background-color: #f9f9f9;
    text-align: center;
    width: 100%;
}

.explore-more h2 {
    font-size: 2.5rem;
    color: var(--logo-blue);
    margin-bottom: 3rem;
    font-weight: 700;
}

.explore-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 1rem;
}

.explore-box {
    background-color: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.explore-box:hover {
    transform: translateY(-5px);
}

.explore-icon {
    width: 70px;
    height: 70px;
    background-color: #0a1172; /* Blue background */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.explore-icon img {
    width: 35px;
    height: 35px;
    object-fit: contain;
    filter: none; /* Keep original icon colors */
}

.explore-box h3 {
    font-size: 1.3rem;
    color: var(--logo-blue);
    margin-bottom: 1rem;
}

.explore-box p {
    font-size: 1rem;
    color: #666;
    line-height: 1.5;
    margin: 0;
}

@media screen and (max-width: 768px) {
    .explore-more {
        padding: 3rem 1rem;
    }

    .explore-more h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }

    .explore-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

/* Call-to-Action Section */
.cta-section {
    padding: 4rem 1rem;
    position: relative;
    text-align: center;
    background-color: #f9f9f9;
    width: 100%;
}

.cta-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.cta-background {
    background-color: #0a1172;
    border-radius: 20px;
    padding: 4rem 1rem;
    width: 85%;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.cta-text {
    flex: 1;
    text-align: left;
    color: white;
    padding: 0 2rem;
}

.cta-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #ffa500;
    font-weight: 700;
}

.cta-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
    color: #f0f0f0;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.cta-btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-align: center;
}

.become-vendor-btn {
    background-color: #ffa500;
    color: white;
}

.become-vendor-btn:hover {
    background-color: #e69500;
    transform: translateY(-2px);
}

.find-vendors-btn {
    background-color: white;
    color: var(--logo-blue);
    border: 2px solid var(--logo-blue);
}

.find-vendors-btn:hover {
    background-color: var(--logo-blue);
    color: white;
}

.cta-image {
    flex: 1;
    text-align: center;
    padding: 0 2rem;
}

.cta-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .cta-section {
        padding: 3rem 1rem;
    }

    .cta-background {
        padding: 3rem 1rem;
        width: 90%;
    }

    .cta-content {
        flex-direction: column;
        text-align: center;
        width: 90%;
    }

    .cta-text {
        text-align: center;
        padding: 0 1rem;
    }

    .cta-text h2 {
        font-size: 1.8rem;
    }

    .cta-text p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .cta-btn {
        width: 100%;
    }

    .cta-image {
        padding: 2rem 1rem 0;
    }
}

/* Footer Section */
.footer {
    background-color: var(--logo-blue);
    color: white;
    padding: 4rem 1rem 2rem;
    margin-top: 4rem;
    width: 100%;
}

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

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    width: 50px;
    height: 50px;
    margin-bottom: 1rem;
}

.footer-logo p {
    font-family: 'Carter One', cursive, sans-serif;
    font-size: 1.5rem;
    color: white;
    margin: 0;
}

.footer-links h4,
.footer-contact h4,
.footer-social h4 {
    font-size: 1.2rem;
    color: #ffa500;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 1rem;
}

.footer-links ul li a:hover {
    color: #ffa500;
}

.footer-contact p {
    margin: 0.8rem 0;
    font-size: 1rem;
    color: #f0f0f0;
}

.footer-social .social-icons {
    display: flex;
    gap: 1rem;
}

.footer-social .social-icons a {
    display: inline-block;
    transition: transform 0.3s;
}

.footer-social .social-icons img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
}

.footer-social .social-icons a:hover {
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 0.9rem;
    color: #f0f0f0;
}

/* Add media query for smaller screens */
@media (max-width: 1200px) {
    .navbar {
        padding: 1rem 3%;
    }
    
    .navbar-content {
        padding: 0 0.5rem;
    }
}

.how-it-works {
    padding: 6rem 2rem;
    background-color: #f9f9f9;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    color: #0a1172;
    margin-bottom: 3rem;
    font-weight: 700;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    padding: 0 1rem;
}

.steps-container::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 2px;
    background-color: #0a1172;
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
    background-color: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-color: #0a1172;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
}

.step-icon {
    width: 80px;
    height: 80px;
    margin: 1rem auto;
    background-color: #f0f0f0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.step-icon img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.step h3 {
    font-size: 1.5rem;
    color: #0a1172;
    margin: 1rem 0;
}

.step p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Update media query for better responsiveness */
@media (max-width: 1024px) {
    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
    }

    .steps-container::before {
        display: none;
    }

    .step {
        width: 100%;
        max-width: 400px;
    }
}

/* Add a new breakpoint for larger screens */
@media (min-width: 1025px) {
    .steps-container {
        justify-content: space-between;
        padding: 0 2rem;
    }
    
    .step {
        flex: 0 0 calc(33.333% - 2rem);
    }
}

/* Small phones */
@media screen and (max-width: 480px) {
    .hero-text h1 {
        font-size: 1.8rem;
    }

    .hero-text p {
        font-size: 0.9rem;
    }

    .step {
        padding: 1.5rem;
    }

    .step h3 {
        font-size: 1.3rem;
    }

    .step p {
        font-size: 0.85rem;
    }
}

/* Add viewport meta tag in your HTML head if not already present */

/* Coming Soon Page Styles */
.coming-soon-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0a1172;
    padding: 2rem;
}

.coming-soon-content {
    text-align: center;
    background-color: white;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    width: 100%;
}

.coming-soon-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
}

.coming-soon-content h1 {
    color: #0a1172;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.coming-soon-content p {
    color: #666;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.back-home-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #0a1172;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-home-btn:hover {
    background-color: #1a237e;
    transform: translateY(-2px);
}

@media screen and (max-width: 768px) {
    .coming-soon-content {
        padding: 2rem;
        margin: 1rem;
    }

    .coming-soon-content h1 {
        font-size: 2rem;
    }

    .coming-soon-content p {
        font-size: 1.1rem;
    }
}