*,
*::before,
*::after {
    box-sizing: border-box;
}

/* Hide the Upgrade button in TinyMCE */
.tox .tox-promotion-link,
.tox-statusbar__branding {
    display: none !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
body::-webkit-scrollbar {
    display: none;
    /* for hiding the scrollbar */
}

body {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
    overflow-y: scroll;
    /* Keep vertical scrolling */
}

/* Ensure all content is accessible for scrolling in all browsers */
html,
body {
    height: 100%;
    overflow-y: auto;
    /* Keep scrolling functionality without the scrollbar */
}

/* Reset margins and set the Poppins font as default */
body,
h1,
h2,
h3,
p,
button {
    margin: 0;
    font-family: 'Poppins', sans-serif;
}

/* General body styles */
body {
    color: #ffffff;
    /* Anthracite color */
    background-color: #2c2f33;
    line-height: 1.6;
    height: 100%;
    width: 100%;

}

/* Header styles */
header {
    background-color: #000000;
    /* Anthracite color */
    color: white;
    text-align: center;
}

a {
    color: rgb(0, 0, 0);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Main content area */
main {
    background-color: #1b1b1b;
}




.services ul {
    list-style-type: none;
    padding: 0;
}

.services li {
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.about-us,
.testimonials,
.contact-us {
    margin-top: 20px;
    padding: 20px;
    background-color: #eef;
}

blockquote {
    font-style: italic;
    color: #555;
    border-left: 3px solid #007BFF;
    margin: 20px;
    padding-left: 15px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table a {
    color: #fff;
}

table th,
table td {
    border: 1px solid #007BFF;
    padding: 8px;
    text-align: left;
}

table th {
    background-color: #000000;
}





.charts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    padding: 10%;
}

.card {
    width: 500px;
    height: 300px;
    padding: 5%;
    color: #0073e6;
}

#revenueChart {
    color: #fff;
}



/* Styling for the Welcome section */
.welcome-section {
    background-color: #1b1b1b;
    padding: 40px 20px;
    text-align: center;
    border-bottom: 5px solid #0073e6;
}

.welcome-section h2 {
    color: #0073e6;
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.welcome-section p {
    font-size: 1.2rem;
    color: #ebebeb;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

/* Styling for the Why Choose Us section */
.why-choose-us {
    background-color: #1b1b1b;
    padding: 40px 20px;
    text-align: left;
}

.why-choose-us h2 {
    color: #0073e6;
    font-size: 2rem;
    margin-bottom: 20px;
}

.why-choose-us ul {
    list-style-type: none;
    padding: 0;
    max-width: 800px;
    margin: 0 auto;
}

.why-choose-us ul li {
    background-color: #1b1b1b;
    padding: 20px;
    margin: 10px 0;
    border-left: 5px solid #0073e6;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.why-choose-us ul li strong {
    color: #333;
    font-size: 1.2rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .welcome-section h2,
    .why-choose-us h2 {
        font-size: 2rem;
    }

    .welcome-section p,
    .why-choose-us ul li {
        font-size: 1rem;
    }
}

section-a {
    width: 100%;
}

.hero {
    text-align: center;
    color: white;
    height: auto;
    /* Adjusted for visibility */
}


section-b,
section-c {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    margin: 10% 0;
    /* Dark grey background, close to anthracite */
    color: #ffffff;
    overflow-x: hidden;
}

section-e,
section-f {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-content: center;
    padding: 10% 0;
    /* Dark grey background, close to anthracite */
    color: #ffffff;
}

section-b,
section-d,
section-f {
    background: #2c2f33;
}

section-c,
section-e {
    background: #000;
}

section-d,
section-f {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;

    overflow-x: hidden;
}

section-f h2 {
    margin: 10px 0;
    position: relative;
    top: 0;
}

.admin-nav {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: center;
    padding: 10px 0;
    background-color: #000000;
}

.admin-nav ul {
    display: flex;
    list-style-type: none;
    justify-content: space-between;
}

.admin-nav li {
    padding: 10px;
}

.admin-nav a {
    color: #fff;
}

.admin-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 9;
}

.content-area {
    display: grid;
    gap: 20px;
    margin: 20px 0;
}

.template-type-1 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin: 5%;
    width: 100%;
}

.template-type-1 .label-left {
    grid-column: 1;
}

.template-type-1 .label-right {
    grid-column: 2;
}

.template-type-2 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(3, auto);
    margin: 5%;
    width: 100%;
}

.template-type-3 {
    display: grid;
    grid-template-columns: 1fr;
    margin: 5%;
    width: 100%;
}

.template-type-4 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, auto);
    margin: 5%;
    width: 100%;
}

