/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Helvetica', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Container */
.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.header {
  background: #fff;
  border-bottom: 1px solid #e0e0e0;
  padding: 1rem 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.header.sticky {
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.header-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.logo-link {
  display: inline-block;
}

.logo {
  max-height: 50px;
  width: auto;
}

.company-name {
  font-family: "Times New Roman", Times, serif;
  color: #D00000;
  font-size: 2.3rem;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
  letter-spacing: -0.5px;
}

/* Navigation */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-grow: 1;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}

.nav-list li {
  position: relative;
}

.nav-list a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 1.25rem;
  display: block;
  white-space: nowrap;
  background: linear-gradient(135deg, #fff, #f0f0f0);
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.nav-list a:hover {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.nav-list a.active {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  list-style: none;
  min-width: 200px;
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  z-index: 1000;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu a {
  padding: 0.75rem 1.25rem;
  color: #000;
  background: none;
  box-shadow: none;
}

.dropdown-menu a:hover {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #000;
  cursor: pointer;
}

/* Slideshow */
.slideshow {
  position: relative;
  margin: 2rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.slides {
  position: relative;
  overflow: hidden;
}

.slide {
  display: none;
  width: 100%;
  height: auto;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.slide.active {
  display: block;
  opacity: 1;
}

.prev-slide, .next-slide {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  font-size: 1rem;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .prev-slide, .next-slide {
    display: none;
  }
}

.prev-slide:hover, .next-slide:hover {
  background: linear-gradient(135deg, #333, #666);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.prev-slide {
  left: 1rem;
}

.next-slide {
  right: 1rem;
}

/* Content */
.content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-weight: 600;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* Maintains 16:9 aspect ratio */
  height: 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  overflow: hidden; /* Ensures content stays within rounded corners */
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Remove any default iframe border */
}

/* Sidebar */
.sidebar {
  margin: 2rem 0;
}

.tab-list {
  list-style: none;
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.tab-button {
  background: linear-gradient(135deg, #fff, #f0f0f0);
  padding: 0.75rem 1.25rem;
  font-weight: 500;
  color: #000;
  cursor: pointer;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tab-button:hover {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.tab-button.active {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
}

.tab-content {
  display: none;
  padding: 1.5rem;
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.tab-content.active {
  display: block;
}

.tab-content img {
  max-width: 150px;
  height: auto;
  margin-bottom: 1rem;
  border-radius: 4px;
}

.tab-content h2 {
  font-size: 1.25rem;
  color: #000;
  margin-bottom: 1rem;
}

.tab-content p, .tab-content ul {
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #000, #333);
  color: #fff;
  padding: 2rem 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.footer-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
}

.footer-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
  border-radius: 4px;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .company-name {
    font-size: 1.0rem;
  }

  .nav {
    justify-content: flex-end;
  }

  .nav-list.active {
    display: flex;
  }

  .nav-list a {
    width: 100%;
    text-align: center;
    margin: 0.25rem 0;
  }

  .menu-toggle {
    display: block;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    width: 100%;
  }

  .slideshow {
    margin: 1.5rem 0;
  }

  .content h1 {
    font-size: 1.75rem;
  }

  .sidebar {
    margin-top: 0;
  }

  .tab-list {
    flex-wrap: wrap;
  }
}