/* styles.css */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

nav {
    background: #333;
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

nav .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

nav .menu-toggle {
    display: none;
    background: none;
    color: #fff;
    font-size: 1.5rem;
    border: none;
    cursor: pointer;
}

nav .nav-links {
    list-style: none;
    display: flex;
}

nav .nav-links li {
    margin: 0 10px;
}

nav .nav-links a {
    color: #fff;
    text-decoration: none;
}

.head {
    text-align: center;
    padding: 50px 20px;
    background: #f4f4f4;
}

main {
    padding: 20px;
}

#form-section {
    margin-bottom: 30px;
}

form label {
    display: block;
    margin-bottom: 5px;
}

form input,
form select {
    width: 100%;
    margin-bottom: 15px;
    padding: 8px;
}

form button {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
}

footer {
    text-align: center;
    padding: 20px;
    background: #333;
    color: #fff;
}

/* Responsive Navbar */
@media (max-width: 768px) {
    nav .nav-links {
        display: none;
        flex-direction: column;
        background: #333;
        position: absolute;
        top: 50px;
        width: 100%;
        z-index: 100;
    }

    nav .menu-toggle {
        display: block;
    }

    nav .nav-links.active {
        display: flex;
    }
}



#swot-analysis,
#benchmark-analysis,
#break-even,
#feedback {
    margin-top: 20px;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 8px;
}

#swot-analysis textarea,
#benchmark-form input,
#break-even-form input,
#feedback-form textarea {
    width: 100%;
    margin-top: 5px;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

#swot-display p {
    margin: 5px 0;
}

#feedback-response {
    color: green;
    font-weight: bold;
}









/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease;
}

header .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.3s ease-in-out;
}

header .nav-links.open {
    top: 60px;
}

/* Responsive Header */
@media (max-width: 768px) {
    header nav ul {
        display: none;
    }

    header .hamburger {
        display: flex;
    }

    header .nav-links {
        display: flex;
    }
}




/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 10rem 0;
    position: relative;

}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

header nav ul li a:hover {
    text-decoration: underline;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 0.3rem;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Menu */
header .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #333;
    padding: 1rem 0;
    gap: 1rem;
}

header .nav-links.open {
    display: flex;
}

/* Large Screens */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
    }

    header nav ul {
        display: flex;
    }

    header .nav-links {
        display: flex;
        flex-direction: row;
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Small Screens */
@media (max-width: 768px) {
    header .hamburger {
        display: flex;
    }

    header nav ul {
        display: none;
    }
}







/* Mobile Menu Animation */
header .nav-links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    background: #333;
    padding: 1rem 0;
    gap: 1rem;
    transition: top 0.6s ease, opacity 0.6s ease;
    /* Transition for sliding and fading */
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

header .nav-links.open {
    top: 60px;
    /* Slide down */
    opacity: 1;
    /* Make it visible */
    pointer-events: auto;
    /* Enable interaction */
}



/* Hover effect on the nav links */
header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Add a background color on hover */
    padding: 0.2rem 0.5rem;
    /* Slight padding to add space around text */
    border-radius: 5px;
}

/* Active link effect (when clicked) */
header nav ul li a.active {
    background-color: #007bff;
    /* Change background color on active */
    color: white;
    /* Change text color to white for contrast */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}






/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

header nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, padding 0.3s;
    /* Smooth transition for hover effect */
}

header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Background color change on hover */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Navigation */
header .nav-links {
    display: flex;
    /* Make the nav links visible on large screens */
    flex-direction: row;
    gap: 1.5rem;
    background: #333;
    padding: 1rem 0;
}

header .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

header .nav-links.open {
    top: 60px;
    opacity: 1;
    pointer-events: auto;
}

/* Show nav-links and hide hamburger on larger screens */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
        /* Hide hamburger */
    }

    header nav ul {
        display: flex;
        /* Make nav links visible */
    }

    header .nav-links {
        display: flex;
        /* Keep nav links visible */
        flex-direction: row;
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide nav links */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger menu */
    }

    header .nav-links {
        display: flex;
        /* Display nav links on mobile */
    }
}















