@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #09090b;
  --text-primary: #f4f4f5;
  --text-muted: #a1a1aa;
  --card-bg: rgba(24, 24, 27, 0.6);
  --card-border: rgba(255, 255, 255, 0.08);
  --accent-indigo: #818cf8;
  --accent-violet: #6366f1;
  --accent-lime: #a3e635;
  --accent-lime-muted: rgba(163, 230, 53, 0.08);
  --accent-lime-border: rgba(163, 230, 53, 0.25);
  
  --font-title: 'Plus Jakarta Sans', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Base Reset */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth !important;
}

body {
  background-color: var(--bg);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Magical Underlines */
.underline--magical {
  background-image: linear-gradient(120deg, rgba(129, 140, 248, 0.3) 0%, rgba(99, 102, 241, 0.3) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 95%;
  transition: background-size 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  padding-bottom: 2px;
}

.underline--magical:hover {
  background-size: 100% 88%;
  color: #ffffff !important;
}

.underline--magical-lime {
  background-image: linear-gradient(120deg, rgba(163, 230, 53, 0.35) 0%, rgba(132, 204, 22, 0.35) 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.18em;
  background-position: 0 95%;
  transition: background-size 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease;
  padding-bottom: 2px;
}

.underline--magical-lime:hover {
  background-size: 100% 88%;
  color: #ffffff !important;
}

.move-up-slightly {
  position: relative;
  top: 0;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.move-up-slightly:hover {
  transform: translateY(-8px);
}


a {
  text-decoration: none;
  color: inherit;
}

/* Glassmorphic Sticky Header */
header.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 5%;
  background: rgba(9, 9, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 9999;
  box-sizing: border-box;
}

#logoImage {
  display: inline-block;
}

#logoImage a {
  display: block;
  width: 45px;
  height: 45px;
  background: url('/assets/logo.png') no-repeat center center/contain;
  transition: transform 0.3s ease;
}

#logoImage a:hover {
  transform: scale(1.05);
}

/* Navigation Drawer */
.nav {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 10000;
  top: 0;
  right: 0;
  background: rgba(9, 9, 11, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  overflow-x: hidden;
  transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding-top: 80px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.nav ul {
  list-style: none;
  padding: 0 40px;
}

.nav li {
  margin-bottom: 1.5rem;
}

.nav a {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 22px;
  color: #a1a1aa;
  transition: color 0.3s ease, transform 0.3s ease;
  display: inline-block;
  padding: 5px 0;
}

.nav a:hover {
  color: #ffffff;
  transform: translateX(8px);
}

.nav .closebtn {
  position: absolute;
  top: 25px;
  right: 30px;
  font-size: 36px;
  color: #a1a1aa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.nav .closebtn:hover {
  color: #ffffff;
}

/* Hamburger Menu button */
.hamburger {
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 10001;
  transition: transform 0.3s ease;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
}

.hamburger:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  background: var(--bg);
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 20px 80px 20px;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, rgba(99, 102, 241, 0) 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Avatar Styling */
.hero-avatar-wrapper {
  margin-bottom: 2rem;
  position: relative;
  display: inline-block;
}

.hero-avatar {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 6px solid rgba(255, 255, 255, 0.1);
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: block;
}

.hero-avatar:hover {
  transform: scale(1.05) rotate(1deg);
  border-color: var(--accent-lime);
  box-shadow: 0 15px 35px rgba(163, 230, 53, 0.2), 0 0 0 1px rgba(163, 230, 53, 0.1);
}

@media (min-width: 768px) {
  .hero-avatar {
    width: 220px;
    height: 220px;
    border-width: 8px;
  }
}

.hero h1 {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 3.8rem;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  margin-bottom: 1.25rem;
  background: linear-gradient(to right, #ffffff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 400;
}

.btn {
  font-family: var(--font-title);
  font-weight: 700;
  background: #ffffff;
  color: #09090b;
  padding: 0.95rem 2.25rem;
  border-radius: 9999px;
  font-size: 1rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.1);
  border: none;
  display: inline-block;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
  background: #f4f4f5;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

/* Availability badge */
.availability-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent-lime);
  background: var(--accent-lime-muted);
  border: 1px solid var(--accent-lime-border);
  padding: 0.45rem 1.1rem;
  border-radius: 9999px;
  margin-bottom: 1.75rem;
}

.badge-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-lime);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(1.4); }
}

