:root {
  --primary: #0066cc;     /* Blue from logo */
  --accent: #00ccff;
  --bg: #0a0e1a;
  --card-bg: #111827;
  --text: #e5e7eb;
  --light-text: #9ca3af;
}

* { margin:0; padding:0; box-sizing:border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Orbitron', sans-serif; font-weight: 700; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem; }

header {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10,14,26,0.9);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid #1f2937;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo-img { height: 50px; width: auto; }

.logo span { font-size: 1.6rem; font-weight: 700; color: var(--accent); }

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

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

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

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #001f3f);
  padding-top: 80px;
}

.hero h1 { font-size: 3.8rem; margin-bottom: 0.5rem; color: var(--accent); }

.hero h2 { font-size: 2.2rem; margin-bottom: 1.5rem; }

.hero p { font-size: 1.3rem; max-width: 700px; margin: 0 auto 2rem; }

.hero {
  position: relative;          /* Important for layering */
  min-height: 90vh;
  display: flex;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, #0f172a, #001f3f);  /* Fallback color */
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('cube-spin.gif') center/cover no-repeat;  /* Your GIF file */
  opacity: 0.25;               /* Subtle – adjust 0.1 to 0.4 for visibility */
  z-index: 1;                  /* Behind content */
  pointer-events: none;        /* Don't block clicks */
}

.hero-content {
  position: relative;
  z-index: 2;                  /* Text/buttons on top */
  max-width: 900px;
}

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s;
}

.btn:hover {
  background: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,204,255,0.3);
}

.section { padding: 7rem 0; }

h2 { font-size: 3rem; text-align: center; margin-bottom: 3rem; color: var(--accent); }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--card-bg);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #1f2937;
  transition: all 0.4s;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 15px 35px rgba(0,0,0,0.4);
}

.quote form {
  max-width: 700px;
  margin: 2rem auto 0;
  display: grid;
  gap: 1.2rem;
}

.contact a {
  color: #ffffff !important;
  text-decoration: none;
}
.contact a:hover {
  text-decoration: underline;
  color: #ffffff !important;  /* stays white */
}

input, textarea, select {
  padding: 1rem;
  background: #1f2937;
  border: 1px solid #374151;
  color: var(--text);
  border-radius: 8px;
  font-size: 1rem;
}

input[type="file"] { padding: 0.8rem; }

footer {
  background: #000;
  text-align: center;
  padding: 3rem 0;
  font-size: 0.95rem;
  color: var(--light-text);
}

@media (max-width: 768px) {
  nav ul { gap: 1rem; font-size: 0.95rem; }
  .hero h1 { font-size: 2.8rem; }
  .hero h2 { font-size: 1.8rem; }
}