@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&family=Google+Sans+Flex:opsz,wght@8..144,400..600&display=swap');

:root {
  --bg-color: #f4f1e9;
  --card-bg: #ffffff;
  --text-color: #111;
  --muted-text: #666;
  --border-color: #111;
  --shadow: rgba(0,0,0,0.08);
  --cta-color: #1723b6;
  --cta-hover: #0D0E0E;
}

body.dark {
  --bg-color: #0D0E0E;
  --card-bg: #151515;
  --text-color: #ffffff;
  --muted-text: #b5b5b5;
  --border-color: #b5b5b5;
  --shadow: rgba(0,0,0,0.6);
}

/* GLOBAL FONT → Google Sans Flex */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Google Sans Flex', system-ui, -apple-system, 'Segoe UI', sans-serif;
}

body {
  background: var(--bg-color);
  color: var(--text-color);
  display: flex;
  justify-content: center;
  padding: 40px 16px;
}

.card {
  max-width: 480px;
  width: 100%;
  background: var(--card-bg);
  border-radius: 24px;
  padding: 32px 24px;
}

/* HEADINGS → Montserrat */
h1,
h3 {
  font-family: 'Montserrat', sans-serif;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.profile-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
}

.menu-area {
  display: flex;
  gap: 14px;
  align-items: center;
}

.menu-link {
  color: var(--text-color);
  font-weight: 600;
  text-decoration: none;
}

.theme-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text-color);
}
/* FIX H1 LINE BREAK ON MOBILE */
@media (max-width: 420px) {
  .hero-title {
    font-size: 22px;
  }
}
/* HERO */
.hero {
  text-align: center;
  margin: 20px 0 24px;
}

.hero-title {
  font-size: clamp(20px, 5.5vw, 26px);
  font-weight: 700;
  white-space: nowrap;
}

/* BIO */
.bio {
  text-align: center;
 color: var(--muted-text);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* TABS */
.tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.tab {
  padding: 8px 16px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-color);
}

.tab.active {
  background: var(--text-color);
  color: var(--card-bg);
}

/* SERVICES */
.service-card {
  background: var(--card-bg);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 18px;
  box-shadow: 0 8px 20px var(--shadow);
}

.service-meta {
  font-size: 13px;
  color: var(--muted-text);
}

.service-card h3 {
  margin: 6px 0;
}

.service-card p {
  font-size: 14px;
  color: var(--muted-text);
  margin-bottom: 16px;
}

.service-footer {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge {
  background: #e8f0ff;
  padding: 4px 10px;
  border-radius: 12px;
}

/* CTA */
.cta-btn {
  margin-left: auto;
  background: var(--cta-color);
  color: #fff;
  padding: 8px 14px;
  border-radius: 18px;
  text-decoration: none;
  font-weight: 600;
}

.cta-btn:hover {
  background: var(--cta-hover);
}

/* FOLLOW */
.follow {
  margin-top: 40px;
  text-align: center;
}

.follow-title {
  font-size: 12px;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 16px;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.socials a {
  font-size: 22px;
  color: var(--text-color);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.8;
}

/* FOOTER */
.footer {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--muted-text);
  text-decoration: none;
}

.footer-links span {
  color: var(--muted-text);
}

.footer-credit span {
  color: red;
}
/* ===============================
   ABOUT PAGE
================================ */
.about-section {
  margin-top: 24px;
}

.about-section p {
  color: var(--muted-text);
  line-height: 1.7;
  margin-bottom: 12px;
}

.about-list {
  padding-left: 18px;
}
/* About page text fix */
.service-card p {
  color: var(--text-color);
}

body.dark .service-card p {
  color: #e6e6e6; /* brighter for dark mode */
}

