/* Basic styling for the business studies notes website */
body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
    background: #f7f9fc;
    color: #333;
}

header {
    background-color: #004d99;
    background-image: url('images/logo_real.jpg');
    background-repeat: no-repeat;
    background-position: 10px center;
    background-size: auto 60px;
    color: #fff;
    padding: 20px 10px 20px 90px;
    text-align: left;
    display: flex;
    align-items: center;
}

nav {
    background: #e6f0ff;
    padding: 10px;
    border-bottom: 1px solid #ccddee;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
}

/* top-level navigation items */
nav ul li {
    margin-right: 15px;
    position: relative;
}

nav ul li a {
    color: #004d99;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* dropdown menu styling */
nav ul li ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #e6f0ff;
    border: 1px solid #ccddee;
    padding: 10px;
    list-style: none;
    margin: 0;
    z-index: 1000;
    min-width: 140px;
}

nav ul li:hover > ul {
    display: block;
}

nav ul li ul li {
    margin: 0;
}

/* button styling */
.btn {
    display: inline-block;
    background: #004d99;
    color: #fff;
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
}

.btn:hover {
    background: #003366;
}

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

h2 {
    color: #004d99;
    margin-top: 0;
}

footer {
    background: #004d99;
    color: #fff;
    text-align: center;
    padding: 10px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

@media (max-width: 600px) {
    nav ul {
        flex-direction: column;
    }
    nav ul li {
        margin-bottom: 8px;
    }
    footer {
        position: relative;
    }
}
/* Floating WhatsApp contact button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 1000;
    cursor: pointer;
}

header h1 {
    margin-left: auto;
    margin-right: 20px;
    text-align: right;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2rem;
}
