@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-dark: #05070c;
  --bg-card: rgba(10, 14, 23, 0.85);
  --accent-red: #ff2a4b;
  --accent-red-glow: rgba(255, 42, 75, 0.45);
  --accent-cyan: #00f0ff;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --header-bg: rgba(5, 7, 12, 0.85);
  --footer-bg: #030408;
}

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

body {
  background: #05070c url('meshnetwork.jpg') no-repeat center center fixed;
  background-size: cover;
  color: var(--text-main);
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background Mesh Network Overlay */
.bg-mesh-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  background: url('meshnetwork.jpg') no-repeat center center fixed;
  background-size: cover;
  filter: brightness(1.35) contrast(1.2);
  opacity: 0.9;
}

/* Header Styling */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-container {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Updated logo size to 1.5x larger (from 2.5rem to 3.75rem) */
.logo-icon {
  height: 3.75rem;
  width: auto;
  object-fit: contain;
}

nav {
  display: flex;
  gap: 2rem;
}

nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  padding: 0.4rem 0.8rem;
  border-radius: 4px;
}

nav a:hover, nav a.active {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
}

nav a.active {
  border-bottom: 2px solid var(--accent-red);
}

/* Footer Styling */
footer {
  margin-top: auto;
  z-index: 10;
  background-color: var(--footer-bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2.5rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

footer .footer-logo {
  height: 3.25rem;
  width: auto;
  object-fit: contain;
}

footer p {
  color: #6b7280;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

/* Main Layout */
main {
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
  width: 100%;
  flex: 1;
}

h1, h2, h3 {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 1.5px;
  text-align: center;
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 2.5rem;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.page-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

/* Card Containers */
.glow-card {
  background: var(--bg-card);
  border: 1px solid var(--accent-red);
  box-shadow: 0 0 25px var(--accent-red-glow), inset 0 0 15px rgba(255, 42, 75, 0.15);
  border-radius: 12px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glow-card:hover {
  box-shadow: 0 0 35px rgba(255, 42, 75, 0.65), inset 0 0 20px rgba(255, 42, 75, 0.25);
  transform: translateY(-2px);
}

.dark-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 42, 75, 0.35);
  box-shadow: 0 0 15px rgba(255, 42, 75, 0.15);
  border-radius: 10px;
  padding: 1.75rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.dark-card:hover {
  border-color: var(--accent-red);
  box-shadow: 0 0 25px var(--accent-red-glow);
  transform: translateY(-3px);
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* 2x2 Grid Layout for Index Services */
.services-grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(280px, 460px));
  gap: 2rem;
  justify-content: center;
  align-content: center;
  margin: 2.5rem auto 0 auto;
  max-width: 980px;
}

/* Pricing Grid Layout */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 360px));
  gap: 2rem;
  justify-content: center;
  margin-top: 2rem;
}

.pricing-price {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 1.5rem 0;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
  text-align: left;
}

.pricing-features li {
  color: var(--text-muted);
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Buttons */
.btn-container {
  text-align: center;
  margin-bottom: 3.5rem;
}

.btn-primary {
  display: inline-block;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.8rem 2.2rem;
  border-radius: 6px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-red);
  border-color: var(--accent-red);
  box-shadow: 0 0 25px var(--accent-red);
}

.btn-glow {
  display: block;
  background: rgba(255, 42, 75, 0.25);
  border: 1px solid var(--accent-red);
  color: #ffffff;
  padding: 0.85rem 2rem;
  border-radius: 6px;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 18px var(--accent-red-glow);
  text-align: center;
}

.btn-glow:hover {
  background: var(--accent-red);
  box-shadow: 0 0 30px var(--accent-red);
}

/* Form Controls */
.contact-container {
  max-width: 650px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
  text-align: left;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  background: rgba(8, 11, 17, 0.85);
  border: 1px solid rgba(255, 42, 75, 0.35);
  border-radius: 6px;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-red);
  box-shadow: 0 0 12px var(--accent-red-glow);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  header {
    padding: 1rem 1.5rem;
  }
  .services-grid-2x2 {
    grid-template-columns: 1fr;
  }
  .hero-title {
    font-size: 2rem;
  }
}


/* Contact Form Styling Fixes */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  text-align: left;
}

.form-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted, #cbd5e1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, select.form-input, textarea.form-input {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(8, 8, 12, 0.9);
  border: 1px solid #232533;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus, select.form-input:focus, textarea.form-input:focus {
  border-color: #e30613;
  box-shadow: 0 0 10px rgba(227, 6, 19, 0.3);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23e30613%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem auto;
  padding-right: 2.5rem;
}

select.form-input option {
  background-color: #101118;
  color: #ffffff;
}

textarea.form-input {
  resize: vertical;
  min-height: 120px;
}
