
/*
Theme Name: Webnovation Theme
Author: Mahadi Hassan
Version: 1.0
*/

:root {
  --bg: #070b14;
  --bg-secondary: #0f1724;
  --text: #ffffff;
  --muted: #a1a1aa;
  --primary: #3b82f6;
  --glow: rgba(59,130,246,0.45);
  --border: rgba(255,255,255,0.08);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: Inter, sans-serif;
  overflow-x: hidden;
}

.container {
  width: min(1200px, 90%);
  margin: auto;
}

section {
  padding: 120px 0;
  position: relative;
}

h1 {
  font-size: 72px;
  line-height: 1.1;
  font-weight: 700;
}

h2 {
  font-size: 48px;
  margin-bottom: 20px;
}

p {
  color: var(--muted);
  line-height: 1.8;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  transition: 0.3s ease;
  font-weight: 600;
}

.btn-primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 0 40px var(--glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 60px rgba(59,130,246,0.7);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,130,246,0.25), transparent 70%);
  top: -200px;
  right: -100px;
  filter: blur(40px);
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.hero p {
  margin: 25px 0 35px;
  font-size: 18px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(280px,1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s ease;
  backdrop-filter: blur(12px);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 40px rgba(59,130,246,0.15);
}

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

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;

  background: rgba(7,11,20,0.45);
  backdrop-filter: blur(20px);

  border-bottom: 1px solid rgba(255,255,255,0.05);

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    padding 0.4s ease;
}

.navbar.scrolled {
  background: rgba(7,11,20,0.82);
  border-bottom: 1px solid rgba(59,130,246,0.12);
  box-shadow: 0 10px 40px rgba(0,0,0,0.25);
}

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

  padding: 22px 0;

  transition: 0.4s ease;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1px;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  position: relative;
  transition: 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0%;
  height: 2px;
  background: var(--primary);
  transition: 0.4s ease;
}

.nav-links a:hover {
  color: white;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.logo {
  font-size: 24px;
  font-weight: 700;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  transition: 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary);
}

.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(59,130,246,0.2);
  filter: blur(120px);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0px);
  }
}

@media(max-width:768px){
  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 36px;
  }

  section {
    padding: 80px 0;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .nav-links {
    display: none;
  }
}
.section-heading {
  max-width: 700px;
  margin-bottom: 60px;
}

.trust-grid,
.portfolio-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(260px,1fr));
  gap: 30px;
}

.trust-card,
.process-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 24px;
  padding: 40px;
  transition: 0.4s ease;
  backdrop-filter: blur(12px);
}

.trust-card:hover,
.process-card:hover {
  transform: translateY(-8px);
  border-color: rgba(59,130,246,0.4);
  box-shadow: 0 0 40px rgba(59,130,246,0.15);
}

.portfolio-card {
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  transition: 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 50px rgba(59,130,246,0.18);
}

.portfolio-image {
  height: 280px;
  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.3),
    rgba(255,255,255,0.02)
  );
}

.portfolio-content {
  padding: 35px;
}

.portfolio-content span {
  color: var(--primary);
  font-size: 14px;
}

.portfolio-content h3 {
  margin: 12px 0 15px;
  font-size: 28px;
}

.process-card span {
  color: var(--primary);
  font-size: 48px;
  font-weight: 700;
  opacity: 0.3;
}

.cta-section {
  padding-bottom: 140px;
}

.cta-box {
  padding: 80px;
  border-radius: 32px;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(59,130,246,0.18),
    rgba(255,255,255,0.03)
  );
  border: 1px solid rgba(59,130,246,0.2);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: '';
  position: absolute;
  width: 400px;
  height: 400px;
  background: rgba(59,130,246,0.15);
  filter: blur(120px);
  top: -100px;
  right: -100px;
}

.cta-box h2 {
  margin-bottom: 20px;
}

.cta-box p {
  max-width: 600px;
  margin: auto auto 35px;
}
.grid-background {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);

  background-size: 80px 80px;

  mask-image: radial-gradient(circle at center, black, transparent 80%);

  opacity: 0.5;
}
.cursor-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(59,130,246,0.12);
  filter: blur(120px);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 0;
}
.btn {
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  top: var(--y);
  left: var(--x);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.5s ease;
}

.btn:hover::before {
  transform: translate(-50%, -50%) scale(3);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
}

.stat-card {
  padding: 50px;
  border-radius: 28px;

  background: rgba(255,255,255,0.03);

  border: 1px solid rgba(255,255,255,0.08);

  text-align: center;

  transition: 0.4s ease;
}

.stat-card:hover {
  transform: translateY(-8px);

  border-color: rgba(59,130,246,0.25);

  box-shadow: 0 0 40px rgba(59,130,246,0.12);
}

.stat-card h2 {
  font-size: 64px;
  color: var(--primary);
  margin-bottom: 10px;
}
.floating-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(140px);
  z-index: -1;
  opacity: 0.18;
  pointer-events: none;
}

.blob-1 {
  width: 400px;
  height: 400px;
  background: #3b82f6;
  top: 10%;
  left: -120px;
}

.blob-2 {
  width: 500px;
  height: 500px;
  background: #2563eb;
  bottom: -200px;
  right: -120px;
}
.menu-toggle {
  width: 50px;
  height: 50px;

  display: none;

  flex-direction: column;
  justify-content: center;
  align-items: center;

  gap: 7px;

  cursor: pointer;

  z-index: 1001;
}

.menu-toggle span {
  width: 28px;
  height: 2px;

  background: white;

  transition: 0.4s ease;
}

.mobile-menu {
  position: fixed;
  inset: 0;

  background:
    radial-gradient(circle at top right,
      rgba(59,130,246,0.15),
      rgba(7,11,20,0.98)
    );

  display: flex;

  flex-direction: column;

  justify-content: center;
  align-items: center;

  gap: 40px;

  transform: translateY(-100%);

  transition: 0.7s cubic-bezier(.77,0,.18,1);

  z-index: 1000;
}

.mobile-menu.active {
  transform: translateY(0%);
}

.mobile-menu a {
  color: white;

  text-decoration: none;

  font-size: 42px;

  font-weight: 700;

  transition: 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
  transform: translateX(10px);
}

.menu-toggle.active span:nth-child(1) {
  transform:
    rotate(45deg)
    translateY(6px);
}

.menu-toggle.active span:nth-child(2) {
  transform:
    rotate(-45deg)
    translateY(-6px);
}

@media(max-width:768px){

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
  }

}
.footer {
  padding: 120px 0 50px;

  border-top: 1px solid rgba(255,255,255,0.06);

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(255,255,255,0.02)
    );
}

.footer-grid {
  display: grid;

  grid-template-columns:
    2fr 1fr 1fr 1fr;

  gap: 60px;
}

.footer-brand h3 {
  font-size: 32px;
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links h4 {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted);

  text-decoration: none;

  transition: 0.3s ease;
}

.footer-links a:hover {
  color: white;
  transform: translateX(5px);
}

.footer-bottom {
  margin-top: 80px;

  padding-top: 30px;

  border-top: 1px solid rgba(255,255,255,0.06);

  text-align: center;
}

@media(max-width:768px){

  .footer-grid {
    grid-template-columns: 1 fr;
  }

}