body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* HEADER */
.header {
    background: #1f3a5f; /* deep blue */
    color: white;
}

/* NEW HEADER STRUCTURE */
.top-header {
    width: 100%;
}

/* BRAND BAR */
.brand-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 20px;
}

.brand-bar img {
    height: 60px;
    position: absolute;
    left: 20px;
}

.brand-bar h1 {
    font-size: 32px;
    margin: 0;
    color: #111;
    text-align: center;
}

.logo-bg {
    width: 320px;
    height: 240px;
    background: url('../images/logo.png') no-repeat center;
    background-size: contain;
    position: absolute;
    left: 20px;
}

/* NAV BAR */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f3a5f;
    padding: 20px 20px;
}

/* ADDED: SUPPORT FOR CURRENT HEADER STRUCTURE */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #1f3a5f;
    padding: 20px 20px;
}

/* NAV LEFT */
.nav-left a {
    color: white;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
}

/* NAV RIGHT BUTTON */
.contact-btn {
    background: #28a745;
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
}

.contact-btn:hover {
    background: #218838;
}

/* KEEP EXISTING NAV SUPPORT (SAFE) */
.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header nav {
    display: flex;
    align-items: center;
}

/* BUTTON */
.btn {
    background: #28a745;
    padding: 8px 15px;
    border-radius: 5px;
}

/* LOGO (CLEANED) */
.logo {
    display: flex;
    align-items: center;
}

/* HERO */
.hero {
    background: url('../images/banner.png') no-repeat center center;
    background-size: cover;
    color: black;
    text-align: center;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-size: 20px;
    margin: 0;
}

.cta {
    display: inline-block;
    margin-top: 20px;
    background: #28a745;
    padding: 12px 25px;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.hero-small {
    padding: 0px 20px;
}

/* SERVICES */
.services {
    padding: 50px 0;
    text-align: center;
}

.cards {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

.card {
    background: #f4f4f4;
    padding: 20px;
    flex: 1;
}

/* TESTIMONIAL */
.testimonials {
    background: #eee;
    padding: 50px 0;
    text-align: center;
}

/* FOOTER */
.footer {
    background: #111;
    color: white;
    padding: 30px 0;
}

.footer-columns {
    display: flex;
    justify-content: space-between;
}

.footer a {
    color: #ccc;
    text-decoration: none;
}

.copyright {
    text-align: center;
    margin-top: 20px;
}

.contact-form {
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
}

.contact-form input,
.contact-form textarea {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.contact-form label {
    text-align: left;
    display: block;
}

* {
    box-sizing: border-box;
}

.storefront {
    padding: 60px 20px;
    text-align: center;
}

.storefront-intro {
    max-width: 700px;
    margin: 10px auto 40px;
    font-size: 18px;
}

.pricing {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.price-box {
    background: #f4f4f4;
    padding: 30px;
    border-radius: 8px;
    width: 320px;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.price-box .cta {
    margin-top: 20px;
}

.price-box h3 {
    margin-top: 0;
}

.price {
    font-size: 28px;
    margin: 10px 0;
}

.price-sub {
    margin-bottom: 15px;
}

.price-box ul {
    text-align: left;
    padding-left: 20px;
}

.note {
    font-size: 14px;
    margin: 15px 0;
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.demo-card {
    background: #f4f4f4;
    padding: 20px;
    border-radius: 8px;
}

.demo-card h3 {
    margin-top: 0;
}

.cta-small {
    display: inline-block;
    margin: 5px;
    padding: 8px 14px;
    background: #28a745;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
}

.pricing-section {
    padding: 50px 20px;
    text-align: center;
}

.pricing-title {
    font-size: 28px;
    margin-bottom: 30px;
}

.pricing-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-card {
    background: #f4f4f4;
    padding: 25px;
    width: 300px;
    border-radius: 10px;
}

.monthly {
    margin-bottom: 20px;
    color: #555;
}

/* NAV FIX */
.nav-wrapper {
    position: relative;
}

/* hamburger hidden on desktop */
.menu-toggle {
    display: none;
    font-size: 28px;
    cursor: pointer;
}

/* CLICKABLE SOCIAL ICONS */
.social-icon {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: block;
    width: 32px;
    height: 32px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    text-decoration: none;
}

.social-facebook {
    right: 54px;
    background-image: url('../images/facebook.png');
}

.social-instagram {
    right: 20px;
    background-image: url('../images/instagram.png');
}

/* MOBILE */
@media (max-width: 768px) {

    /* FIX LOGO BREAKING LAYOUT */
    .brand-bar {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .brand-bar img {
        position: static;
        margin-bottom: 10px;
    }

    .brand-bar h1 {
        font-size: 28px;
    }

    .logo-bg {
        position: static;
        width: 140px;
        height: 70px;
        margin-bottom: 10px;
    }

    /* SHOW HAMBURGER */
    .menu-toggle {
        display: block;
        text-align: right;
        padding: 10px 15px;
        background: #1f3a5f;
        color: white;
    }
    
    
    /* HIDE NAV UNTIL TOGGLED */
    .nav {
        display: none;
        flex-direction: column;
        align-items: center;
        background: #1f3a5f;
        padding: 10px 0;
        width: 100%;
    }

    .nav.active {
        display: flex;
    }

    /* MOBILE NAV STACK */
    .main-nav {
        flex-direction: column;
        gap: 10px;
    }

    .nav-left,
    .nav-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .nav-left a,
    .nav-right a,
    .nav a {
        color: white;
        text-decoration: none;
        margin: 5px 0;
        padding: 12px;
        display: block;
        text-align: center;
        width: 100%;
        font-weight: 500;
    }

    /* CONTACT BUTTON BECOMES NORMAL NAV LINK ON MOBILE */
    .nav-right {
        margin-top: 0;
    }

    .contact-btn {
        background: transparent;
        color: white;
        padding: 12px;
        border-radius: 0;
        font-weight: 500;
        width: 100%;
        text-align: center;
    }

    /* STORE FRONT MOBILE FIX */
    .storefront {
        padding: 20px 10px;
    }

    .storefront .container {
        max-width: 100%;
        margin: 0 auto;
        padding: 0 15px;
    }

    .pricing {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .price-box {
        background: #f4f4f4;
        width: 100%;
        max-width: 340px;
        padding: 20px;
        border-radius: 10px;
        text-align: center;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        margin: 0 auto;
    }

    .price-box ul {
        text-align: left;
        padding-left: 20px;
    }

    .price-box .cta {
        display: block;
        width: 100%;
        text-align: center;
        margin: 20px auto 0 auto;
    }

    .demo-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 30px;
    }

    .demo-card {
        width: 100%;
        max-width: 340px;
        padding: 20px;
        background: #f4f4f4;
        border-radius: 10px;
        text-align: center;
        margin: 10px auto;
    }

    .cta-small {
        display: block;
        margin: 5px 0;
    }

    /* STACK CARDS */
    .cards {
        flex-direction: column;
    }

    .card {
        width: 100%;
    }

    /* HERO */
    .hero {
        height: 90px;
    }

    .hero h1 {
        font-size: 16px;
        padding: 0 10px;
    }

    /* FOOTER STACK */
    .footer-columns {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .social-icon {
        top: auto;
        transform: none;
        width: 24px;
        height: 24px;
    }

    .social-facebook {
        right: 54px;
        top: 15px;
    }

    .social-instagram {
        right: 20px;
        top: 15px;
    }
}