:root {
  --primary-color: #1a237e;
  --secondary-color: #0d47a1;
  --accent-color: #ffc107;
  --text-color: #333;
  --light-bg: #f5f5f5;
  --gradient-primary: linear-gradient(135deg, #1a237e 0%, #0d47a1 100%);
  --gradient-dark: linear-gradient(135deg, #0d1b4a 0%, #1a237e 100%);
  --gradient-accent: linear-gradient(135deg, #ffd54f 0%, #ffc107 100%);
  --blue-color: #2196f3;
}

/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  overflow-x: hidden;
}

/* Enhanced Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideIn {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Enhanced Navigation */
.navbar {
  background: transparent !important;
  padding: 1.5rem 0;
  transition: all 0.3s ease;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar.scrolled {
  background: var(--gradient-dark) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-weight: 700;
  display: flex;
  align-items: center;
  font-size: 1.5rem;
}

.navbar-brand img {
  height: 50px;
  margin-right: 15px;
  transition: transform 0.3s ease;
}

.navbar-brand:hover img {
  transform: scale(1.05);
}

.navbar-toggler {
  border: 2px solid rgba(255,255,255,0.5);
  padding: 0.5rem;
  transition: all 0.3s ease;
}

.navbar-toggler:focus {
  outline: none;
  box-shadow: none;
}

.navbar-toggler:hover {
  border-color: var(--accent-color);
}

.navbar-collapse {
  transition: all 0.3s ease;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem !important;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 2px;
  background: var(--accent-color);
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: translateX(-50%) scaleX(1);
}

.nav-link:hover {
  color: var(--accent-color) !important;
}

/* Additional Header Styles */
.brand-text {
  background: linear-gradient(45deg, #fff, #ffc107);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}

.nav-btn {
  border-width: 2px;
  padding: 8px 20px;
  margin-left: 15px;
}

.nav-btn:hover {
  background: white;
  color: var(--primary-color) !important;
}

/* Enhanced Hero Styles */
.hero-section {
  position: relative;
  min-height: 100vh;
  color: white;
  padding: 200px 0 120px;
  overflow: hidden;
  background: linear-gradient(rgba(26, 35, 126, 0.9), rgba(13, 71, 161, 0.9)), url('../img/img12.jpg') center/cover no-repeat fixed;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 2rem;
}

.hero-content .text-warning {
  color: var(--accent-color) !important;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-content .lead {
  font-size: 1.5rem;
  font-weight: 300;
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 150px 0 100px;
    background-attachment: scroll;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.2rem;
  }
}

.hero-buttons {
  margin: 3rem 0 4rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-buttons .btn {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  letter-spacing: 1.5px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  min-width: 200px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.hero-buttons .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.hero-buttons .btn-warning {
  background: var(--gradient-accent);
  border: none;
  color: var(--primary-color);
  font-weight: 600;
}

.hero-buttons .btn-outline-light {
  border-width: 2px;
  position: relative;
  overflow: hidden;
}

.hero-buttons .btn-outline-light::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.hero-buttons .btn-outline-light:hover::before {
  transform: translateX(0);
}

.hero-stats {
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
  padding: 1.5rem;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-item p {
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.9;
}

.hero-shape {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 150px;
  background: linear-gradient(to bottom right, transparent 49%, white 50%);
}

/* Scroll Animation for Navbar */
.navbar {
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: var(--gradient-dark) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Enhanced Image Slider */
.slider-container {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slider img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.slider-controls {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.slider-dot.active {
  background: white;
  transform: scale(1.2);
}

/* Enhanced Cards */
.custom-card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background: white;
  overflow: hidden;
  position: relative;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.custom-card:hover::before {
  transform: scaleX(1);
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-body {
  padding: 2.5rem;
}

.card-icon {
  font-size: 3.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.custom-card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Enhanced Buttons */
.btn {
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.1);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

.btn-warning {
  background: var(--gradient-accent);
  border: none;
  color: var(--primary-color);
  font-weight: 600;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 193, 7, 0.3);
}

/* Enhanced Gallery */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  margin-bottom: 30px;
}

.gallery-item img {
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Enhanced Contact Section */
.contact-info {
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info i {
  color: var(--primary-color);
  margin-right: 15px;
  font-size: 1.5rem;
}

/* Enhanced Footer */
.footer {
  background: var(--gradient-dark);
  color: white;
  padding: 5rem 0 4rem;
  margin-top: 4rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to top right, transparent 49%, white 50%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    padding: 150px 0 80px;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.2rem;
  }
  
  .slider img {
    height: 300px;
  }
  
  .navbar {
    background: var(--gradient-dark) !important;
    padding: 1rem 0;
  }
}

/* Animation Classes */
.animate-in {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

/* Floating Animation for Elements */
.float {
  animation: float 3s ease-in-out infinite;
}

/* Add this script to your HTML file */
<script>
window.addEventListener('scroll', function() {
  const navbar = document.querySelector('.navbar');
  if (window.scrollY > 50) {
    navbar.classList.add('scrolled');
  } else {
    navbar.classList.remove('scrolled');
  }
});
</script>

/* Responsive Navigation */
@media (max-width: 991px) {
  .navbar-collapse {
    background: var(--gradient-dark);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  }

  .nav-link {
    padding: 1rem 1.5rem !important;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-link:last-child {
    border-bottom: none;
  }

  .nav-btn {
    margin: 1rem 0;
    width: 100%;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .hero-buttons .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-color);
  z-index: 1001;
  transition: width 0.2s ease;
}

/* Enhanced Section Headers */
.section-header {
  position: relative;
  margin-bottom: 4rem;
  text-align: center;
}

.section-header::after {
  content: '';
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
}

/* Enhanced List Items */
.feature-list li {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(10px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-list .material-icons {
  font-size: 1.8rem;
  margin-right: 1rem;
  color: var(--blue-color);
  background: rgba(33, 150, 243, 0.1);
  padding: 8px;
  border-radius: 50%;
}

/* Enhanced Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent 0%, rgba(0,0,0,0.7) 100%);
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Enhanced Cards */
.custom-card {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: white;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.custom-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.custom-card:hover::before {
  transform: scaleX(1);
}

.custom-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(26, 35, 126, 0.1);
  transition: all 0.3s ease;
}

.custom-card:hover .card-icon-wrapper {
  transform: rotateY(180deg);
  background: var(--gradient-primary);
}

.custom-card:hover .card-icon {
  color: white;
  transform: rotateY(180deg);
}

/* Enhanced Stats */
.stat-item {
  position: relative;
  padding: 2rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.15);
}

.stat-item h3 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-item p {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  margin: 0;
}

/* Enhanced Contact Section */
.contact-info {
  position: relative;
  overflow: hidden;
  background: white;
  padding: 3rem;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.contact-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.03;
  z-index: 0;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.contact-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26, 35, 126, 0.1);
  border-radius: 50%;
  margin-right: 1rem;
  transition: all 0.3s ease;
}

.contact-item:hover .contact-icon {
  background: var(--gradient-primary);
  color: white;
}

/* Floating Animation */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.float-animation {
  animation: float 3s ease-in-out infinite;
}

/* Wave Animation */
.wave-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-shape svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.wave-shape .shape-fill {
  fill: #FFFFFF;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .section-header h2 {
    font-size: 2rem;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    padding: 1rem;
  }

  .stat-item h3 {
    font-size: 2.5rem;
  }

  .contact-info {
    padding: 2rem;
  }
}

/* Add smooth scrolling */
html {
  scroll-behavior: smooth;
}

/* Enhanced Feature List */
.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  transform: translateX(0);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
  border-left: 4px solid var(--blue-color);
}

.feature-list li:hover {
  border-left-color: var(--accent-color);
}

.feature-list li:hover .material-icons {
  background: var(--gradient-accent);
  color: var(--primary-color);
}

/* Enhanced Section Transitions */
.section-header::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--gradient-accent);
  opacity: 0.1;
  border-radius: 50%;
  z-index: -1;
}

/* Card Hover Effects */
.custom-card .card-body {
  position: relative;
  z-index: 1;
}

.custom-card .card-body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
  border-radius: 15px;
}

.custom-card:hover .card-body::before {
  opacity: 0.03;
}

.custom-card:hover .card-title {
  color: var(--primary-color);
}

/* Enhanced Stats Animation */
.stat-item {
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
  transform: rotate(45deg);
  transition: all 0.8s ease;
}

.stat-item:hover::before {
  transform: rotate(90deg);
}

/* Pulse Animation for CTAs */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.hero-buttons .btn-warning {
  animation: pulse 2s infinite;
}

.hero-buttons .btn-warning:hover {
  animation: none;
}

/* Enhanced Gallery Interaction */
.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 1;
}

.gallery-item:hover::before {
  opacity: 0.3;
}

.gallery-item::after {
  content: 'View';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  color: white;
  font-weight: 500;
  letter-spacing: 1px;
  z-index: 2;
  transition: all 0.3s ease;
  opacity: 0;
}

.gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* Enhanced Contact Section */
.contact-info {
  position: relative;
  overflow: hidden;
}

.contact-info::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 150px;
  height: 150px;
  background: var(--gradient-accent);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(50%, 50%);
  z-index: 0;
}

.contact-item {
  position: relative;
  z-index: 1;
}

/* Smooth Scroll Behavior */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Enhanced Mobile Experience */
@media (max-width: 768px) {
  .feature-list li {
    transform: none;
    margin-bottom: 0.75rem;
  }
  
  .feature-list li:hover {
    transform: none;
  }
  
  .gallery-item::after {
    content: '';
  }
  
  .contact-info::after {
    width: 100px;
    height: 100px;
  }
}

/* Loading Animation */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.loading.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: var(--accent-color);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Enhanced Footer */
.footer {
  position: relative;
  overflow: hidden;
}

.footer::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: var(--gradient-accent);
  opacity: 0.1;
  border-radius: 50%;
  transform: translate(50%, -50%);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  transform: translateY(-5px);
}

/* Enhanced Navigation Dropdown */
.dropdown-menu {
  background: var(--gradient-dark);
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.dropdown-item:hover {
  background: rgba(255,255,255,0.1);
  color: var(--accent-color);
}

/* Text Selection */
::selection {
  background: var(--accent-color);
  color: var(--primary-color);
}

/* Auth Section Styles */
.auth-section {
  position: relative;
  min-height: 100vh;
  background: var(--gradient-dark);
  color: white;
  padding: 120px 0 80px;
  overflow: hidden;
}

.auth-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../img12.jpg') center/cover;
  opacity: 0.1;
  z-index: 0;
}

.auth-section .container {
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1140px;
}

.auth-form {
  position: relative;
  max-width: 100%;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1;
}

.auth-form .section-title {
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

/* Enhanced Form Styles */
.form-section {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 0;
}

.form-section .row {
  margin-left: -10px;
  margin-right: -10px;
}

.form-section .col-md-6 {
  padding-left: 10px;
  padding-right: 10px;
}

.form-section:hover {
  background: rgba(255, 255, 255, 0.8);
}

.form-section h4 {
  color: var(--primary-color);
  font-weight: 600;
  position: relative;
  padding-left: 15px;
}

.form-section h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 20px;
  background: var(--gradient-accent);
  border-radius: 2px;
}

.floating-label {
  position: relative;
  margin-bottom: 2rem;
}

.floating-label label {
  position: absolute;
  top: -12px;
  left: 12px;
  padding: 2px 8px;
  background-color: white;
  font-size: 0.9rem;
  color: var(--primary-color);
  transition: all 0.2s ease-out;
  transform-origin: 0 0;
  margin: 0;
  z-index: 1;
  border-radius: 4px;
}

.floating-label .form-control {
  height: auto;
  padding: 1.2rem 0.75rem 0.8rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 8px;
}

.floating-label .form-control:focus ~ label,
.floating-label .form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-24px) scale(0.85);
  background-color: white;
  padding: 2px 8px;
  color: var(--primary-color);
}

.form-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0.6;
  transition: all 0.3s ease;
  pointer-events: none;
}

.floating-label .form-control:focus ~ .form-icon {
  opacity: 1;
}

/* Profile Upload Styles */
.profile-upload {
  max-width: 400px;
  margin: 0 auto;
}

.profile-preview {
  width: 150px;
  height: 150px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--primary-color);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.profile-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.custom-file {
  max-width: 300px;
  margin: 0 auto;
}

.custom-file-input:focus ~ .custom-file-label {
  border-color: var(--primary-color);
  box-shadow: none;
}

.custom-file-label {
  border-radius: 50px;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

.custom-file-label::after {
  border-radius: 0 50px 50px 0;
  background: var(--gradient-primary);
  color: white;
}

/* Form Check Styles */
.form-check {
  padding-left: 2rem;
}

.form-check-input {
  margin-left: -2rem;
  margin-top: 0.3rem;
}

.form-check-label {
  font-size: 0.9rem;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* Select Styles */
select.form-control {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  padding-right: 2.5rem;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .auth-form {
    padding: 2.5rem;
  }
  
  .form-section {
    padding: 2rem;
  }
}

@media (max-width: 767px) {
  .auth-section {
    padding: 100px 0 60px;
  }

  .auth-section .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .auth-form {
    padding: 1.5rem;
  }

  .form-section {
    padding: 1.5rem;
  }

  .form-section .row {
    margin-left: -8px;
    margin-right: -8px;
  }

  .form-section .col-md-6 {
    padding-left: 8px;
    padding-right: 8px;
  }
}

@media (max-width: 576px) {
  .auth-section {
    padding: 80px 0 40px;
  }

  .auth-section .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .auth-form {
    padding: 1.25rem;
  }

  .form-section {
    padding: 1.25rem;
  }

  .form-section .row {
    margin-left: -5px;
    margin-right: -5px;
  }

  .form-section .col-md-6 {
    padding-left: 5px;
    padding-right: 5px;
  }
}

/* Terms and Submit Section */
.form-section:last-child {
  margin-bottom: 0;
}

.btn-lg {
  max-width: 100%;
  width: 100%;
  padding: 1rem 2rem;
}

/* Auth Button Styles */
.auth-form .btn {
  padding: 1rem 2rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.auth-form .btn-outline-primary {
  border-width: 2px;
}

.auth-form .btn-outline-primary:hover {
  background: var(--gradient-primary);
  border-color: transparent;
}

/* Form Links */
.auth-form a {
  color: var(--primary-color);
  transition: all 0.3s ease;
}

.auth-form a:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Enhanced Mobile Responsiveness for Auth Pages */
@media (max-width: 768px) {
  /* Auth Form Adjustments */
  .auth-section {
    padding: 100px 15px 60px;
  }

  .auth-form {
    padding: 1.5rem;
    margin: 0;
    width: 100%;
    max-width: 100%;
  }

  /* Container Width Adjustments */
  .container {
    padding-right: 15px;
    padding-left: 15px;
    width: 100%;
    max-width: 100%;
  }

  .row {
    margin-left: 0;
    margin-right: 0;
  }

  .col-md-6, 
  .col-lg-5,
  .col-lg-8 {
    padding-left: 0;
    padding-right: 0;
  }

  /* Form Section Full Width */
  .form-section {
    padding: 1rem;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .auth-form .section-title {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
  }

  .auth-form p.text-muted {
    font-size: 0.9rem;
  }

  /* Input Field Adjustments */
  .floating-label .form-control {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .floating-label label {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .floating-label .form-control:focus ~ label,
  .floating-label .form-control:not(:placeholder-shown) ~ label {
    transform: scale(0.85) translateY(-2rem);
    font-size: 0.9rem;
  }

  .form-icon {
    font-size: 1.2rem;
  }

  /* Profile Upload Adjustments */
  .profile-preview {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
  }

  .custom-file-label {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }

  /* Button Adjustments */
  .auth-form .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn i.material-icons {
    font-size: 1.2rem;
  }

  /* Form Text Adjustments */
  .form-text {
    font-size: 0.8rem;
  }

  .form-check-label {
    font-size: 0.85rem;
  }

  /* Select Dropdown Adjustments */
  select.form-control {
    font-size: 0.95rem;
    padding: 0.75rem;
    background-size: 12px 9px;
  }

  /* Spacing Adjustments */
  .form-group {
    margin-bottom: 1rem;
  }

  .row {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }

  .col-md-6 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }

  /* Footer Adjustments */
  .footer {
    margin-top: 2rem;
    padding: 2rem 0;
  }

  .footer h5 {
    font-size: 1.1rem;
  }

  .footer p {
    font-size: 0.9rem;
  }
}

/* Additional Small Screen Adjustments */
@media (max-width: 375px) {
  .auth-form {
    padding: 1.25rem;
    margin: 0;
    width: 100%;
  }

  .container {
    padding-right: 10px;
    padding-left: 10px;
  }

  .auth-form .section-title {
    font-size: 1.5rem;
  }

  .form-section h4 {
    font-size: 1.1rem;
  }

  .floating-label .form-control,
  .floating-label label {
    font-size: 0.9rem;
  }

  .btn {
    font-size: 0.9rem;
  }
}

/* Enhanced Form Field Spacing */
.floating-label {
  position: relative;
  margin-bottom: 2rem;
}

.floating-label label {
  position: absolute;
  top: -12px;
  left: 12px;
  padding: 2px 8px;
  background-color: white;
  font-size: 0.9rem;
  color: var(--primary-color);
  transition: all 0.2s ease-out;
  transform-origin: 0 0;
  margin: 0;
  z-index: 1;
  border-radius: 4px;
}

.floating-label .form-control {
  height: auto;
  padding: 1.2rem 0.75rem 0.8rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
  font-size: 1rem;
  line-height: 1.5;
  margin-top: 8px;
}

.floating-label .form-control:focus ~ label,
.floating-label .form-control:not(:placeholder-shown) ~ label {
  transform: translateY(-24px) scale(0.85);
  background-color: white;
  padding: 2px 8px;
  color: var(--primary-color);
}

/* Form Group Spacing */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

/* Select Field Adjustments */
select.form-control {
  height: calc(1.5em + 1.4rem + 8px) !important;
  padding: 1rem 0.75rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .floating-label {
    margin-bottom: 1.8rem;
  }

  .floating-label label {
    top: -10px;
    font-size: 0.85rem;
    padding: 2px 6px;
  }

  .floating-label .form-control {
    padding: 1rem 0.75rem 0.7rem;
    margin-top: 6px;
  }

  .floating-label .form-control:focus ~ label,
  .floating-label .form-control:not(:placeholder-shown) ~ label {
    transform: translateY(-22px) scale(0.85);
  }

  .form-group {
    margin-bottom: 1.8rem;
    padding-top: 6px;
  }
}

/* Form Section Spacing */
.form-section {
  margin-bottom: 2.5rem;
  padding: 1.8rem;
}

.form-section h4 {
  margin-bottom: 2rem;
}

/* Form Check Spacing */
.form-check {
  padding-left: 2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

/* Enhanced Select Styles */
.select-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.custom-select {
  height: 50px !important;
  padding: 0.375rem 1.75rem 0.375rem 1rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 16px 12px;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  appearance: none;
  transition: all 0.3s ease;
}

.custom-select:focus {
  border-color: var(--primary-color);
  outline: 0;
  box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
}

.custom-select option {
  padding: 10px;
}

.custom-select optgroup {
  font-weight: 600;
  color: var(--primary-color);
  padding: 8px 0;
}

.custom-select optgroup option {
  font-weight: normal;
  color: #495057;
  padding: 8px 16px;
}

/* Form Group with Icon */
.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group .form-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0.6;
  pointer-events: none;
}

.form-group .select-label + .custom-select + .form-icon {
  top: calc(50% + 12px);
}

/* Mobile Adjustments for Selects */
@media (max-width: 768px) {
  .select-label {
    font-size: 0.9rem;
  }

  .custom-select {
    height: 45px !important;
    font-size: 0.95rem;
  }

  .custom-select optgroup {
    font-size: 0.9rem;
  }

  .custom-select option {
    font-size: 0.9rem;
  }
}

/* Enhanced Container and Form Widths */
.auth-section .container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.auth-form {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.2);
  z-index: 1;
}

.form-section {
  max-width: 100%;
  padding: 2rem;
  margin-bottom: 2.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

/* Form Layout Improvements */
.form-group {
  margin-bottom: 1.8rem;
}

.row {
  margin-left: -15px;
  margin-right: -15px;
}

.col-md-6 {
  padding: 0 15px;
}

/* Input Field Widths */
.form-control {
  width: 100%;
  max-width: 100%;
}

.custom-select {
  width: 100%;
  max-width: 100%;
}

textarea.form-control {
  min-height: 120px;
}

/* Profile Upload Section */
.profile-upload {
  max-width: 400px;
  margin: 0 auto;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
  .auth-section .container {
    max-width: 960px;
  }
  
  .auth-form {
    max-width: 720px;
  }
}

@media (max-width: 992px) {
  .auth-section .container {
    max-width: 720px;
  }
  
  .auth-form {
    max-width: 100%;
    padding: 2rem;
  }
  
  .form-section {
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .auth-section .container {
    max-width: 540px;
    padding: 0 15px;
  }
  
  .auth-form {
    padding: 1.5rem;
    margin: 0 10px;
  }
  
  .form-section {
    padding: 1.25rem;
  }
  
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-md-6 {
    padding: 0 10px;
  }
}

@media (max-width: 576px) {
  .auth-section .container {
    padding: 0 10px;
  }
  
  .auth-form {
    padding: 1.25rem;
    margin: 0 5px;
  }
  
  .form-section {
    padding: 1rem;
  }
}

/* Terms and Submit Section */
.form-section:last-child {
  margin-bottom: 0;
}

.btn-lg {
  max-width: 100%;
  width: 100%;
  padding: 1rem 2rem;
}

/* Terms and Conditions Section */
.terms-section {
  background: rgba(26, 35, 126, 0.03);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(26, 35, 126, 0.1);
  margin-bottom: 2rem;
}

.terms-section h4 {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.terms-content {
  color: #495057;
}

.terms-content p {
  font-size: 1rem;
  margin-bottom: 1rem;
}

.terms-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.terms-list li {
  position: relative;
  padding-left: 1.8rem;
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.terms-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.terms-checkbox {
  margin-bottom: 2rem;
  padding: 1rem 1.5rem;
  background: rgba(26, 35, 126, 0.03);
  border-radius: 8px;
  border: 1px solid rgba(26, 35, 126, 0.1);
}

.terms-checkbox .form-check-label {
  font-size: 0.95rem;
  color: #495057;
  padding-left: 0.5rem;
}

.terms-link {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 500;
}

.terms-link:hover {
  color: var(--accent-color);
}

/* Submit Button Section */
.submit-section {
  padding: 2rem;
  text-align: center;
}

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: var(--gradient-primary);
  border: none;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(26, 35, 126, 0.2);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  color: white !important;
  text-transform: uppercase;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.3);
}

.btn-submit i {
  font-size: 1.4rem;
  margin-right: 10px;
  vertical-align: middle;
}

.btn-submit span {
  vertical-align: middle;
}

/* Enhanced Register Button */
.btn-register {
  position: relative;
  z-index: 3;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
  font-weight: 500;
  border: 2px solid var(--primary-color);
  border-radius: 50px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 300px;
  background: transparent;
  color: var(--primary-color);
  text-transform: uppercase;
}

.btn-register:hover {
  background: var(--gradient-primary);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 35, 126, 0.2);
}

.btn-register i {
  font-size: 1.4rem;
  margin-right: 12px;
  vertical-align: middle;
}

.btn-register span {
  vertical-align: middle;
}

.register-prompt {
  position: relative;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 0 0 20px 20px;
}

.register-prompt p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .btn-submit,
  .btn-register {
    padding: 0.9rem 2rem;
    font-size: 1rem;
    width: 100%;
    max-width: 100%;
  }

  .btn-submit i,
  .btn-register i {
    font-size: 1.2rem;
    margin-right: 8px;
  }

  .register-prompt {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .register-prompt p {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .btn-submit,
  .btn-register {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
  }

  .btn-submit i,
  .btn-register i {
    font-size: 1.1rem;
    margin-right: 6px;
  }
}

/* Login Page Specific Styles */
.input-label {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
}

.custom-input {
  height: 50px;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border: 2px solid rgba(0,0,0,0.1);
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.custom-input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(26, 35, 126, 0.15);
}

.input-group {
  position: relative;
}

.input-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.custom-input:focus + .input-icon {
  opacity: 1;
}

/* Form Options Styling */
.form-options {
  display: flex;
  justify-content: flex-end;
  margin: 0.5rem 0;
  padding: 0;
}

.form-check {
  display: flex;
  align-items: center;
  padding-left: 0;
  margin: 0;
}

.form-check-input {
  margin: 0;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
}

.form-check-input:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.form-check-label {
  margin: 0;
  font-size: 0.9rem;
  color: #666;
  cursor: pointer;
}

.forgot-link {
  color: var(--primary-color);
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.forgot-link:hover {
  color: var(--accent-color);
  text-decoration: none;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
  .form-options {
    margin: 0.5rem 0;
  }

  .submit-section {
    margin-top: 1.5rem;
  }

  .register-prompt {
    margin-top: 1.5rem;
    padding-top: 1rem;
  }

  .register-prompt p {
    margin-bottom: 0.5rem;
  }
}

@media (max-width: 576px) {
  .form-options {
    margin: 0.5rem 0;
  }

  .register-prompt {
    margin-top: 1.5rem;
    padding: 1rem 0.5rem;
  }
}

/* Dashboard Styles */
.dashboard-body {
  background: #f5f7fb;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced Sidebar Styles */
.dashboard-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 280px;
  height: 100vh;
  background: var(--gradient-dark);
  color: white;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}

.dashboard-sidebar::-webkit-scrollbar {
  width: 6px;
}

.dashboard-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.dashboard-sidebar::-webkit-scrollbar-thumb {
  background-color: rgba(255,255,255,0.2);
  border-radius: 3px;
}

.sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 2;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  padding: 0.5rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.sidebar-brand:hover {
  background: rgba(255,255,255,0.1);
}

.sidebar-logo {
  width: 40px;
  height: 40px;
  margin-right: 1rem;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.sidebar-brand:hover .sidebar-logo {
  transform: scale(1.05);
}

.nav-list {
  list-style: none;
  padding: 1rem 0;
  margin: 0;
}

.nav-item {
  margin: 0.25rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}

.nav-link i {
  margin-right: 1rem;
  font-size: 1.5rem;
  transition: all 0.3s ease;
  min-width: 24px;
}

.nav-link span {
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--accent-color);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.nav-item:hover .nav-link,
.nav-item.active .nav-link {
  color: white;
  background: rgba(255,255,255,0.1);
}

.nav-item.active .nav-link::before {
  transform: translateX(0);
}

.nav-item:hover .nav-link i,
.nav-item.active .nav-link i {
  transform: scale(1.1);
  color: var(--accent-color);
}

/* Main Content Styles */
.dashboard-main {
  margin-left: 280px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100vh;
  background: #f5f7fb;
}

/* Header Styles */
.dashboard-header {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.header-search {
  display: flex;
  align-items: center;
  background: #f5f7fb;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  flex: 0 1 400px;
}

.header-search i {
  color: #666;
  margin-right: 0.5rem;
}

.header-search input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-btn {
  background: none;
  border: none;
  position: relative;
  color: #666;
  padding: 0.5rem;
  cursor: pointer;
}

.notification-btn .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 500;
  color: var(--primary-color);
}

.profile-role {
  font-size: 0.85rem;
  color: #666;
}

/* Dashboard Content Styles */
.dashboard-content {
  padding: 2rem;
}

/* Welcome Section */
.welcome-card {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.welcome-card h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.quick-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Stats Cards */
.stats-section {
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-info h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary-color);
}

.stat-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Content Cards */
.content-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Activity List */
.activity-list {
  padding: 1.5rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.activity-details h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.activity-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.activity-time {
  font-size: 0.85rem;
  color: #999;
  display: block;
  margin-top: 0.5rem;
}

/* Events List */
.events-list {
  padding: 1.5rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date {
  text-align: center;
  min-width: 60px;
}

.event-date .date {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.event-date .month {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
}

.event-details h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.event-details p {
  margin: 0 0 0.25rem;
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-details i {
  font-size: 1rem;
  color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
    box-shadow: none;
  }

  .dashboard-sidebar.active {
    transform: translateX(0);
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
  }

  .dashboard-main {
    margin-left: 0 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dashboard-main.shifted {
    transform: translateX(280px);
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 8px;
    background: var(--gradient-primary);
    border: none;
    color: white;
    transition: all 0.3s ease;
  }

  .menu-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }

  .menu-toggle:active {
    transform: scale(0.95);
  }
}

/* Overlay for Mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

@media (max-width: 991px) {
  .sidebar-overlay.active {
    display: block;
    opacity: 1;
  }
}

/* Enhanced Dashboard Main Content */
.dashboard-main {
  margin-left: 280px;
  transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 100vh;
  background: #f5f7fb;
}

/* Header Styles */
.dashboard-header {
  background: white;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary-color);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.header-search {
  display: flex;
  align-items: center;
  background: #f5f7fb;
  border-radius: 50px;
  padding: 0.5rem 1rem;
  flex: 0 1 400px;
}

.header-search i {
  color: #666;
  margin-right: 0.5rem;
}

.header-search input {
  border: none;
  background: none;
  outline: none;
  width: 100%;
  font-size: 0.95rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-btn {
  background: none;
  border: none;
  position: relative;
  color: #666;
  padding: 0.5rem;
  cursor: pointer;
}

.notification-btn .badge {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--accent-color);
  color: var(--primary-color);
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 50px;
}

.user-profile {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.profile-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  flex-direction: column;
}

.profile-name {
  font-weight: 500;
  color: var(--primary-color);
}

.profile-role {
  font-size: 0.85rem;
  color: #666;
}

/* Dashboard Content Styles */
.dashboard-content {
  padding: 2rem;
}

/* Welcome Section */
.welcome-card {
  background: var(--gradient-primary);
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
}

.welcome-card h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.quick-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Stats Cards */
.stats-section {
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 15px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.stat-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-info h3 {
  font-size: 1.5rem;
  margin: 0;
  color: var(--primary-color);
}

.stat-info p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

/* Content Cards */
.content-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.card-header h2 {
  margin: 0;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.view-all {
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
}

/* Activity List */
.activity-list {
  padding: 1.5rem;
}

.activity-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.activity-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.activity-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.activity-details h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.activity-details p {
  margin: 0;
  color: #666;
  font-size: 0.9rem;
}

.activity-time {
  font-size: 0.85rem;
  color: #999;
  display: block;
  margin-top: 0.5rem;
}

/* Events List */
.events-list {
  padding: 1.5rem;
}

.event-item {
  display: flex;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.event-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.event-date {
  text-align: center;
  min-width: 60px;
}

.event-date .date {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
  line-height: 1;
}

.event-date .month {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
}

.event-details h4 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
  color: var(--primary-color);
}

.event-details p {
  margin: 0 0 0.25rem;
  color: #666;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.event-details i {
  font-size: 1rem;
  color: var(--primary-color);
}

/* Mobile Responsiveness */
@media (max-width: 991px) {
  .dashboard-sidebar {
    transform: translateX(-100%);
  }

  .dashboard-sidebar.active {
    transform: translateX(0);
  }

  .dashboard-main {
    margin-left: 0;
  }

  .dashboard-main.shifted {
    transform: translateX(280px);
  }

  .menu-toggle {
    display: block;
  }

  .header-search {
    display: none;
  }
}

@media (max-width: 768px) {
  .dashboard-content {
    padding: 1rem;
  }

  .welcome-card {
    text-align: center;
    margin-bottom: 1rem;
  }

  .quick-actions {
    justify-content: center;
    margin-top: 1rem;
  }

  .stat-card {
    margin-bottom: 1rem;
  }

  .profile-info {
    display: none;
  }
}

@media (max-width: 576px) {
  .dashboard-header {
    padding: 1rem;
  }

  .header-actions {
    gap: 1rem;
  }

  .welcome-card h1 {
    font-size: 1.5rem;
  }

  .quick-actions {
    flex-direction: column;
  }

  .quick-actions .btn {
    width: 100%;
  }
}

/* Mobile Navigation Enhancements */
@media (max-width: 991px) {
  .dashboard-sidebar {
    position: fixed;
    left: -100%;
    top: 0;
    bottom: 0;
    width: 100%;
    max-width: 300px;
    background: var(--gradient-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .dashboard-sidebar.active {
    left: 0;
    box-shadow: 0 0 20px rgba(0,0,0,0.2);
  }

  .sidebar-header {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .sidebar-close {
    display: block;
    padding: 0.5rem;
    color: white;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
  }

  .sidebar-close:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  .nav-list {
    padding: 1rem 0;
  }

  .nav-item {
    margin: 0.5rem 1rem;
  }

  .nav-link {
    padding: 1rem;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    transition: all 0.3s ease;
  }

  .nav-link:active {
    transform: scale(0.98);
  }

  .nav-link i {
    font-size: 1.3rem;
    width: 24px;
    text-align: center;
  }

  .nav-link span {
    font-size: 1rem;
    margin-left: 1rem;
  }

  .nav-item.active .nav-link {
    background: var(--primary-color);
    color: white;
  }

  .nav-item:hover .nav-link {
    background: rgba(255,255,255,0.1);
  }

  /* Enhanced Menu Toggle Button */
  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--gradient-primary);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    -webkit-tap-highlight-color: transparent;
  }

  .menu-toggle:active {
    transform: scale(0.95);
  }

  /* Enhanced Overlay */
  .sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
  }

  .sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* Prevent Main Content Scroll when Sidebar is Open */
  body.sidebar-open {
    overflow: hidden;
  }

  /* Main Content Shift */
  .dashboard-main {
    margin-left: 0 !important;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .dashboard-main.shifted {
    transform: translateX(0);
  }

  /* Enhanced Header for Mobile */
  .dashboard-header {
    padding: 1rem;
    background: white;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  }

  /* Improved Mobile Search */
  .header-search {
    display: none;
  }

  .mobile-search {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    background: white;
    z-index: 1002;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transform: translateY(-100%);
    transition: transform 0.3s ease;
  }

  .mobile-search.active {
    transform: translateY(0);
  }

  .mobile-search input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
  }

  /* Mobile Profile Menu */
  .profile-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    padding: 1rem;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1002;
  }

  .profile-menu.active {
    transform: translateY(0);
  }

  /* Mobile Navigation Indicators */
  .nav-item {
    position: relative;
  }

  .nav-item .badge {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 20px;
  }
}

/* Additional Mobile Optimizations */
@media (max-width: 576px) {
  .dashboard-sidebar {
    max-width: 280px;
  }

  .nav-link {
    padding: 0.875rem;
  }

  .nav-link i {
    font-size: 1.2rem;
  }

  .nav-link span {
    font-size: 0.95rem;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    font-size: 1.3rem;
  }
}

/* Touch Device Optimizations */
@media (hover: none) {
  .nav-link:active {
    background: rgba(255,255,255,0.15);
  }

  .menu-toggle:active {
    opacity: 0.8;
  }
} 