/* Nicepage CSS - Essential Styles for LMS */

.u-body {
  margin: 0;
  padding: 0;
}

.u-xl-mode {
  font-size: 16px;
}

/* Header Styles */
.u-header {
  background-color: #000;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.u-black {
  background-color: #000 !important;
}

.u-clearfix::after {
  content: "";
  display: table;
  clear: both;
}

.u-sheet {
  min-height: 1px;
  position: relative;
  margin: 0 auto;
  max-width: 1140px;
  padding-left: 20px;
  padding-right: 20px;
}

.u-sheet-1 {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* Logo Styles */
.u-logo {
  text-decoration: none;
  display: inline-block;
}

.u-image-1 {
  width: 60px;
  height: 60px;
}

.u-logo-image {
  max-width: 100%;
  height: auto;
}

.u-logo-image-1 {
  width: 60px;
  height: 60px;
}

/* Navigation Styles */
.u-menu {
  position: static;
  float: right;
}

.u-menu-one-level {
  position: relative;
}

.u-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.u-nav-item {
  position: relative;
}

.u-nav-link {
  display: block;
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  transition: color 0.3s;
}

.u-nav-link:hover {
  color: #007bff;
}

.u-text-active-palette-1-base {
  color: #fff;
}

.u-text-hover-palette-1-base:hover {
  color: #007bff;
}

/* Button Styles */
.u-btn {
  display: inline-block;
  padding: 12px 30px;
  margin: 0;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  cursor: pointer;
  border: none;
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.u-btn-round {
  border-radius: 25px;
}

.u-palette-1-base {
  background-color: #007bff;
  color: #fff;
}

.u-hover-palette-1-base:hover {
  background-color: #0056b3;
}

.u-active-palette-1-base:active {
  background-color: #004085;
}

/* Section Styles */
.u-section-1 {
  background-image: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  min-height: 500px;
  position: relative;
}

.u-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.u-shading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.u-video-cover {
  position: relative;
  overflow: hidden;
}

/* Layout Styles */
.u-layout-wrap {
  position: relative;
  z-index: 2;
}

.u-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.u-layout-row {
  display: flex;
  width: 100%;
  flex-wrap: wrap;
}

.u-layout-cell {
  flex: 1;
  padding: 20px;
}

.u-size-30 {
  flex: 0 0 50%;
  max-width: 50%;
}

.u-left-cell {
  order: 1;
}

.u-right-cell {
  order: 2;
}

.u-container-layout {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.u-valign-middle {
  justify-content: center;
  align-items: center;
}

/* Typography */
.u-text {
  margin: 0;
}

.u-text-1 {
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.u-text-2 {
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 30px;
  opacity: 0.9;
}

.u-large-text {
  font-size: 1.25rem;
}

.u-text-variant {
  font-weight: 400;
}

/* Video Styles */
.u-video {
  position: relative;
  overflow: hidden;
}

.u-background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.u-expanded {
  width: 100%;
  height: 100%;
}

.embed-responsive {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.embed-responsive-1 {
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
}

.embed-responsive-item {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.u-video-shading::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

/* Footer Styles */
.u-footer {
  background-color: #6c757d;
  color: #fff;
  padding: 40px 0;
  margin-top: auto;
}

.u-grey-80 {
  background-color: #6c757d;
}

.u-container-align-center {
  text-align: center;
}

.u-small-text {
  font-size: 0.875rem;
}

/* Mobile Menu */
.menu-collapse {
  display: none;
  float: right;
  padding: 15px;
}

.u-hamburger-link {
  color: #fff;
  text-decoration: none;
}

.u-svg-link {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.u-nav-container-collapse {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
}

.u-sidenav {
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  padding: 20px;
}

.u-opacity-95 {
  opacity: 0.95;
}

.u-menu-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
}

.u-opacity-70 {
  opacity: 0.7;
}

.u-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.u-menu-close::before,
.u-menu-close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background-color: #fff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.u-menu-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.u-nav-2 {
  flex-direction: column;
  padding-top: 60px;
}

.u-nav-2 .u-nav-item {
  margin-bottom: 10px;
}

.u-nav-2 .u-nav-link {
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 939px) {
  .u-nav-container {
    display: none !important;
  }
  
  .menu-collapse {
    display: block !important;
  }
  
  .u-size-30 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .u-text-1 {
    font-size: 2rem;
  }
  
  .u-layout-cell {
    padding: 15px;
  }
}

@media (max-width: 768px) {
  .u-text-1 {
    font-size: 1.75rem;
  }
  
  .u-text-2 {
    font-size: 1rem;
  }
  
  .u-sheet {
    padding-left: 15px;
    padding-right: 15px;
  }
}
