/* ===== GLOBAL TYPOGRAPHY SYSTEM ===== */

/* Paragraphs, links, buttons, UI text */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  color: inherit;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 500;
}

/* Buttons & CTAs */
button,
input[type="button"],
input[type="submit"],
a.btn {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
}




/* General Reset */
* {
    margin: 0;
    padding: 0;
  
    box-sizing: border-box;
     font-family: Arial, sans-serif;
}

.hero-wrapper {
    position: relative;
    background-color: #000;
    width: 100%;
    overflow: visible;
    display: flex;
    flex-direction: column;
}

/* Background Video Styling */
.video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(50%); /* Darkens video for text readability */
}

/* Navbar Styling */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: rgba(255, 255, 255, 0.95);
    margin: 20px 5%;
    border-radius: 12px;
    z-index: 10;
}
.logo-img{
  width:150px;
}
.logo { font-size: 24px; font-weight: 800; color: #333; }
.logo span { color: #b08d57; }

.menu { list-style: none; display: flex; gap: 25px; }
.menu li a { 
    text-decoration: none; 
    color: #333; 
    font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;


    letter-spacing: 0.5px;
}

.nav-right { display: flex; align-items: center; gap: 20px; }
.icon-btn { background: none; border: none; cursor: pointer; font-size: 18px; }

.signup-btn {
    background: #b08d57;
    color: white;
    padding: 10px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
}
/* ============proper final header============ */

.menu {
  list-style: none;
  display: flex;
  gap: 25px;
}

/* Dropdown parent */
.menu li {
  position: relative;
}

/* Dropdown box */
.dropdown {
  position: absolute;
  top: 130%;
   list-style: none;
  left: 0;
  background: #12110F;
  min-width: 180px;
  border-radius: 8px;
  opacity: 0;
  visibility: visible;
  transform: translateY(10px);
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  z-index: 999;
}

/* Dropdown links */
.dropdown li a {
  display: block;
  padding: 12px 18px;
  color: #EDE3D9;
  font-size: 14px;
  text-decoration: none;
}

.dropdown li a:hover {
  background: #C89B63;
  color: #1C1A17;
}

/* Show dropdown on hover */
.has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown li:not(:last-child) {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}


/* ===============underline menu============== */

.menu > li > a {
  position: relative;
}

.menu > li > a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: #C89B63;
  transition: width 0.3s ease;
}

.menu > li > a:hover::after {
  width: 100%;
}

/* =============dashboard=============== */

.dashboard-btn {
  background-color: #C89B63;
  color: #FFF;
  padding: 10px 22px;
  border-radius: 30px;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
    font-size: 13px;


  transition: all 0.3s ease;
}

.dashboard-btn:hover {
  background-color: #B8894F;
  transform: translateY(-2px);
  color: #000;
}



/* ========dropdownb dashboard============ */

.dashboard-menu {
  position: relative;
  display: inline-block;
}

.dashboard-btn {
  background: #d4a373;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
}

.dashboard-dropdown {
  position: absolute;
  top: 110%;
  right: 0;
  background: #fff;
  min-width: 160px;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  overflow: hidden;
}

.dashboard-dropdown a {
  display: block;
  padding: 12px 16px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
}

.dashboard-dropdown a:hover {
  background: #d4a373;
}

/* SHOW DROPDOWN */
.dashboard-menu:hover .dashboard-dropdown {
  display: block;
}


/* ===================================================== */
/* Sidebar and Layout */
.container {
    display: flex;
    min-height: 100vh;
   
}

.sidebar {
    width: 200px;
    background-color: #d4a373; /* Coffee Brown from your image */
    color: white;
    margin-top: -3em;
    padding: 20px;
}

.sidebar h2 { font-size: 1.2rem; margin-bottom: 30px; opacity: 0.8; }

.sidebar nav a {
    display: block;
    color: white;
    text-decoration: none;
    padding: 12px;
    margin-bottom: 5px;
    border-radius: 8px;
}

.sidebar nav a.active { background: rgba(255,255,255,0.1); }

/* Main Content Area */
.main-content {
    flex: 1;
    background-color: #faf7f2; /* Cream background */
    padding: 30px;
}

/* Stats Cards */
.stats-row {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.stat-card h2 { color: #d35400; margin: 10px 0 0 0; }

/* Graph Section */
.charts-row {
    display: flex;
    gap: 20px;
   
}

.chart-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    flex: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.canvas-container {
    position: relative;
    height: 250px;
    width: 100%;
}


/* back to home====================== */

/* Header layout */
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

/* Back button */
.back-home {
  color: #d4a373;
  text-decoration: none;
  font-size: 14px;
 display: inline-block;
margin-left: 20em;
  margin-top: 3em;
  font-weight: 500;
}

.back-home:hover {
  text-decoration: underline;
}

/* Profile */
.profile-wrapper {
  position: relative;
}

.profile-icon {
  width: 32px;
  height: 32px;
  background: #d4a373;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  margin-right: 10px;
  
}

/* Dropdown */
.profile-menu {
  position: absolute;
  top: 40px;
  right: 0;
  background: white;
  border-radius: 6px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: none;
  min-width: 120px;
  overflow: hidden;
}

.profile-menu a {
  display: block;
  padding: 10px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
}

.profile-menu a:hover {
  background: #f2f2f2;
}

