/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Updated colors to match WiseRetail logo */
    --primary-color: #252C5B;      /* Deep navy from logo (RGB: 37, 44, 91) */
    --secondary-color: #00A4E4;    /* Bright blue accent */
    --accent-color: #6566C4;       /* Purple accent for CTA (RGB: 101, 102, 196) */
    --hero-bg-start: #252C5B;      /* Logo navy blue */
    --hero-bg-end: #1a2347;        /* Slightly darker navy */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --gray: #6c757d;
    --spacing-xl: 100px;
    --spacing-lg: 60px;
    --spacing-md: 40px;
    --spacing-sm: 20px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-color);
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    gap: 5px;
}

.mobile-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: 0.3s;
}

/* Hero Section - Updated with logo colors */
.hero {
    background: linear-gradient(135deg, var(--hero-bg-start) 0%, var(--hero-bg-end) 100%);
    color: var(--white);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-button {
    display: inline-block;
    background: var(--accent-color);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(101, 102, 196, 0.4);
    background: #5253A8;
}

/* Brands Section */
.brands {
    background: var(--light-bg);
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.brands h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    color: var(--primary-color);
}

.brand-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.brand-logos img {
    height: 60px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s;
}

.brand-logos img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Case Studies Section */
.case-studies {
    padding: var(--spacing-xl) 0;
}

.case-studies h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-color);
}

.case-study {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.case-study:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-study h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

.case-study p {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.case-icon svg {
    width: 100px;
    height: 100px;
}

/* About Section */
.about {
    background: var(--light-bg);
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.about h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
}

.about > .container > p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.8;
    color: var(--gray);
}

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

.stat {
    background: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.stat h3 {
    font-size: 2.5rem;
    color: #806ABE;
    margin-bottom: 10px;
}

.stat p {
    font-size: 1.1rem;
    color: var(--gray);
}

/* Contact Section */
.contact {
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.contact h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.contact > .container > p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: var(--gray);
}

form {
    max-width: 600px;
    margin: 0 auto;
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

/* Footer */
footer {
    background: var(--primary-color);
    color: var(--white);
    padding: var(--spacing-lg) 0 var(--spacing-md);
}

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

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.footer-section a:hover {
    opacity: 1;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-toggle {
        display: flex;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .case-study {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .case-icon {
        order: -1;
        margin: 0 auto;
    }

    .stats {
        grid-template-columns: 1fr;
    }
    
    .brand-logos {
        gap: 30px;
    }
    
    .brand-logos img {
        height: 50px;
    }
}
