:root{
  --ep-green-primary:#10B981;
  --ep-dark-carbon:#1F2937;
  --ep-electric-blue:#3B82F6;
  --bg-light:#F9FAFB;
  --ep-text-main:#111827;
  --ep-text-muted:#6B7280;
  --ep-white:#FFFFFF;
}

/* ===== BODY ===== */
body{
  padding-top: 100px;
  background: var(--bg-light);
  color: var(--ep-text-main);
  font-family: Inter, Arial, sans-serif;
}

/* ===== TITLES ===== */
h1,h2,h3,h4{
  font-family: Montserrat, Arial, sans-serif;
  font-weight:700;
}

/* ===== LINKS ===== */
a {
  color: var(--ep-electric-blue);
  transition: 0.3s;
}
a:hover{
  color: var(--ep-green-primary);
}

/* ===== BUTTONS ===== */
.btn-primary{
  background: var(--ep-green-primary) !important;
  border-color: var(--ep-green-primary) !important;
  border-radius:4px !important;
}

.btn-primary:hover{
  background: var(--ep-dark-carbon) !important;
  transform:scale(1.05);
}

.btn-primary:active {
  transform: scale(0.95);
}

/* ===== NAVBAR ===== */
.navbar-brand{
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: var(--ep-green-primary) !important;
}

#main-nav.navbar-default {
  background: #FFFFFF;
}

#main-nav .navbar-nav > li.active > a,
#main-nav .navbar-nav > li:hover > a {
  background: var(--ep-green-primary);
  color: #fff;
}

/* ===== HERO ===== */
#hero-banner{
  height:650px;
  background: url("../img/hero.webp") no-repeat center;
  background-size: cover;
  position: relative;
  color:#fff;
}

#hero-banner::before{
  content:"";
  position:absolute;
  width:100%;
  height:100%;
  background: rgba(31,41,55,0.6);
}

#hero-banner h2{
  margin-top:180px;
  max-width:520px;
}

#hero-banner p{
  max-width:520px;
}

/* ===== SERVICES ===== */
#services .service-box{
  background:#fff;
  padding:20px;
  border-radius:6px;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
  min-height:220px;
  transition:0.3s;
}

#services .service-box:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* ===== PROJECTS ===== */
.project-card{
  background:#fff;
  padding:25px;
  border-radius:6px;
  box-shadow:0 4px 6px rgba(0,0,0,0.1);
  transition:0.3s;
}

.project-card:hover{
  transform:translateY(-5px);
  box-shadow:0 8px 18px rgba(0,0,0,0.15);
}

/* ===== FORM ===== */
.form-control{
  border-radius:4px;
  border:1px solid #E5E7EB;
}

.form-control:focus{
  border-color: var(--ep-green-primary);
  box-shadow:0 0 0 2px rgba(16,185,129,0.15);
}

/* VALIDATION */
.form-group.has-error .form-control{
  border:1px solid #dc2626 !important;
}

.form-group.has-success .form-control{
  border:1px solid var(--ep-green-primary) !important;
}

.field-feedback.error{
  color:#dc2626;
}

.field-feedback.success{
  color:var(--ep-green-primary);
}

/* ===== MESSAGE COUNTER ===== */
.message-counter{
  margin-top:10px;
  padding:10px;
  background:#f3f4f6;
  border-radius:4px;
  font-size:13px;
}

/* ===== FORM STATUS ===== */
.form-status{
  display:none;
  margin-top:15px;
  padding:10px;
  border-radius:4px;
}

.form-status.success{
  display:block;
  background:#ecfdf5;
  color:#047857;
}

.form-status.error{
  display:block;
  background:#fef2f2;
  color:#b91c1c;
}

/* ===== DASHBOARD CARDS ===== */
.card-box{
  background:#fff;
  padding:20px;
  border-radius:8px;
  text-align:center;
  box-shadow:0 4px 12px rgba(0,0,0,0.08);
  transition:0.3s;
}

.card-box p {
  font-size: 26px;
}

.card-box:hover{
  transform:translateY(-5px);
}

.card-box h4{
  color: var(--ep-text-muted);
  font-size:14px;
}

.card-box p{
  font-size:22px;
  font-weight:bold;
  color: var(--ep-green-primary);
}

.card-box{
  margin-bottom:20px;
  min-height: 120px;
}

/* ===== CHART ===== */
canvas{
  max-width:100%;
}
#footer {
  background: #10B981;
  color: #fff;
  padding: 25px 0;
  text-align: center;
}

#footer .row {
  display: flex;
  flex-direction: column;
  align-items: center;
}

#footer p {
  margin-bottom: 10px;
}

.social-icons {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 15px;
}

.social-icons li {
  display: inline-block;
}

.social-icons a {
  color: #fff;
  font-size: 18px;
}

.social-icons a:hover {
  color: #1F2937;
}

/* ===== SCROLL ===== */
html{
  scroll-behavior:smooth;
}

section{
  scroll-margin-top:90px;
}

.chart-box {
  margin-top: 40px;
  background: #fff;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin-top: 30px;
}

#result {
  font-size: 22px;
  font-weight: bold;
  color: #10B981;
}

/* ===== DASHBOARD IMPROVEMENTS ===== */

.dashboard-wrapper {
  max-width: 1200px;
  margin: 120px auto 40px;
  padding: 0 20px;
}

/* HERO */
.dashboard-hero {
  background: linear-gradient(135deg, #10B981, #1F2937);
  color: #fff;
  border-radius: 15px;
  padding: 35px;
  margin-bottom: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* CARDS */
.dash-card {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
  transition: 0.3s;
}

.dash-card:hover {
  transform: translateY(-5px);
}

.dash-card p {
  font-size: 26px;
  font-weight: bold;
  color: #10B981;
}

/* PANELS */
.dash-panel {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 25px;
  box-shadow: 0 6px 15px rgba(0,0,0,0.08);
}

/* CHART SIZE FIX */
canvas {
  max-height: 350px;
}

/* DARK MODE FIX */
.dark-mode .dash-card,
.dark-mode .dash-panel {
  background: #1F2937;
  color: #fff;
}
/* ===== GLOBAL DARK MODE FIX ===== */
body.dark-mode {
  background: #111827 !important;
  color: #fff !important;
}

body.dark-mode section,
body.dark-mode .dashboard-wrapper {
  background: transparent !important;
}

body.dark-mode canvas {
  background: transparent !important;
}
/* ===== DASHBOARD TABS ===== */
.dashboard-tabs button {
  border-radius: 20px;
  padding: 8px 18px;
  margin: 5px;
  border: none;
  background: #E5E7EB;
  color: #111;
  transition: 0.3s;
}

.dashboard-tabs button.active,
.dashboard-tabs button:hover {
  background: #10B981;
  color: #fff;
}

.dashboard-wrapper {
  max-width: 1200px;
  margin: 120px auto;
}

.dash-panel {
  margin-bottom: 25px;
}

.row {
  margin-bottom: 10px;
}
