
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.chart img {
  width: 100%;
  max-width: 600px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease-in-out, filter 0.3s ease-in-out;
}

.chart {
  position: relative;
  text-align: center;
  margin: 20px 0;
}

.chart p {
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-top: 10px;
}

.chart img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}



.branding {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  padding: 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.branding .logo {
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
  object-position: center;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.branding .logo:hover {
  transform: scale(1.1);
}

.branding .company-name {
  font-size: 2rem;
  margin: 0;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.branding .header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.branding button {
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.branding button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
  background: rgba(255, 255, 255, 0.3);
}


header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

header button {
  padding: 10px 20px;
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-size: 1rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  margin: 0 5px;
}

header button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}


#sidebar {
  display: block;
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1001;
  overflow-y: auto;
  transition: left 0.3s ease-in-out;
}

#sidebar.active {
  left: 0;
}

#closeSidebar {
  position: absolute;
  top: 10px;
  right: 10px;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

#sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 40px;
}

#sidebar li {
  margin: 15px 0;
}

#sidebar a {
  text-decoration: none;
  color: #333;
  font-size: 1.1rem;
  padding: 10px 20px;
  display: block;
  transition: color 0.3s ease, background 0.3s ease;
}

#sidebar a:hover {
  color: #6a11cb;
  background: rgba(106, 17, 203, 0.1);
}


main {
  padding: 20px;
  margin-top: 20px;
}

section {
  display: none; 
}

section.active {
  display: block; 
}


footer {
  padding: 20px;
  background: rgba(40, 40, 60, 0.9);
  color: #f0f0f0;
  text-align: center;
  margin-top: 40px;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-section {
  flex: 1;
  min-width: 200px;
}

.footer-section h2 {
  margin-bottom: 10px;
  color: #6a11cb;
}

.footer-section p, .footer-section ul {
  margin: 0;
}

.footer-section ul {
  padding-left: 20px;
}

.footer-section a {
  color: #6a11cb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #2575fc;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  padding-top: 10px;
  border-top: 1px solid #444;
}


body.dark-mode {
  background: linear-gradient(135deg, #1e1e2f, #2a2a40);
  color: #f0f0f0;
}

body.dark-mode header {
  background: rgba(40, 40, 60, 0.9);
}

body.dark-mode footer {
  background: rgba(30, 30, 50, 0.9);
}

body.dark-mode #sidebar {
  background: rgba(50, 50, 70, 0.9);
}

body.dark-mode #sidebar a {
  color: #f0f0f0;
}

body.dark-mode #sidebar a:hover {
  color: #6a11cb;
}

button {
  padding: 12px 24px;
  border: solid;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.calculator-btn {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: 2px solid transparent;
  margin: 10px 5px;
}

.calculator-btn:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(106, 17, 203, 0.3);
}

.calculator-btn:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(106, 17, 203, 0.2);
}


#menuToggle {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: 2px solid transparent;
}

#menuToggle:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(106, 17, 203, 0.3);
}

#menuToggle:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(106, 17, 203, 0.2);
}


#closeSidebar {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #6a11cb;
  cursor: pointer;
  transition: color 0.3s ease;
}

#closeSidebar:hover {
  color: #2575fc;
}


#themeToggle {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: 2px solid transparent;
}

#themeToggle:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(106, 17, 203, 0.3);
}

#themeToggle:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(106, 17, 203, 0.2);
}


#languageToggle {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
  color: white;
  border: 2px solid transparent;
}

#languageToggle:hover {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(106, 17, 203, 0.3);
}

#languageToggle:active {
  transform: translateY(0);
  box-shadow: 0 4px 6px rgba(106, 17, 203, 0.2);
}


body.dark-mode button {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

body.dark-mode .calculator-btn,
body.dark-mode #menuToggle,
body.dark-mode #themeToggle,
body.dark-mode #languageToggle {
  background: linear-gradient(135deg, #2575fc, #6a11cb);
}

body.dark-mode .calculator-btn:hover,
body.dark-mode #menuToggle:hover,
body.dark-mode #themeToggle:hover,
body.dark-mode #languageToggle:hover {
  background: linear-gradient(135deg, #6a11cb, #2575fc);
}