:root {
  --primary-color: #00a85a; /* Green from original */
  --text-main: #ffffff; /* Make text white to pop against dark 3D bg */
  --text-light: #cccccc; 
  --bg-main: rgba(20, 20, 20, 0.6); /* Darker glass for better contrast */
  --bg-darker-glass: rgba(10, 10, 10, 0.9);
  
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.5);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.8);
  --border-radius: 12px;
  --glass-blur: blur(16px);
  --glass-border: 1px solid rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background-color: #050505;
  color: var(--text-main);
  overflow-x: hidden;
  font-size: 16px;
  line-height: 1.6;
}

/* Scroll Video Background */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: -1;
  opacity: 0.5; /* Darken slightly to match the premium dark theme */
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--bg-main);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: var(--glass-border);
  box-shadow: var(--shadow-md);
  border-radius: var(--border-radius);
}

/* Typography */
h1, h2, h3, h4 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

h2 {
  font-size: 32px;
  letter-spacing: 1px;
  line-height: 1.4;
  text-transform: uppercase;
  color: var(--primary-color);
}

p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: var(--text-light);
  font-size: 18px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Header & Nav */
header {
  position: fixed;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: 95%;
  max-width: 1200px;
  border-radius: var(--border-radius);
}

.header-container {
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
  text-shadow: 0px 2px 4px rgba(0,0,0,0.8);
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 600;
  font-size: 17px;
  padding: 0.5rem 1rem;
  color: var(--text-light);
  text-transform: uppercase;
  border-radius: 8px;
}

nav a:hover, nav a.active {
  color: white;
  background-color: var(--primary-color);
}

/* Scrollytelling Sections */
.scroll-container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.scroll-section {
  min-height: 150vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5%;
}

.scroll-content {
  max-width: 1400px;
  width: 95%;
  padding: 4rem;
  opacity: 0.1;
  transform: translateY(100px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-content.in-view {
  opacity: 1;
  transform: translateY(0);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

/* Services List */
.services-list {
  list-style: none;
  margin-top: 1rem;
}

.services-list li {
  margin-bottom: 1rem;
  padding-left: 2rem;
  position: relative;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-light);
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 1rem;
}

.services-list li::before {
  content: "■";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 12px;
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: var(--text-light);
}
.form-control {
  width: 100%;
  padding: 0.8rem;
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  color: white;
  font-family: inherit;
}
.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(0, 168, 90, 0.4);
}
textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  border-radius: 8px;
  text-transform: uppercase;
  font-size: 14px;
}

.btn-primary {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 4px 12px rgba(0, 168, 90, 0.3);
}

.btn-primary:hover {
  background: #008a4a;
  transform: translateY(-2px);
}

/* Footer */
footer {
  position: relative;
  z-index: 2;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  color: #fff;
  padding: 3rem 0;
  text-align: left;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-content h4 {
  color: #fff;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
  display: inline-block;
}

.footer-content p, .footer-content a {
  color: #aaa;
  font-size: 14px;
}

.footer-content a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #666;
  font-size: 12px;
}

/* Mobile Menu Button - Hide on Desktop */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  cursor: pointer;
}

/* Responsive */
@media (max-width: 768px) {
  .grid-2, .grid-3 {
    grid-template-columns: 1fr;
  }
  
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-darker-glass);
    padding: 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
  }
  
  nav ul.show {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .scroll-content {
    padding: 1.5rem; /* Less padding on small screens */
  }
  
  h2 {
    font-size: 24px;
  }
  
  p {
    font-size: 15px;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 1.5rem;
  }
}