.template-type-4 .content-area:nth-child(odd) {
    background-color: #f4f4f4;
}

.template-type-4 .label-left {
    grid-column: 1;
}

.template-type-4 .label-right {
    grid-column: 2;
}

.template-type-5 {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    margin: 5%;
    width: 100%;
}

.template-type-5 .content-area:nth-child(odd) {
    background-color: #f4f4f4;
}

.innerdiv {
    padding: 5%;
    display: grid;
    justify-content: center;
    width: 100%;
}

.page_heading {
    font-size: 1.5em;
    padding: 15px;
    margin: 5%;
    width: 100%;
    text-align: center;
}

main {
    width: 80%;
    margin: 20px auto 2% auto;
    background-color: #181818;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    display: grid;
    justify-items: center;
}

form {
    display: flex;
    flex-direction: column;
    width: 50%;
}

.manage {
    display: flex;
    flex-direction: column;
}

label {
    font-size: 16px;
    /* Larger font size for readability */
    margin-bottom: 5px;
    /* Space between label and input */
}

input[type="text"],
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #444;
    background-color: #222;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
}

.update-delete-buttons {
    text-align: center;
}

/* Button styling adjustments */
button,
.button {
    padding: 10px 20px;
    font-size: 16px;
    /* Larger font size for buttons */
    margin: 10px;
    /* Space above buttons */
    border-radius: 4px;
    border: none;
}

.update-button {
    background-color: #007bff;
    /* Blue background for update buttons */
    color: #fff;
    padding: 7px;
    border-radius: 4px;
}

.update-button-b {
    background-color: #007bff;
    color: #fff;
    padding: 10px 0;
    border-radius: 4px;
    margin: 10px 0;
}

.delete-button {
    background-color: #dc3545;
    /* Red background for delete buttons */
    color: #fff;
    padding: 7px;
    border-radius: 4px;
}

button:hover,
.button:hover {
    opacity: 0.85;
    /* Slight transparency on hover */
}

.add-new-link {
    background-color: #333;
    /* Darker background for new link section */
    margin-top: 10px;
    padding: 7px;
    border-radius: 4px;
}


.edit-button {
    background-color: #28a745;
    color: #fff;
    padding: 7px;
    border-radius: 4px;
}


.add-button {
    background-color: #007BFF;
    color: white;
    padding: 7px;
    border-radius: 4px;

}

.additional_nav {
    background-color: #000;
    width: 100%;
    border: 1px solid #007BFF;
    padding: 8px;
    text-align: right;
}

#fileButton {
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

#imageInput {
    display: none !;
    /* Hide the file input */
}

select {
    padding: 8px;
    margin-bottom: 20px;
    border: 1px solid #464646;
    border-radius: 4px;
    background-color: #222222;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

/* Style for option items */
option {
    padding: 10px;
    /* Padding inside options */
}

input[type="text"]:-webkit-autofill,
input[type="email"]:-webkit-autofill,
input[type="password"]:-webkit-autofill,
input[type="text"]:-webkit-autofill:hover,
input[type="email"]:-webkit-autofill:hover,
input[type="password"]:-webkit-autofill:hover,
input[type="text"]:-webkit-autofill:focus,
input[type="email"]:-webkit-autofill:focus,
input[type="password"]:-webkit-autofill:focus {
    border: 1px solid #444;
    -webkit-text-fill-color: #fff;
    -webkit-box-shadow: 0 0 0px 1000px #222 inset;
    transition: background-color 5000s ease-in-out 0s;
    /* Smooth transition for autofill */
}



