/* =========================================================
   ROOT VARIABLES
========================================================= */
:root {
  --primary: #c00000;
  --accent: #f8f9fa;
  --dark: #222;
  --light: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}



/* ================================
   DARK MODE THEME VARIABLES
================================ */
html.dark-mode,
body.dark-mode {
  --primary: #ff5252;
  --accent: #1e1e1e;
  --dark: #f5f5f5;
  --light: #121212;
  --shadow: 0 2px 8px rgba(255, 255, 255, 0.05);
  background: var(--light);
  color: var(--dark);
}

/* ================================
   COMPONENT STYLES IN DARK MODE
================================ */

/* Navbar */
html.dark-mode .navbar,
body.dark-mode .navbar {
  background: black;
  box-shadow: var(--shadow);
}

html.dark-mode .nav-links a,
body.dark-mode .nav-links a {
  color: var(--dark);
}

/* Cards */
html.dark-mode .card,
body.dark-mode .card,
html.dark-mode .service-card,
body.dark-mode .service-card {
  background-color: white;
  color: black;
  box-shadow: 0 6px 18px rgba(255, 255, 255, 0.08);
  filter: drop-shadow(5px 5px 5px red);
}

/* About Section */
html.dark-mode .about,
body.dark-mode .about {
  background: #a09e9e;
}

/* Footer */
html.dark-mode .footer,
body.dark-mode .footer {
  background: rgb(219, 13, 13);
  color: white;
  filter: drop-shadow(5px 10px 15px white);
}

html.dark-mode .footer .tagline,
body.dark-mode .footer .tagline { 
  color: white;
  filter: drop-shadow(10px 12px 15px white);
}

html.dark-mode .footer p,
body.dark-mode .footer p {
  color: white;
  filter: drop-shadow(10px 12px 15px black);
}

html.dark-mode .footer hr,
body.dark-mode .footer hr {
  border-color: #555;
}

/* =========================================================
   GLOBAL STYLES
========================================================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", Arial, Helvetica, sans-serif;
  color: var(--dark);
  background: var(--light);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}


/* =========================================================
   NAVBAR
========================================================= */
.navbar {
  background: var(--light);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 999;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.brand img {
  width: 155px;
  height: 45px;
  border-radius: 0%;
  object-fit: cover;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-weight: 500;
  transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary);
}

.btn-outline {
  border: 1px solid var(--primary);
  padding: 0.4rem 0.9rem;
  border-radius: 4px;
  color: var(--primary);
  font-weight: 500;
  transition: var(--transition);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--primary);
  border: 1px solid blue;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: 0.3s;
}

/* =========================================================
   FOOTER
========================================================= */
.footer {
  background: var(--primary);
  color: var(--light);
  text-align: center;
  padding: 2rem 0;
  margin-top: 4rem;
}

.footer .tagline {
  font-style: italic;
  color: #ffd54f;
  margin-top: 0.3rem;
  font-weight: 500;
}
.footer hr {
  margin: 1rem auto;
  width: 80%;
  border: 0.5px solid #fff;
  color: #fff;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    background: var(--light);
    position: absolute;
    top: 70px;
    right: 5%;
    width: 90%;
    box-shadow: var(--shadow);
    padding: 1rem;
    border-radius: 6px;
  }

  .nav-links a {
    padding: 0.6rem 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }
}
/* =========================================================
   ADDITIONAL STYLES
========================================================= */
button.btn-primary {
  background: var(--primary);
  border: none;
  color: var(--light);
  padding: 0.9rem 1.6rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}