/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

/* Body */
body {
    background: linear-gradient(135deg, #ffdd, #111); /* Black gradient background */
    color: #f5f5f5; /* White text for headings and labels */
    line-height: 1.6;
    min-height: 100vh;
    padding: 20px;
}

/* Headings */
h2 {
    color: #34eb9f; /* Soft green */
    text-align: center;
    margin-bottom: 15px;
    text-transform: uppercase;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 5px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
}

/* Logo Styling */
.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px; /* Space between image and text */
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.1); /* Subtle white background */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7); /* Soft shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05); /* Slight zoom on hover */
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.9); /* Deeper shadow */
}

.logo img {
    height: 60px; /* Adjust logo height */
    width: auto;
    border-radius: 50%; /* Circular logo (if desired) */
    border: 2px solid rgba(52, 168, 235, 0.8); /* Cyan border around logo */
    padding: 5px;
    background: rgba(255, 255, 255, 0.2); /* Slight background inside border */
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: rotate(10deg); /* Fun rotation effect */
}

.logo h3 {
    font-size: 1.8rem;
    font-weight: bold;
    color: #34eb9f; /* Green text for logo name */
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7); /* Soft shadow for text */
    text-transform: uppercase;
}

.logo a {
    text-decoration: none;
    display: flex;
    align-items: center;
    color: inherit;
}

.logo a:hover h3 {
    color: #34a8eb; /* Change to cyan on hover */
}

.menu {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 15px 30px;
    background: transparent;
    border: none;
    border-radius: 10px;
    /*box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);*/
    margin: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.menu:hover {
    transform: scale(1.1);
    /*box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);*/
}

.menu a {
    text-decoration: none;
    color: rgba(52, 168, 235, 0.5);
    font-family: 'Roboto', sans-serif;
    font-size: 2rem;
    font-weight: bold;
    text-shadow: 1px 1px 8px rgba(52, 235, 159, 0.7);
    /*transition: color 0.3s ease, text-shadow 0.3s ease;*/
}

.menu a:hover {
    color: rgba(80, 168, 235, 0.5);
    /*text-shadow: 1px 1px 12px rgba(255, 99, 71, 0.8);*/
}


/* Input Sections */
.input-section {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.2); /* Light blur for input sections */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

.input-section label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
    color: #fff; /* White labels for contrast */
}

input, textarea, select {
    width: 100%;
    padding: 10px 12px;
    margin-top: 5px;
    border: 1px solid rgba(255, 255, 255, 0.4); /* Subtle white border */
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.9); /* White background for inputs */
    color: #000; /* Black text inside inputs */
    font-size: 1rem;
    transition: all 0.3s ease;
}

input::placeholder, textarea::placeholder {
    color: #000; /* Black placeholder text */
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #34a8eb; /* Cyan border on focus */
    box-shadow: 0 0 8px rgba(52, 168, 235, 0.7);
}

/* Buttons */
button {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: linear-gradient(45deg, #34eb9f, #34a8eb);
    color: #000; /* Black button text */
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    font-size: 1rem;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.8);
}

/* Table Styling */
#itemsTable {
    width: 100%;
    margin: 20px 0;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
}

#itemsTable th, #itemsTable td {
    padding: 10px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

#itemsTable th {
    background: rgba(52, 168, 235, 0.5);
}

.invoice-total {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
    padding: 20px;
    width: 80%;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(52, 168, 235, 0.8);
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    color: #fff;
    font-size: 1.2rem;
}

.invoice-total h3 {
    color: #34eb9f;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    margin-bottom: 10px;
}

.invoice-total p {
    margin: 5px 0;
    color: #fff;
}

.invoice-total span {
    font-weight: bold;
    color: #34a8eb;
}

.socail{
    margin-top: 50px;
    text-align: center;
    align-items: center;
}

.wrapper {
  display: inline-flex;
  list-style: none;
}

