body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #2d2d2d;
  color: #eaeaea;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  max-width: 1600px;
}

/* Light Mode--------------------------------------------- */

/* Smooth Theme Transition */
body {
  transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out;
}

body.light-mode {
  background-color: #f5f5f5; /* Soft White Background */
  color: #1a1a1a; /* Dark Gray Text */
}

/* Light Mode - Sections */

body.light-mode .navbar,
body.light-mode .footer {
  background-color: #eaeaea; /* Very Light Gray */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

body.light-mode .header-title {
  background: linear-gradient(to right, #8c6e2f, #c9a227, #ffd700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none; /* Remove dark mode shadow */
}

/* Light Mode - Sidebar */
body.light-mode .sidebar {
  background-color: #f0f0f0; /* Slightly Darker than Main BG */
  border-right: 2px solid #cccccc;
}

/* Light Mode - Content Box */
body.light-mode .content {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}

body.light-mode .company-container {
  background: white;
  border-radius: 10px;
  box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.1);
}
/* Light Mode - Text */
body.light-mode h1,
body.light-mode h2,
body.light-mode h3,
body.light-mode p {
  color: #1a1a1a; /* Dark Gray for readability */
}

/* Light Mode - Buttons */
body.light-mode .company-button {
  background: #c5a32e;
  color: #000000;
  border: 1px solid #c9a227;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1);
}

body.light-mode .company-button:hover {
  background: #c9a227;
  color: white;
  transform: scale(1.05);
}

/* Light Mode - Sidebar Links */
body.light-mode .company {
  background: #eaeaea;
  color: #1a1a1a;
  border: 1px solid #cccccc;
}

body.light-mode .company:hover {
  background: #d4af37;
  color: white;
}

body.light-mode .navbar {
  background: #eaeaea; /* Light Gray */
}

/* Light Mode - Navbar Links */
body.light-mode .nav-links a {
  color: #1a1a1a; /* Dark text */
}

body.light-mode .nav-links a:hover {
  background: #d4af37;
  color: white;
  border-radius: 5px;
}

/* Light Mode - Footer */
body.light-mode .footer {
  background: #eaeaea;
  color: #1a1a1a;
}
/*body.light-mode .sidebar {
  background: whitesmoke; /* Light mode sidebar 
  border-right: #383838;
}*/

/*main -------------------------------------------------------------------*/

.header {
  width: 100%;
  height: 200px; /* Adjust as needed */
  overflow: hidden;
  top: 0;
}

/*.top {
  background: linear-gradient(
    to bottom right,
    #d4af37,
    #000000
  ); /* Gold to Black 
  padding: 20px 0; Adjust padding as needed 
  border-radius: 10px;
}*/

/* 🔹 Top Header */
.top-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2d2d2d;
  padding: 15px 20px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* 🔹 Logo */
.header-logo {
  height: 40px;
  width: auto;
  border-top-left-radius: 45%;
  border-bottom-left-radius: 45%;
}

/* 🔹 Title */
.header-title {
  font-size: 32px; /* Increased for better visibility */
  font-weight: bold;
  text-align: center;
  flex-grow: 1;
  background: linear-gradient(
    to right,
    #ffd700,
    #c9a227,
    #8c6e2f
  ); /* Gold Gradient */
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); /* Adds depth */
  letter-spacing: 2px; /* More professional look */
  text-transform: uppercase; /* Ensures consistency */
}

/* 🔹 Theme Toggle */
.theme-toggle {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #eaeaea;
  transition: transform 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.2);
}

/* Light Mode Button */
body.light-mode .theme-toggle {
  color: #121212;
}

/* 🔹 Navbar */
.navbar {
  display: flex;

  justify-content: center; /* Centers the navbar horizontally */
  align-items: center; /* Aligns items in the middle vertically */
  background: #2d2d2d; /* Softer transition from the header */
  margin: 0 auto; /* Centers it within the parent container */
  padding-top: 5vh;
  padding-bottom: 5vh;
  width: 100%; /* Ensures full width */
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
  background: linear-gradient(to bottom right, #d4af37, #000000);
}

.close-menu {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 0;
  margin: 0;
}

.nav-links li {
  display: inline;
}

.nav-links a {
  text-decoration: none;
  color: #eaeaea;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 15px;
  transition: color 0.3s ease, background 0.3s ease;
}

.nav-links a:hover {
  background: #383838;
  color: white;
  border-radius: 5px;
}

.navbar a {
  text-decoration: none;
  color: #eaeaea;
  font-size: 18px;
  font-weight: bold;
}

/* 🔹 Layout */
.layout {
  display: flex;
  flex: 1;
  height: auto; /* Change from fixed height */
  min-height: 100vh; /* Ensure it expands */
  margin: 0;
  padding: 0;
}

.company-intro {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.05rem;
  line-height: 1.6;
  padding: 0 1rem;
  text-align: left;
}

.company-image {
  max-width: 800px;
  margin: 1.5rem auto;
  text-align: center;
}

.company-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.image-caption {
  font-size: 0.95rem;
  color: #e2e1e1;
  margin-top: 0.5rem;
}

/* 🔹 Sidebars */
.sidebar {
  width: 200px;
  background: #2d2d2d;
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100vh; /* Extends to full height */
}

/* 🔹 Company List */
.company {
  padding: 10px;
  background: #383838;
  border-radius: 5px;
  text-align: center;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 0.3s ease, background 0.3s ease;
}

.company:hover {
  background: #383838;
  transform: scale(1.05);
}

/* 🔹 Footer */
.footer {
  text-align: center;
  background: #2d2d2d;
  color: white;
  padding: 10px;
  position: relative; /* Ensures it doesn’t overlap */
  width: 100%;
  bottom: 0;
  background: linear-gradient(
    to bottom right,
    #d4af37,
    #000000
  ); /* Gold to Black */
}

.company-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  margin-top: 20px;
}

