/* Global */
:root {
  --primary: #16c79a;        /* parrot green */
  --primary-dark: #0f9f7b;
  --primary-soft: #e9fbf5;
  --text-main: #111827;
  --text-muted: #6b7280;
  --border-soft: #e5e7eb;
}

body {
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  scroll-behavior: smooth;
  background: #f5f7fa;
  color: var(--text-main);
  overflow-x: hidden;
}


/* Navbar */
.navbar {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.05);
}

.navbar-brand,
.nav-link {
  color: var(--text-main) !important;
}

.nav-link.active {
  color: var(--primary-dark) !important;
  font-weight: 600;
}

.nav-link:hover {
  color: var(--primary-dark) !important;
}

/* mobile hamburger */
.navbar-toggler {
  border-color: rgba(15, 23, 42, 0.25);
}

.navbar-toggler-icon {
  width: 1.3em;
  height: 1.3em;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(15,23,42,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}

/* Hero (home page) */
#hero {
  min-height: 100vh;
  background: radial-gradient(circle at top left, #e9fbf5 0, #ffffff 55%);
  color: var(--text-main);
  display: flex;
  align-items: center;
  padding-top: 80px;
  padding-bottom: 80px;
   padding-bottom: 60px;
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  color: #022c22;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.9rem;
  border-radius: 999px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.3);
}

/* Buttons */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--primary), #22c55e);
  border: none;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  font-weight: 500;
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(22, 199, 154, 0.35);
}

.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--primary-dark), #16a34a);
  color: #ffffff;
}

.btn-outline-custom {
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
  background-color: transparent;
}

.btn-outline-custom:hover {
  background-color: var(--primary-soft);
  color: var(--primary-dark);
}

/* Hero card */
.hero-card {
  background: #ffffff;
  border-radius: 1.5rem;
  border: 1px solid var(--border-soft);
  padding: 1.5rem;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

/* Tech badges */
.stack-badge {
  font-size: 0.8rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-soft);
  color: var(--text-main);
  background-color: #ffffff;
  white-space: nowrap;
}


/* Sections generic */
section {
  padding-top: 80px;
  padding-bottom: 80px;
}

.section-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #022c22;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 540px;
}

/* Cards (services, about, etc.) */
.card-custom {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background-color: #ffffff;
  transition: all 0.2s ease;
  height: 100%;
}

.card-custom:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  border-color: var(--primary);
}

.card-custom .card-title {
  font-weight: 600;
  font-size: 1.05rem;
}

/* Portfolio tags */
.tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  background-color: var(--primary-soft);
  color: var(--primary-dark);
  margin-right: 0.25rem;
  margin-bottom: 0.25rem;
}

/* Contact section */
.contact-section,
#contact {
  background-color: #f0fdf4; /* very light green */
  color: var(--text-main);
  padding-top: 80px;
  padding-bottom: 80px;
}

.contact-card {
  border-radius: 1rem;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#contact .form-control,
#contact .form-select,
.contact-section .form-control,
.contact-section .form-select {
  background-color: #ffffff;
  border-color: var(--border-soft);
  color: var(--text-main);
  box-shadow: none;
}

#contact .form-control:focus,
#contact .form-select:focus,
.contact-section .form-control:focus,
.contact-section .form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(22, 199, 154, 0.2);
}

#contact .form-control::placeholder,
.contact-section .form-control::placeholder {
  color: var(--text-muted);
}

.contact-note {
  color: #b91c1c; /* red-ish for warning line */
}

/* Right side text */
.contact-side {
  padding-top: 0.5rem;
}

/* Floating WhatsApp button */
.whatsapp-floating {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background-color: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 24px;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
  z-index: 999;
}

.whatsapp-floating:hover {
  background-color: #1ebe57;
  color: #ffffff;
}

/* Mobile tweaks */
@media (max-width: 767.98px) {
  .contact-section,
  #contact {
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .contact-card {
    margin-bottom: 1.5rem;
  }

  .whatsapp-floating {
    right: 1rem;
    bottom: 1rem;
  }
}

/* Footer */
footer {
  background-color: #ffffff;
  color: var(--text-muted);
  font-size: 0.85rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border-soft);
}

/* Page header (services, projects, about) */
.page-header {
  padding: 80px 0 40px;
  background: linear-gradient(to bottom, #e9fbf5, #ffffff);
  text-align: center;
}

.page-header h1 {
  font-weight: 700;
  font-size: 2.4rem;
  color: #022c22;
}

.page-header p {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* Projects page */
.projects-section {
  padding: 50px 0 70px;
}

.project-card {
  border-radius: 1.1rem;
  border: 1px solid var(--border-soft);
  background: #ffffff;
  padding: 1.6rem 1.5rem;
  height: 100%;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
}

.project-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #022c22;
}

.project-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.8rem;
}

/* ===== ABOUT PAGE REFINEMENTS ===== */

.about-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.about-section-main {
  padding-top: 50px;
  padding-bottom: 70px;
}

.about-row {
  row-gap: 1.75rem;
}

/* Make top two cards slightly more prominent */
.about-top-card {
  padding: 1.6rem 1.6rem;
}

/* Slightly softer background for Experience snapshot */
.about-experience-card {
  border-color: rgba(22, 199, 154, 0.4);
  background: linear-gradient(to bottom right, #ffffff, #f4fffb);
}

/* Bottom row cards */
.about-bottom-card {
  padding: 1.5rem 1.5rem;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 25px;
  right: 25px;
  background-color: #25D366;
  color: white;
  border-radius: 50%;
  text-align: center;
  font-size: 32px;
  z-index: 999;
  box-shadow: 0 6px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.whatsapp-float:hover {
  opacity: 0.9;
}


/* On very large screens, avoid feeling too stretched */
@media (min-width: 1200px) {
  .about-section-main {
    padding-top: 40px;
    padding-bottom: 60px;
  }
}

/* On mobile, give a bit more breathing room */
@media (max-width: 767.98px) {
  .about-section-main {
    padding-top: 32px;
    padding-bottom: 48px;
  }
}
#contact.contact-section {
  padding-top: 60px;
}