.wrapper .icon {
  color: #000000;
  position: relative;
  background: #F0F8F8;
  border-radius: 50%;
  padding: 15px;
  margin: 10px;
  width: 50px;
  height: 50px;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip {
  position: absolute;
  top: 0;
  font-size: 14px;
  background: #ffffff;
  color: #ffffff;
  padding: 5px 8px;
  border-radius: 5px;
  box-shadow: 0 10px 10px rgba(0, 0, 0, 0.1);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .tooltip::before {
  position: absolute;
  content: "";
  height: 8px;
  width: 8px;
  background: #808080;
  bottom: -3px;
  left: 50%;
  transform: translate(-50%) rotate(45deg);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.wrapper .icon:hover .tooltip {
  top: -45px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: 1s;
}

.wrapper .icon:hover span,
.wrapper .icon:hover .tooltip {
  text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.1);
  transition: 1s;
}

.wrapper .facebook:hover,
.wrapper .facebook:hover .tooltip,
.wrapper .facebook:hover .tooltip::before {
  background: #1877f2;
  color: #ffffff;
}

.wrapper .twitter:hover,
.wrapper .twitter:hover .tooltip,
.wrapper .twitter:hover .tooltip::before {
  background: #222222;
  color: #ffffff;
}

.wrapper .instagram:hover,
.wrapper .instagram:hover .tooltip,
.wrapper .instagram:hover .tooltip::before {
  background: #e4405f;
  color: #ffffff;
}

.wrapper .linkedin:hover,
.wrapper .linkedin:hover .tooltip,
.wrapper .linkedin:hover .tooltip::before {
  background: #0a66c2;
  color: #ffffff;
}

.wrapper .youtube:hover,
.wrapper .youtube:hover .tooltip,
.wrapper .youtube:hover .tooltip::before {
  background: #cd201f;
  color: #ffffff;
}

@media only screen and (max-width: 1200px) {
  a.phone-no {
    display: none;
  }
}

@media only screen and (max-width: 1800px) {
  .pattern-overlay {
    display: none;
  }
}

.declaration,
.terms-and-conditions {
    text-align: center;
    padding: 20px;
    color: black; /* Black text color */
    margin: 20px auto;
    max-width: 80%; /* Limit the width */
    border: 2px solid black; /* Black border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.declaration p,
.terms-and-conditions p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 10px 0;
    color: black; /* Black text color */
}

.declaration strong,
.terms-and-conditions h2 {
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    color: #cccccc;
}

.terms-and-conditions h2 {
    color: #cccccc;
    font-size: 1.6rem;
    margin-bottom: 20px;
}

.terms-and-conditions p {
    color: #cccccc;
    font-size: 1rem;
}

.terms-and-conditions p {
    color: #cccccc;
    margin-bottom: 5px;
}

.declaration p{
    color: #cccccc;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1); /* Light blur */
    color: #fff;
    border-radius: 10px;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.6);
}

.footer a {
    color: #34eb9f;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.footer p {
    margin-top: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    #itemsTable th, #itemsTable td {
        font-size: 0.9rem;
        padding: 5px;
    }

    button {
        width: 100%;
        margin-top: 10px;
    }
}

/* General Styles */
body {
    font-family: 'Roboto', sans-serif;
}

/* Print Styles */
@media print {
    body {
        color: black;
        background-color: white;
        font-size: 14px;
    }

    .container {
        width: 100%;
    }

    .logo img {
        width: 150px;
        height: auto;
    }

    .menu h3 {
        font-size: 1.6rem;
        color: black;
    }

    .company-info, .client-info, .invoice, .invoice-total, .declaration, .terms-and-conditions {
        color: black; /* Black text for printing */
        margin: 0;
        padding: 0;
    }

    .company-info h2, .client-info h2, .invoice-total h3 {
        color: rgb(0, 0, 0);
        font-size: 1.5rem;
        font-weight: bold;
    }

    .input-section {
        margin-bottom: 10px;
    }

    .input-section input, .input-section textarea, .input-section select {
        color: rgb(0, 0, 0);
        background-color: white;
        border: 1px solid rgb(0, 0, 0);
        padding: 8px;
    }

    .invoice-table {
        border-collapse: collapse;
        width: 100%;
        margin-top: 20px;
    }

    .invoice-table th, .invoice-table td {
        border: 1px solid rgb(0, 0, 0);
        padding: 10px;
        text-align: center;
    }

    .invoice-total h3 {
        font-size: 1.8rem;
        color: rgb(0, 102, 204); /* Blue color for grand total */
    }

    .declaration, .terms-and-conditions {
        margin-top: 20px;
        padding: 10px;
        font-size: 1rem;
        line-height: 1.6;
    }

    .declaration strong, .terms-and-conditions h2 {
        font-weight: bold;
    }

    .terms-and-conditions p {
        font-size: 1rem;
    }

    .declaration p {
        font-size: 1.1rem;
    }

    /* Add hover effect for buttons when printed */
    button {
        background-color: rgb(0, 102, 204);
        color: white;
        border: none;
        padding: 10px 20px;
        cursor: pointer;
    }

    button:hover {
        background-color: rgb(0, 84, 163);
    }

    /* Hide non-printable elements */
    .socail, .footer, .menu, #addItemBtn {
        display: none;
    }
}

/* For screen view, to keep colors lively */
body {
    color: black;
    background-color: rgb(255, 255, 255);
}

button {
    background-color: rgb(0, 102, 204);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
}

button:hover {
    background-color: rgb(0, 84, 163);
}

@media print {
    h1, h2, h3 {
        color: black !important;
    }
}

@media print {
    .navbar, .footer, .socail {
        display: none;
    }
}
