body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1; /* Pushes the image behind all your text and forms */
  background-image: url('background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.20; /* controls how faded the image is (0.10 to 0.20 is ideal) */
}
:root {
  /* Default fallbacks if JS injection delays */
  --font-family: 'Calibri', sans-serif;
  --color-primary: #2C3E50;
  --color-accent: #D4AC0D;
  --color-footer: #95A5A6;
  --color-bg-light: #F8F9FA;
  --color-white: #FFFFFF;
  --font-size-base: 16px;
  --font-size-hero: 2.5rem;
  --padding-section: 60px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: var(--font-size-base);
}

body {
  font-family: var(--font-family);
  color: var(--color-primary);
  line-height: 1.6;
  background-color: var(--color-white);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Navbar Layout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-white);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  z-index: 1000;
  height: 70px;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: var(--color-primary);
}

.nav-menu {
  display: flex;
  gap: 20px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-primary);
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-menu a:hover {
  color: var(--color-accent);
}

/* Mobile Hamburger Style */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle .bar {
  width: 100%;
  height: 3px;
  background-color: var(--color-primary);
  transition: all 0.3s ease;
}

/* Main Layout Architecture */
section {
  padding: var(--padding-section) 0;
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--padding-section) + 70px);
  background-color: var(--color-bg-light);
  border-bottom: 5px solid var(--color-accent);
  text-align: center;
}

.hero-section h1 {
  font-size: var(--font-size-hero);
  margin-bottom: 20px;
}

.hero-section p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--color-primary);
  color: var(--color-white);
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  transition: background 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  background-color: var(--color-accent);
}

/* Services Layout Grid */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 30px;
}

.service-card {
  background: var(--color-white);
  border: 1px solid #E1E8ED;
  padding: 30px;
  border-radius: 6px;
  border-top: 4px solid var(--color-accent);
}

.service-card h3 {
  margin-bottom: 15px;
}

.service-card ul {
  list-style-position: inside;
  padding-left: 5px;
}

.service-card li {
  margin-bottom: 8px;
}

/* Contact Module Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-group input, .form-group textarea {
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
}

/* Footer layout */
.footer {
  background-color: var(--color-bg-light);
  border-top: 1px solid #E1E8ED;
  padding: 20px 0;
  color: var(--color-footer);
  font-size: 0.9rem;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer a {
  color: var(--color-footer);
  text-decoration: underline;
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .services-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: var(--color-white);
    flex-direction: column;
    padding: 40px 20px;
    box-shadow: -2px 5px 5px rgba(0,0,0,0.05);
    transition: right 0.3s ease;
  }
  
  .nav-menu.active {
    right: 0;
  }

  /* Hamburger Animation */
  .menu-toggle.open .bar:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  .menu-toggle.open .bar:nth-child(2) {
    opacity: 0;
  }
  .menu-toggle.open .bar:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
}