@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');

  /* Reset and Base Styles */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html, body {
      min-height: 100vh;
      font-family: 'Poppins', sans-serif;
      overflow-x: hidden;
    }

    /* Navbar Styles */
    .navbar {
      width: 100%;
      background-color: #0c3e3c;
      color: white;
      padding: 12px 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 1000;
      position: fixed;
      top: 0;
      left: 0;
      min-height: 70px;
      backdrop-filter: blur(10px);
      box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }

    .navbar .logo {
      flex-shrink: 0;
      z-index: 1001;
    }

    .navbar .logo img {
      height: 60px;
      width: auto;
      display: block;
      transition: all 0.3s ease;
    }

    /* Hamburger Menu */
    .navbar .hamburger {
      display: none;
      flex-direction: column;
      cursor: pointer;
      padding: 8px;
      border: 2px solid #64c5ba;
      border-radius: 8px;
      background: rgba(100, 197, 186, 0.1);
      transition: all 0.3s ease;
      z-index: 1001;
      width: 45px;
      height: 40px;
      justify-content: center;
      align-items: center;
      gap: 4px;
    }

    .navbar .hamburger:hover {
      background: rgba(100, 197, 186, 0.2);
      border-color: #7dd3d8;
      transform: scale(1.05);
    }

    .navbar .hamburger span {
      display: block;
      width: 22px;
      height: 3px;
      background-color: white;
      transition: all 0.3s ease;
      border-radius: 2px;
    }

    /* Navigation Links */
    .navbar .nav-links {
      list-style: none;
      display: flex;
      gap: 15px;
      margin: 0;
      padding: 0;
      align-items: center;
    }

    .navbar .nav-links li a {
      text-decoration: none;
      color: white;
      font-weight: 500;
      transition: all 0.3s ease;
      padding: 10px 15px;
      border-radius: 8px;
      display: block;
      white-space: nowrap;
      font-size: 14px;
    }

    .navbar .nav-links li a:hover {
      color: #64c5ba;
      background-color: rgba(100, 197, 186, 0.15);
      transform: translateY(-2px);
    }

    .auth-btn {
      background: linear-gradient(135deg, #64c5ba, #7dd3d8) !important;
      color: white !important;
      font-weight: 600 !important;
      padding: 12px 20px !important;
      border-radius: 25px !important;
      margin-left: 10px;
    }

    .auth-btn:hover {
      transform: translateY(-2px) scale(1.05) !important;
      box-shadow: 0 5px 15px rgba(100, 197, 186, 0.4);
    }

    /* User Info Styles */
    #user-info {
      display: flex;
      align-items: center;
      gap: 10px;
      color: white;
      font-size: 14px;
    }

    #username-display {
      font-weight: 500;
      color: #64c5ba;
    }

    #logout-btn {
      color: white !important;
      font-size: 13px;
      padding: 8px 12px !important;
      background: rgba(255, 255, 255, 0.1);
      border-radius: 6px;
      transition: all 0.3s ease;
    }

    #logout-btn:hover {
      background: rgba(255, 255, 255, 0.2);
      color: #64c5ba !important;
    }

    /* Sidebar Styles */
    .sidebar-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background-color: rgba(0, 0, 0, 0.5);
      z-index: 1500;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease;
    }

    .sidebar-overlay.show {
      opacity: 1;
      visibility: visible;
    }

    .sidebar {
      position: fixed;
      top: 0;
      left: -280px;
      width: 280px;
      height: 100vh;
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 251, 0.98) 100%);
      backdrop-filter: blur(20px);
      box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
      transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
      z-index: 2000;
      display: flex;
      flex-direction: column;
      border-right: 1px solid rgba(34, 94, 90, 0.1);
    }

    .sidebar.show {
      left: 0;
    }

    .sidebar-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 20px 25px;
      background: linear-gradient(135deg, #225e5a, #2d8f88);
      color: white;
      box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar-heading {
      font-size: 18px;
      font-weight: 600;
      letter-spacing: 1.5px;
      margin: 0;
    }

    .sidebar-close {
      font-size: 28px;
      cursor: pointer;
      color: white;
      transition: all 0.3s ease;
      width: 35px;
      height: 35px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.1);
    }

    .sidebar-close:hover {
      background: rgba(255, 255, 255, 0.2);
      transform: rotate(90deg);
    }

    .sidebar-content {
      flex: 1;
      overflow-y: auto;
      padding: 20px 0;
    }

    .sidebar a {
      display: flex;
      align-items: center;
      padding: 15px 25px;
      color: #225e5a;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
      margin: 0;
    }

    .sidebar a::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: #64c5ba;
      transform: scaleY(0);
      transition: transform 0.3s ease;
    }

    .sidebar a:hover {
      background: linear-gradient(90deg, rgba(100, 197, 186, 0.1), transparent);
      color: #0c3e3c;
      transform: translateX(8px);
    }

    .sidebar a:hover::before {
      transform: scaleY(1);
    }

    .sidebar-divider {
      height: 1px;
      background: linear-gradient(90deg, transparent, rgba(34, 94, 90, 0.15), transparent);
      margin: 5px 20px;
    }

    /* Dashboard Sidebar (Desktop) */
    .dashboard-sidebar {
      position: fixed;
      top: 70px;
      left: 0;
      width: 280px;
      height: calc(100vh - 70px);
      background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 251, 251, 0.98) 100%);
      backdrop-filter: blur(20px);
      box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
      border-right: 1px solid rgba(34, 94, 90, 0.1);
      z-index: 900;
      overflow-y: auto;
      display: none;
    }

    .dashboard-sidebar.show {
      display: block;
    }

    .dashboard-menu {
      padding: 20px 0;
    }

    .dashboard-menu a {
      display: flex;
      align-items: center;
      padding: 15px 25px;
      color: #225e5a;
      text-decoration: none;
      font-size: 16px;
      font-weight: 500;
      transition: all 0.3s ease;
      position: relative;
    }

    .dashboard-menu a::before {
      content: '';
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 4px;
      background: #64c5ba;
      transform: scaleY(0);
      transition: transform 0.3s ease;
    }

    .dashboard-menu a:hover, .dashboard-menu a.active {
      background: linear-gradient(90deg, rgba(100, 197, 186, 0.1), transparent);
      color: #0c3e3c;
      transform: translateX(8px);
    }

    .dashboard-menu a:hover::before, .dashboard-menu a.active::before {
      transform: scaleY(1);
    }

    .menu-icon {
      margin-right: 12px;
      width: 20px;
      height: 20px;
    }

    /* Main Content Area */
    .main-wrapper {
      min-height: 100vh;
      background: #e6f4f3;
      position: relative;
      margin-top: 70px;
      transition: margin-left 0.3s ease;
    }

    .main-wrapper.dashboard-mode {
      margin-left: 280px;
      /* Dark gradient background for dashboard */
  background: #e6f4f3;
    }

    /* Landing Page Styles */
    .landing-page {
      display: block;
    }

    .dashboard-content {
      display: none;
      padding: 40px;
      max-width: 1200px;
      margin: 0 auto;
    }

    /* Hero Section */
    .hero-section {
      background: linear-gradient(135deg, #225e5a 0%, #2d8f88 100%);
      color: white;
      padding: 80px 20px 60px;
      text-align: center;
      position: relative;
    }

    .hero-content {
      max-width: 900px;
      margin: 0 auto;
    }

    .hero-title {
      font-size: 3.5rem;
      font-weight: 700;
      margin-bottom: 20px;
      line-height: 1.2;
    }

    .brand-highlight {
      color: #64c5ba;
      text-shadow: 0 0 20px rgba(100, 197, 186, 0.5);
    }

    .hero-subtitle {
      font-size: 1.4rem;
      margin-bottom: 40px;
      opacity: 0.95;
      line-height: 1.6;
      font-weight: 300;
    }

    .cta-buttons {
      display: flex;
      gap: 20px;
      justify-content: center;
      margin: 40px 0;
    }

    .cta-btn {
      padding: 15px 30px;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1.1rem;
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }

    .cta-primary {
      background: linear-gradient(135deg, #64c5ba, #7dd3d8);
      color: white;
    }

    .cta-secondary {
      background: transparent;
      color: white;
      border-color: white;
    }

    .cta-btn:hover {
      transform: translateY(-3px);
      box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    }

    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 60px;
      flex-wrap: wrap;
      margin-top: 60px;
    }

    .stat-item {
      text-align: center;
    }

    .stat-number {
      font-size: 3rem;
      font-weight: 700;
      color: #64c5ba;
      display: block;
      text-shadow: 0 0 20px rgba(100, 197, 186, 0.3);
    }

    .stat-label {
      font-size: 1rem;
      opacity: 0.9;
      margin-top: 8px;
      font-weight: 300;
    }

    /* Features Section */
    .features-section {
      padding: 100px 20px;
      background: white;
      position: relative;
    }

    .container {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 20px;
    }

    .section-title {
      text-align: center;
      font-size: 3rem;
      color: #0c3e3c;
      margin-bottom: 20px;
      font-weight: 700;
    }

    .section-subtitle {
      text-align: center;
      font-size: 1.2rem;
      color: #666;
      margin-bottom: 60px;
      max-width: 600px;
      margin-left: auto;
      margin-right: auto;
    }

    .features-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 40px;
      margin-bottom: 80px;
    }

    .feature-card {
      background: white;
      padding: 40px 30px;
      border-radius: 20px;
      text-align: center;
      box-shadow: 0 10px 40px rgba(34, 94, 90, 0.1);
      transition: all 0.3s ease;
      border: 1px solid rgba(34, 94, 90, 0.08);
      position: relative;
      overflow: hidden;
    }

    .feature-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, #225e5a, #64c5ba);
      transform: scaleX(0);
      transition: transform 0.3s ease;
    }

    .feature-card:hover::before {
      transform: scaleX(1);
    }

    .feature-card:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 60px rgba(34, 94, 90, 0.15);
    }

    .feature-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 80px;
      height: 80px;
      background: linear-gradient(135deg, #225e5a, #2d8f88);
      border-radius: 20px;
      color: white;
      margin-bottom: 25px;
      position: relative;
    }

    .feature-icon::after {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(135deg, #64c5ba, #7dd3d8);
      border-radius: 22px;
      z-index: -1;
      opacity: 0;
      transition: opacity 0.3s ease;
    }

    .feature-card:hover .feature-icon::after {
      opacity: 1;
    }

    .feature-card h3 {
      font-size: 1.5rem;
      color: #0c3e3c;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .feature-card p {
      color: #666;
      line-height: 1.7;
      font-size: 1rem;
    }

    /* Key Features Section */
    .key-features-section {
      padding: 100px 20px;
      background: #f8fbfb;
    }

    .features-showcase {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 30px;
      margin-top: 60px;
    }

    .showcase-item {
      background: white;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 5px 20px rgba(0,0,0,0.08);
      transition: all 0.3s ease;
    }

    .showcase-item:hover {
      transform: translateY(-5px);
      box-shadow: 0 15px 40px rgba(0,0,0,0.12);
    }

    .showcase-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, #64c5ba, #7dd3d8);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: white;
    }

    .showcase-item h4 {
      font-size: 1.3rem;
      color: #0c3e3c;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .showcase-item p {
      color: #666;
      line-height: 1.6;
    }

    /* Footer */
    .modern-footer {
      background: #0c3e3c;
      color: white;
      padding: 60px 20px 30px;
      position: relative;
    }

    .footer-content {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
      gap: 40px;
      margin-bottom: 40px;
    }

    .footer-section h4 {
      font-size: 1.3rem;
      margin-bottom: 20px;
      color: #64c5ba;
      font-weight: 600;
    }

    .footer-logo {
      height: 60px;
      margin-bottom: 20px;
    }

    .footer-desc {
      color: #ccc;
      line-height: 1.7;
      margin-bottom: 25px;
    }

    .footer-section ul {
      list-style: none;
      padding: 0;
    }

    .footer-section ul li {
      margin-bottom: 12px;
    }

    .footer-section ul li a {
      color: #ccc;
      text-decoration: none;
      transition: color 0.3s ease;
      font-weight: 400;
    }

    .footer-section ul li a:hover {
      color: #64c5ba;
    }

    .footer-bottom {
      text-align: center;
      padding-top: 30px;
      border-top: 1px solid rgba(100, 197, 186, 0.2);
      color: #aaa;
    }

    .footer-bottom p {
      margin: 8px 0;
    }

    /* Dashboard Welcome */
    .dashboard-welcome {
      background: linear-gradient(135deg, #225e5a, #2d8f88);
      color: white;
      padding: 40px;
      border-radius: 20px;
      margin-bottom: 40px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }

    .dashboard-welcome h1 {
      font-size: 2.5rem;
      margin-bottom: 15px;
      font-weight: 600;
    }

    .dashboard-welcome p {
      font-size: 1.2rem;
      opacity: 0.9;
    }

    /* Quick Actions */
    .quick-actions {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
      gap: 30px;
      margin-bottom: 40px;
    }

    .action-card {
      background: white;
      padding: 30px;
      border-radius: 15px;
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
      text-decoration: none;
      color: inherit;
      border: 1px solid rgba(100, 197, 186, 0.2);
    }

    .action-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
      text-decoration: none;
      color: inherit;
    }

    .action-icon {
      width: 60px;
      height: 60px;
      background: linear-gradient(135deg, #225e5a, #2d8f88);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-bottom: 20px;
      color: white;
    }

    .action-card h3 {
      font-size: 1.4rem;
      color: #0c3e3c;
      margin-bottom: 10px;
      font-weight: 600;
    }

    .action-card p {
      color: #666;
      line-height: 1.6;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      .navbar .nav-links,
      #user-info {
        display: none !important;
      }

      .navbar .hamburger {
        display: flex;
      }

      .main-wrapper.dashboard-mode {
        margin-left: 0;
      }

      .dashboard-sidebar {
        display: none !important;
      }

      .hero-title {
        font-size: 2.5rem;
      }

      .hero-subtitle {
        font-size: 1.2rem;
      }

      .cta-buttons {
        flex-direction: column;
        align-items: center;
      }

      .hero-stats {
        gap: 30px;
      }

      .section-title {
        font-size: 2.2rem;
      }

      .features-grid {
        grid-template-columns: 1fr;
        gap: 25px;
      }

      .feature-card {
        padding: 30px 20px;
      }

      .dashboard-content {
        padding: 20px;
      }

      .quick-actions {
        grid-template-columns: 1fr;
        gap: 20px;
      }
    }

    @media (max-width: 480px) {
      .hero-section {
        padding: 60px 15px 40px;
      }

      .hero-title {
        font-size: 2rem;
      }

      .hero-subtitle {
        font-size: 1.1rem;
      }

      .section-title {
        font-size: 1.8rem;
      }

      .features-section,
      .key-features-section {
        padding: 60px 15px;
      }
    }