/* ---------------- CORE VARIABLES ---------------- */
:root {
  --bg: #ffffff;
  --text: #555555;
  --heading: #0f172a;
  --accent: #0B4DF1;   /* Sarvada brand color */
  --light-bg: #f5f7ff;
}


/* ---------------- BASE ---------------- */
body {
    font-family: 'Roboto', system-ui, -apple-system, BlinkMacSystemFont,
               'Segoe UI', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
}

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 300;
  letter-spacing: -0.015em;
}

a { text-decoration: none; }

/* ---------------- HEADER ---------------- */
.logo-icon {
  width: 32px;
  height: auto;
}

.header {
  background: rgba(255,255,255,0.9);
  border-bottom: 1px solid rgba(0,0,0,0.05);
  padding: 15px 0;
}

.logo {
  font-size: 26px;
  font-weight: 400;
}

.nav li {
  list-style: none;
  margin-left: 20px;
}

.nav a {
  color: #777;
  font-size: 14px;
}

.nav a:hover,
.nav a.active {
  color: var(--heading);
}

/* ---------------- HERO ---------------- */
.hero {
  padding: 140px 0 100px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.1rem;
  max-width: 500px;
}

.hero-actions {
  margin-top: 30px;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
}

.btn-primary:hover {
  background: #111827;
}

.btn-link {
  margin-left: 20px;
  color: var(--heading);
}

/* ---------------- SECTIONS ---------------- */
.section {
  padding: 90px 0;
}

.light-bg {
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title span {
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #888;
}

.section-title h2 {
  font-size: 2.6rem;
}

/* ---------------- SERVICES ---------------- */
.service-box {
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 40px 30px;
  text-align: center;
  transition: 0.4s;
}

.service-box i {
  font-size: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}

.service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

/* ---------------- WHY US ---------------- */
.why-list {
  margin-top: 30px;
  padding-left: 0;
  list-style: none;
}

.why-list li {
  margin-bottom: 18px;
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
}

.why-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 10px;
}

.why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.why-card {
  border: 1px solid rgba(0,0,0,0.06);
  padding: 30px;
  transition: 0.4s;
}

.why-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

@media (max-width: 768px) {
  .why-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
}

/* ---------------- PORTFOLIO ---------------- */
.portfolio-item {
  background: #fff;
  padding: 30px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: 0.4s;
  height: 100%;
}

.portfolio-item img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 20px;
}

.portfolio-item h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.portfolio-item p {
  font-size: 0.95rem;
  margin-bottom: 15px;
}

.portfolio-item span {
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: #777;
}

.portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.06);
}

.portfolio-footer {
  text-align: center;
  margin-top: 80px;
}

.portfolio-footer p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px;
}


/* ---------------- TEAM ---------------- */
.team-member img {
  width: 100%;
  border-radius: 6px;
  margin-bottom: 15px;
  filter: grayscale(20%);
  transition: 0.3s;
}

.team-member:hover img {
  filter: grayscale(0%);
  transform: scale(1.02);
}

.team-member h4 {
  font-size: 1.3rem;
}

.team-member span {
  font-size: 0.9rem;
  color: #777;
}

/* ---------------- CONTACT ---------------- */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 15px;
  border: 1px solid rgba(0,0,0,0.1);
}

.contact-form button {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 14px;
  width: 100%;
}

/* ---------------- FOOTER ---------------- */
.footer {
  text-align: center;
  padding: 40px 0;
  font-size: 14px;
  color: #777;
}

/* ---------------- ABOUT STATS ---------------- */
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  flex-wrap: wrap;
}

.stat-box h3 {
  font-size: 2.2rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}

.stat-box span {
  font-size: 0.9rem;
  color: #777;
}

