/* --- Variables & Reset --- */
:root {
  --primary: #0f172a;
  --accent: #3b82f6;
  --secondary: #64748b;
  --light: #f8fafc;
  --dark: #020617;
  --text-body: #334155;
  --transition: all 0.3s ease;
  --font-main: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-body);
  line-height: 1.6;
  background-color: var(--light);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
}

/* --- Typography --- */
h1,
h2,
h3 {
  color: var(--primary);
  font-weight: 800;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -2px;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

p {
  margin-bottom: 1.5rem;
  color: var(--secondary);
  font-size: 1.1rem;
}

.text-gradient {
  background: linear-gradient(to right, var(--accent), #8b5cf6);
  -webkit-background-clip: text;
  color: transparent;
}

.section-label {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

/* --- Layout Utilities --- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-padding {
  padding: 80px 0;
}

.section-gray {
  background-color: #e2e8f0;
}

.text-center {
  text-align: center;
}

/* Grid System */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.align-start {
  align-items: start;
}

.max-600 {
  max-width: 600px;
  margin: 0 auto;
}

.max-800 {
  max-width: 800px;
  margin: 0 auto;
}

.max-700 {
  max-width: 700px;
  margin: 0 auto;
}

/* --- Visual Backgrounds --- */
.bg-net {
  background-color: #f8fafc;
  background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
  background-size: 30px 30px;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: var(--accent);
  color: white;
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  margin-left: 10px;
}

.btn-secondary:hover {
  background: var(--primary);
  color: white;
}

.full-width {
  width: 100%;
  text-align: center;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
}

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

.nav-link {
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  margin: 5px auto;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  background: radial-gradient(circle at top right, #e0f2fe, #fff);
  padding-top: 70px;
}

.hero-content {
  max-width: 800px;
}

.hero-inner {
  height: 50vh;
  min-height: 400px;
  background: radial-gradient(circle at bottom left, #0f172a, #1e293b);
  padding-top: 80px;
  text-align: center;
  justify-content: center;
  color: white;
}

.hero-inner h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  color: white;
}

.hero-inner p {
  max-width: 700px;
  margin: 0 auto;
  color: #94a3b8;
}

/* --- Features & Cards --- */
.check-list li {
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.check-list i {
  color: var(--accent);
}

.about-image {
  position: relative;
  height: 400px;
  background: #cbd5e1;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-card {
  background: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  text-align: center;
  width: 140px;
}

.tech-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 10px;
}

.tech-card.floating {
  position: absolute;
  top: 20%;
  right: -20px;
  animation: float 6s ease-in-out infinite;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  padding: 40px 30px;
  border-radius: 12px;
  transition: var(--transition);
  border: 1px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border-color: var(--accent);
}

.icon-box {
  width: 60px;
  height: 60px;
  background: #eff6ff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
  font-size: 1.5rem;
}

.text-center .icon-box {
  margin-left: auto;
  margin-right: auto;
}

/* --- Partner Tags (General) --- */
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.partner-tag {
  background: white;
  border: 1px solid #cbd5e1;
  padding: 15px;
  text-align: center;
  border-radius: 6px;
  font-weight: 600;
  color: var(--secondary);
  transition: var(--transition);
}

.partner-tag:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* --- CLOUD/SD-WAN PARTNER LOGOS --- */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
}

.logo-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  width: 100%;
  transition: var(--transition);
}

.logo-item img {
  max-width: 140px;
  max-height: 60px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: var(--transition);
}

.logo-item:hover {
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transform: translateY(-3px);
}

.logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* --- MARKET FOCUS & BENEFITS --- */
.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.market-card {
  background: white;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: var(--transition);
}

.market-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.market-card i {
  font-size: 1.5rem;
  color: var(--accent);
}

.market-card h4 {
  margin: 0;
  font-size: 1rem;
  color: var(--primary);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.benefit-icon {
  background: #eff6ff;
  color: var(--accent);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.benefit-text h4 {
  margin: 0 0 5px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary);
}

.benefit-text p {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
  color: var(--secondary);
}

/* --- PROVIDER GRID --- */
.provider-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  margin-top: 40px;
  padding: 0 20px;
}

.provider-grid img {
  max-width: 140px;
  max-height: 48px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.75;
  transition: all 0.3s ease;
}

.provider-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.provider-grid.compact {
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 20px;
}

.provider-grid.compact img {
  max-height: 40px;
  opacity: 0.6;
}

.provider-grid.compact img:hover {
  opacity: 1;
}

/* --- CTA TRUST CARD (Providers Page) --- */
.cta-card {
  background: white;
  padding: 60px 40px;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  border: 1px solid #e2e8f0;
  max-width: 900px;
  margin: 0 auto;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0f9ff;
  color: var(--accent);
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.trust-statement {
  font-size: 1.5rem;
  color: var(--text-body);
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 30px;
}

.highlight {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 2px solid #e2e8f0;
}

.divider {
  height: 1px;
  width: 100px;
  background: #e2e8f0;
  margin: 0 auto 30px auto;
}

.cta-card h2 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.cta-card p {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.1rem;
  opacity: 0.8;
}

/* --- LOGO TICKER (Index Page) --- */
.logo-ticker-section {
  background: white;
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid #e2e8f0;
  position: relative;
}

.logo-ticker-track {
  display: flex;
  align-items: center;
  gap: 60px;
  width: max-content;
  animation: ticker 40s linear infinite;
}

.logo-ticker-track img {
  height: 40px;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: var(--transition);
}

.logo-ticker-track img:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* --- Form --- */
.contact-wrapper {
  display: flex;
  justify-content: center;
}

.contact-content {
  background: white;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* --- FOOTER --- */
footer {
  background: var(--primary);
  color: white;
  padding: 80px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  color: white;
  margin-bottom: 10px;
}

.footer-col h4 {
  color: #94a3b8;
  margin-bottom: 20px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-col a {
  display: block;
  color: #cbd5e1;
  margin-bottom: 12px;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-col a:hover {
  color: var(--accent);
  transform: translateX(5px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 25px;
  margin-top: 20px;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #64748b;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: #64748b;
  margin-bottom: 0;
}

.footer-links a:hover {
  color: white;
  transform: none;
}

/* --- Animations --- */
@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

/* --- DROPDOWN MENU --- */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 220px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  border-radius: 8px;
  padding: 10px 0;
  border: 1px solid #e2e8f0;
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  display: block;
  margin: 0;
}

.dropdown-menu li a {
  color: var(--text-body);
  padding: 12px 25px;
  text-decoration: none;
  display: block;
  font-size: 0.95rem;
  font-weight: 500;
  transition: all 0.2s ease;
  border-left: 3px solid transparent;
}

.dropdown-menu li a:hover {
  background-color: #f8fafc;
  color: var(--accent);
  border-left: 3px solid var(--accent);
  padding-left: 30px;
  transform: none;
}

/* --- ASSESSMENT SYSTEM STYLES --- */
.nav-cta {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: white !important;
  border: none;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  padding: 12px 28px;
  transform: translateY(0);
  position: relative;
  overflow: hidden;
}

.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
  background: linear-gradient(135deg, #2563eb, var(--primary));
}

.step-strip {
  display: flex;
  justify-content: space-between;
  margin: 40px 0;
  position: relative;
  flex-wrap: wrap;
  gap: 20px;
}

.step-item {
  flex: 1;
  text-align: center;
  position: relative;
  min-width: 140px;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: var(--light);
  border: 2px solid var(--accent);
  color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin: 0 auto 15px;
  z-index: 2;
  position: relative;
}

.step-item h4 {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 5px;
}

.step-item p {
  font-size: 0.85rem;
  color: var(--secondary);
  line-height: 1.4;
}

@media (min-width: 768px) {
  .step-strip::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 50px;
    right: 50px;
    height: 2px;
    background: #e2e8f0;
    z-index: 1;
  }
}

.assessment-form-wrapper {
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--accent);
}

.form-note {
  font-size: 0.85rem;
  color: #64748b;
  text-align: center;
  margin-top: 15px;
  display: block;
}

/* --- Mobile Responsive --- */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .grid-2 {
    grid-template-columns: 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: white;
    width: 100%;
    padding: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: 0.3s;
  }

  .nav-menu.active {
    left: 0;
  }

  .hero {
    height: auto;
    padding: 150px 0 80px;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: transparent;
    padding: 0 0 0 20px;
    min-width: 100%;
  }

  .dropdown-menu li a {
    color: #64748b;
    padding: 10px 0;
    font-size: 0.9rem;
  }

  .dropdown-menu li a:hover {
    background: transparent;
    color: var(--accent);
    border: none;
    padding-left: 5px;
  }
}