@import url(https://madsundar.com/css/reviewBanner.css);
@import url(https://madsundar.com/css/header.css);

:root{
  --bg: #04060b;
  --surface: #070b13;
  --surface-soft: #0c111d;
  --text: #f7f8ff;
  --muted: #a5aec6;
  --accent: #00e5ff;
  --accent-soft: rgba(0, 229, 255, 0.08);
  --radius: 16px;
  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.7);
}

body{
  background: var(--bg);
  color: var(--text);
}

/* Base wrapper: used everywhere */
.wrap{
  max-width: 1100px;
  margin: 0 auto;
}

/* Header + nav wrapper */
header .wrap{
  padding: 0 1.5rem;
}

/* Main page content wrapper */
main.wrap{
  padding: 4rem 1.5rem 5rem;
}


/* ---------- HERO ---------- */

.hero{
  padding: 3.5rem 2.25rem 3rem;
  margin-bottom: 3.5rem;
  border-radius: 24px;
  background:
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.18), transparent 55%),
    radial-gradient(circle at bottom right, rgba(255, 75, 209, 0.22), transparent 55%),
    var(--surface);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
}

.hero::before{
  content: "";
  position: absolute;
  inset-inline: -20%;
  top: -40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.55;
  pointer-events: none;
}

.hero h1{
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1rem;
}

.hero h2{
  font-size: clamp(1.05rem, 1.4vw + 0.6rem, 1.35rem);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 0.85rem;
  max-width: 40rem;
}

.hero .hero-lead{
  margin: 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
}

.hero .cta{
  margin-top: 2.1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* ---------- Buttons ---------- */

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease,
              background-color 0.18s ease, color 0.18s ease;
}

.btn.primary{
  background: var(--accent);
  color: #001018;
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.5),
    0 16px 32px rgba(0, 0, 0, 0.85);
}

.btn.primary:hover{
  transform: translateY(-1px);
  box-shadow:
    0 0 0 1px rgba(0, 229, 255, 0.7),
    0 20px 38px rgba(0, 0, 0, 0.95);
}

.btn.secondary{
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.75);
}

.btn.secondary:hover{
  border-color: var(--accent);
  background: rgba(0, 229, 255, 0.04);
  transform: translateY(-1px);
}

/* ---------- Sections / divider ---------- */

.hero + section{
  margin-top: 2.75rem;
  padding-top: 2.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  position: relative;
}

.hero + section::before{
  content: "";
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.4;
}

/* ---------- Grids & cards ---------- */

.grid{
  display: grid;
  gap: 1.75rem;
  align-items: stretch;
  margin-bottom: 3rem;
}

@media (min-width: 900px){
  #services.grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.card{
  position: relative;
  background: var(--surface-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem 1.6rem;
  border: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.card::before{
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at top left, var(--accent-soft), transparent 60%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease-out;
}

.card:hover::before{
  opacity: 1;
}

.card h3{
  margin: 0 0 0.7rem;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.card p{
  margin: 0 0 0.55rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--muted);
}

/* Portfolio & contact tweaks */

#portfolio ul{
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}

#portfolio li{
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

#portfolio a{
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

#portfolio a:hover{
  border-bottom-color: var(--accent);
}

#contact .muted{
  color: var(--muted);
  font-size: 0.95rem;
}