/* Hero roles subtitle */
.hero-roles {
  font-family: var(--font-body);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--accent-indigo);
  margin: 0 0 1rem 0 !important;
  letter-spacing: 0.01em;
}

/* Hero description */
.hero-sub {
  max-width: 680px;
  margin: 0 auto 2.5rem auto !important;
  line-height: 1.7;
}

/* CTA buttons in hero */
.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}


.btn-ghost {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: #ffffff;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 0.85rem 2rem;
  border-radius: 9999px;
  transition: background 0.2s ease, border-color 0.2s ease;
  display: inline-block;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

/* ── Skills strip ── */
.skills-strip {
  background: rgba(24,24,27,0.5);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 1.25rem 5%;
  overflow-x: auto;
}

.skills-inner {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.skill-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: #a1a1aa;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.4rem 0.85rem;
  border-radius: 9999px;
  white-space: nowrap;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.skill-pill:hover {
  color: #ffffff;
  border-color: rgba(255,255,255,0.2);
}

.skill-pill i {
  font-size: 0.85rem;
  color: #6366f1;
}

/* ── CTA Banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(99,102,241,0.12) 0%, rgba(139,92,246,0.08) 100%);
  border-top: 1px solid rgba(99,102,241,0.15);
  border-bottom: 1px solid rgba(99,102,241,0.15);
  padding: 5rem 5%;
  text-align: center;
}

.cta-inner {
  max-width: 600px;
  margin: 0 auto;
}

.cta-inner h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.cta-inner p {
  color: #a1a1aa;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Main Grid Section */
.mainText {
  background: #09090b;
  color: #ffffff;
  padding: 80px 5% 100px 5%;
  max-width: 1200px;
  margin: 0 auto;
}


.mainText h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 2.25rem;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: center;
}

.mainText > p {
  font-size: 1.05rem;
  color: #a1a1aa;
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.6;
}

/* Service Grid & Glassmorphic Cards */
.service-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  width: 100%;
}

.service-card {
  background: rgba(24, 24, 27, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.06);
  border-radius: 24px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease, 
              box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 
              0 0 0 1px rgba(255, 255, 255, 0.05),
              0 10px 20px rgba(129, 140, 248, 0.03);
}

/* Card Image Preview */
.card-preview {
  width: 100%;
  height: 160px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 16px;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.service-card:hover .card-preview {
  transform: scale(1.02);
}

.card-preview::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(9, 9, 11, 0.8) 100%);
}

.card-header-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  width: 100%;
}

/* Icons inside cards */
.card-icon {
  font-size: 1.75rem;
  color: var(--accent-indigo);
  background: linear-gradient(135deg, #a5b4fc 0%, var(--accent-violet) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  flex-shrink: 0;
}

.service-card h3 {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.3rem;
  color: #ffffff;
}

.service-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-muted) !important;
  margin: 0 0 1.75rem 0 !important;
  text-align: left !important;
}

/* Sleek Buttons */
.btn-small {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
  padding: 0.65rem 1.4rem;
  border-radius: 9999px;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: auto;
  margin-top: auto;
  cursor: pointer;
}

.btn-small:hover {
  background: #ffffff;
  color: #09090b;
  border-color: #ffffff;
  transform: translateY(-1px);
}


/* Footer styling */
.footer {
  background: #09090b;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #71717a;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 10%;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.footer-left {
  font-size: 1rem;
  font-weight: 600;
  color: #ffffff;
}

.footer-contact p {
  margin: 0;
  color: #a1a1aa;
}

/* Responsive Overrides */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.75rem;
  }
  .footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
  }
}
