@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;800&display=swap');

:root {
  --accent:#2A51D1;
  --accent-light:#6ea7ff;
  --text:#111;
  --bg:#F5F7FB;
  --card:#fff;
  --shadow:0 12px 40px rgba(0,0,0,.09);
}

body.dark {
  --text:#E8E8E8;
  --bg:#111218;
  --card:#1A1B22;
  --accent:#8AA4FF;
  --shadow:0 12px 45px rgba(0,0,0,.65);
}

body {
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:"Inter", sans-serif;
  line-height:1.7;
  transition:background .3s, color .3s;
}

/* HEADER */
header {
  position:sticky; top:0; z-index:50;
  display:flex; justify-content:space-between; align-items:center;
  padding:20px 6%;
  background:var(--card);
  border-bottom:1px solid rgba(255,255,255,.06);
}

.logo { font-size:28px; font-weight:800; color:var(--accent); }

nav a {
  margin-left:28px;
  text-decoration:none;
  color:var(--accent);
  font-weight:600;
  transition:.3s;
}
nav a:hover { color:var(--accent-light); }
nav .active { text-decoration:underline; }

.theme-toggle {
  padding:9px 15px;
  border-radius:10px;
  border:none;
  cursor:pointer;
  background:var(--accent);
  color:white;
  font-size:18px;
  transition:.3s;
}
.theme-toggle:hover { transform:scale(1.07); }

/* HERO */
.hero {
  text-align:center;
  padding:150px 6%;
  background:linear-gradient(135deg,var(--accent),var(--accent-light));
  color:white;
  border-bottom-left-radius:90px;
  border-bottom-right-radius:90px;
  box-shadow:0 60px 120px rgba(0,0,0,.25);
}
.hero h1 { font-size:50px; margin-bottom:14px; }
.hero p { font-size:20px; max-width:760px; margin:auto; }

/* SECTIONS */
.section { max-width:1200px; margin:150px auto; padding:0 6%; }
.section h2 { font-size:38px; margin-bottom:55px; color:var(--accent); }

/* CARDS */
.cards { display:grid; gap:40px; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); }
.card {
  background:var(--card);
  padding:32px;
  border-radius:22px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.card:hover { transform:translateY(-10px); }

/* ICON GRID */
.icon-grid {
  display:grid;
  gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.icon-card {
  background:var(--card);
  padding:28px 32px;
  border-radius:20px;
  font-weight:600;
  font-size:18px;
  box-shadow:var(--shadow);
  transition:.35s;
}
.icon-card:hover { transform:scale(1.04); }

/* WORKFLOW */
.workflow-grid {
  display:grid;
  gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
}
.workflow-card {
  background:var(--card);
  padding:32px 36px;
  border-radius:20px;
  font-weight:600;
  box-shadow:var(--shadow);
  transition:.35s;
}
.workflow-card:hover { transform:scale(1.04); }

/* VALUES */
.values-grid {
  display:grid;
  gap:26px;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
}
.value-card {
  background:var(--card);
  padding:40px;
  border-radius:24px;
  text-align:center;
  box-shadow:var(--shadow);
  font-weight:700;
  font-size:20px;
  transition:.35s;
}
.value-card:hover { transform:scale(1.05); }

/* ✅ PROJECTS */
.projects-grid {
  display:grid;
  gap:40px;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.project-card {
  background:var(--card);
  padding:32px;
  border-radius:22px;
  box-shadow:var(--shadow);
  text-decoration:none;
  color:var(--text);
  transition:.35s;
}
.project-card h3 { font-size:22px; margin-bottom:12px; }
.project-card p { opacity:.85; }
.project-card:hover { transform:translateY(-10px); }

/* ✅ REVIEWS */
.reviews-grid {
  display:grid;
  gap:30px;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
}
.review-card {
  background:var(--card);
  padding:34px;
  border-radius:22px;
  box-shadow:var(--shadow);
  font-size:18px;
  line-height:1.6;
  transition:.35s;
}
.review-card span {
  display:block;
  margin-top:18px;
  font-size:15px;
  opacity:.7;
}
.review-card:hover { transform:scale(1.04); }


.reviews-note {
  font-size: 0.9rem;
  opacity: 0.7;
  margin-bottom: 1.5rem;
  line-height: 1.4;
}


/* FOOTER */
footer {
  background: var(--card);
  padding: 80px 6% 40px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 50px;
  margin-bottom: 30px;
}

.footer-about h3 { color: var(--accent); font-size: 24px; margin-bottom: 16px; }
.footer-about p { font-size: 16px; line-height: 1.6; margin-bottom: 20px; }

.footer-socials a {
  margin-right: 15px;
  display: inline-block;
  font-size: 18px;
  text-decoration: none;
  color: var(--text);
  transition: transform .3s, color .3s;
}
.footer-socials a:hover { transform: scale(1.1); color: var(--accent); }

.footer-links h4,
.footer-contact h4 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { text-decoration: none; color: var(--text); transition: color .3s; }
.footer-links a:hover { color: var(--accent); }

.footer-contact p { margin-bottom: 12px; font-size: 16px; }
.footer-contact a { color: var(--text); text-decoration: none; transition: color .3s; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  font-size: 14px;
  color: var(--text);
  opacity: .7;
  border-top: 1px solid rgba(0,0,0,.08);
  padding-top: 20px;
}