/* General Styles */
body {
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

/* Header Styles */
header {
    background: #333;
    color: #fff;
    padding: 1rem 0;
    position: relative;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
header .logo h1 {
    margin: 0;
    font-size: 1.5rem;
}

/* Navbar (links) */
header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
    justify-content: flex-end;
    /* Align navbar items to the right */
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s, padding 0.3s;
    /* Smooth transition for hover effect */
}

header nav ul li a:hover {
    text-decoration: underline;
    background-color: #444;
    /* Background color change on hover */
    padding: 0.2rem 0.5rem;
    border-radius: 5px;
}

/* Hamburger Menu */
header .hamburger {
    display: none;
    flex-direction: column;
    gap: 0.3rem;
    cursor: pointer;
}

header .hamburger span {
    background: #fff;
    height: 3px;
    width: 25px;
    border-radius: 3px;
    transition: transform 0.3s ease-in-out;
}

/* Mobile Navigation */
header .nav-links {
    display: none;
    /* Hide the nav links by default on mobile */
    flex-direction: column;
    gap: 1rem;
    background: #333;
    position: absolute;
    top: -300px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    transition: top 0.6s ease, opacity 0.6s ease;
    opacity: 0;
    align-items: center;
    pointer-events: none;
    /* Prevent interaction when hidden */
}

/* When nav-links are visible (mobile menu open) */
header .nav-links.open {
    top: 60px;
    opacity: 1;
    pointer-events: auto;
}

/* Large Screens (>= 769px) */
@media (min-width: 769px) {
    header .hamburger {
        display: none;
        /* Hide hamburger on large screens */
    }

    header nav ul {
        display: flex;
        /* Show navbar links */
    }

    header .nav-links {
        display: flex;
        /* Show nav links on large screens */
        flex-direction: row;
        /* Horizontally aligned navbar items */
        position: static;
        background: none;
        gap: 1.5rem;
    }
}

/* Small Screens (<= 768px) */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide navbar links on small screens */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger on small screens */
    }

    header .nav-links {
        display: flex;
        /* Display nav links in mobile view */
    }
}
























/* General Header Styles */
header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 1.5rem;
}

/* Desktop View */
@media (min-width: 769px) {
    header .nav-links {
        display: flex;
        flex-direction: row;
        /* Horizontal layout for larger screens */
        position: static;
        gap: 1.5rem;
        background: none;
        opacity: 1;
        transform: none;
        pointer-events: auto;
        align-items: center;
        padding: 0;
    }

    header .hamburger {
        display: none;
        /* Hide hamburger on large screens */
    }
}

/* Mobile View */
@media (max-width: 768px) {
    header nav ul {
        display: none;
        /* Hide links by default */
    }

    header .hamburger {
        display: flex;
        /* Show hamburger menu for smaller screens */
        flex-direction: column;
        gap: 0.3rem;
        cursor: pointer;
    }

    header .hamburger span {
        background: #fff;
        height: 3px;
        width: 25px;
        border-radius: 3px;
        transition: transform 0.3s ease-in-out;
    }

    header .nav-links {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: -300px;
        left: 0;
        width: 100%;
        background: #333;
        padding: 1rem 0;
        gap: 1rem;
        transition: transform 0.3s ease, opacity 0.3s ease;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        align-items: center;
    }

    header .nav-links.open {
        transform: translateY(0);
        /* Slide in */
        opacity: 1;
        /* Make it visible */
        pointer-events: auto;
        /* Enable interaction */
    }
}



/* General Styles */
body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Main content area should grow to fill space */
main {
    flex: 1;
    padding: 20px;
}

/* Footer */
footer {
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px;
    position: relative;
    bottom: 0;
    /* width: 100%; */
}



.h1 {

    position: relative;
    left: 10px;

}



/* General Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

main {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

form {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 14px;
    margin-bottom: 5px;
}

input, select, button {
    font-size: 16px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    /* Adjusting form layout for smaller screens */
    main {
        width: 95%;
        padding: 15px;
    }

    form {
        flex-direction: column;
    }

    label, input, select, button {
        font-size: 14px;
    }

    /* Reduce the size of charts and make them full width on smaller screens */
    #revenue-expense-chart, #customer-growth-chart {
        max-width: 100%;
    }

    /* Adjust button width */
    button {
        width: 100%;
    }
}

/* Responsive adjustments for very small screens (mobile devices) */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }

    label, input, select, button {
        font-size: 12px;
        padding: 8px;
    }

    button {
        font-size: 14px;
    }

    /* Adjust chart size further for small screens */
    #revenue-expense-chart, #customer-growth-chart {
        max-width: 100%;
        height: 200px;
    }

    /* Full-width form elements */
    input, select {
        width: 100%;
    }
}

/* For larger screens, adjust container width */
@media (min-width: 1200px) {
    main {
        width: 80%;
    }
}



/* Responsive Form Styles */
@media (max-width: 768px) {
    #form-section form {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }

    #form-section form label,
    #form-section form input,
    #form-section form select,
    #form-section form button {
        width: 100%;
    }

    #form-section form button {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    #form-section {
        padding: 0 10px;
    }

    #form-section form label {
        font-size: 14px;
    }

    #form-section form input,
    #form-section form select {
        font-size: 14px;
        padding: 6px;
    }

    #form-section form button {
        font-size: 14px;
        padding: 8px;
    }
}