.company-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  margin-top: 20px;
}

.company-logo {
  width: 200px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.company-button {
  padding: 10px 20px;
  background-color: #2d2d2d;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  color: inherit;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
  display: inline-block;
}

.company-button:hover {
  background-color: #2d2d2d;
  transform: scale(1.05);
}

.company-video {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.company-video iframe {
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.company-description {
  width: 80%;
  margin: 20px auto;
  text-align: left;
  font-size: 18px;
  line-height: 1.6;
}

.company-description h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.4rem;
  color: #ffd700;
}

/* 🔹 Main Content */
.content {
  flex-grow: 1;
  background: #383838;
  padding: 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-height: 100vh; /* Force it to fill the full screen */
  margin: 0;
  box-shadow: none; /* Ensure no unnecessary shadows */
  border-radius: 0; /* Remove rounding that might cause gaps */
}

.company-container {
  flex-grow: 1;
  background: #383838;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  width: 70%; /* Adjust this for more or less space */
  max-width: 1200px; /* Ensures a readable layout */
  margin: 0 auto; /* Centers the content */
}

.contact-button {
  display: inline-block;
  background-color: #d4af37; /* Gold color */
  color: #000;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s ease, transform 0.2s ease;
}

.contact-button:hover {
  background-color: #c9a227; /* Slightly darker gold */
  transform: scale(1.05);
}

.company-list {
  list-style: none;
  padding: 0;
  margin-top: 20px;
}

.company-list li {
  margin: 10px 0;
  font-size: 18px;
}

.company-list a {
  text-decoration: none;
  color: #ffd700; /* Gold color for links */
  font-weight: bold;
  transition: color 0.3s ease;
}

.company-list a:hover {
  color: #c9a227; /* Slightly darker gold */
}

.footer a {
  color: #ffd700; /* Gold color for visibility */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.footer a:hover {
  color: #c9a227; /* Slightly darker gold for hover effect */
  text-decoration: underline; /* Underline on hover */
}

/* 🔹 Default: Hide the burger menu on desktop */
.burger-menu {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: #eaeaea;
  cursor: pointer;
  position: absolute;
  left: 15px;
  top: 15px;
}
.burger-menu {
  display: none;
}

.privacy-policy {
  text-align: center;
}

.privacy-policy ul {
  list-style: none;
}

/* ==================== MOBILE RESPONSIVE STYLES ==================== */

/* Default styles for larger screens */
@media screen and (max-width: 768px) {
  .top-header {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    padding: 10px 20px;
    position: relative;
  }

  .header-title {
    font-size: 1.5rem; /* Adjusted for better spacing */
    text-align: center;
    flex-grow: 1; /* Pushes elements apart */
  }

  .sidebar {
    display: none;
  }

  .content {
    flex-grow: 1;
    background: #383838;
    padding: 20px; /* Reduced padding */
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    min-height: 100vh;
    margin: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .company-description {
    padding: 10px; /* Reduced padding for mobile */
    margin: 0 auto;
    width: 100%; /* Full width on mobile */
    box-sizing: border-box;
  }

  .company-container,
  .company-content,
  .company-video {
    padding: 0px; /* Reduced padding */
    margin: 0 auto;
    width: 100%; /* Full width on mobile */
  }

  .company-title,
  .company-description h3,
  .company-description p {
    margin: 10px 0;
    padding: 0 5px; /* Smaller padding */
  }

  .company-description p {
    text-align: justify; /* Better text alignment on mobile */
  }
}

/* Prevent horizontal scrolling */
body,
html {
  overflow-x: hidden; /* Stops side scrolling */
  margin: 0;
  padding: 0;
  width: 100%;
}

/* Ensure all elements stay within the viewport */
.layout,
.content,
.navbar,
.top-header,
.footer,
iframe {
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

/* Ensure embedded YouTube videos are responsive */
iframe {
  max-width: 100%;
  height: auto;
}

.content a {
  color: #ffd700; /* Gold color for visibility */
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, text-decoration 0.3s ease;
}

.content a:hover {
  color: #c9a227; /* Slightly darker gold for hover effect */
  text-decoration: underline; /* Underline on hover */
}

h2 {
  text-align: center;
}
