:root {
  --bg: #060606;
  --bg-2: #0d0d0d;
  --card: rgba(255, 255, 255, 0.06);
  --card-border: rgba(255, 255, 255, 0.12);
  --text: #f5f7fb;
  --muted: #b8bfcc;
  --accent: #7c5cff;
  --accent-2: #00d4ff;
  --success: #25d366;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --radius: 22px;
  --max-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(124, 92, 255, 0.15), transparent 25%),
    radial-gradient(circle at bottom right, rgba(0, 212, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #050505 0%, #0a0a0a 45%, #050505 100%);
  overflow-x: hidden;
  position: relative;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(92%, var(--max-width));
  margin: 0 auto;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -3;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 95%);
}

.glow {
  position: fixed;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(100px);
  z-index: -2;
  opacity: 0.5;
}

.glow-1 {
  top: 80px;
  left: -60px;
  background: rgba(124, 92, 255, 0.28);
}

.glow-2 {
  right: -60px;
  bottom: 100px;
  background: rgba(0, 212, 255, 0.22);
}

.section {
  padding: 100px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 999;
  backdrop-filter: blur(14px);
  background: rgba(8, 8, 8, 0.72);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.logo {
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.desktop-nav {
  display: flex;
  gap: 26px;
}

.desktop-nav a,
.mobile-nav a {
  color: var(--muted);
  transition: 0.3s ease;
  font-size: 0.95rem;
}

.desktop-nav a:hover,
.mobile-nav a:hover {
  color: white;
}

.menu-btn {
  display: none;
  border: none;
  background: transparent;
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
}

.mobile-nav {
  display: none;
  flex-direction: column;
  padding: 0 4% 18px;
  gap: 14px;
}

.mobile-nav.show {
  display: flex;
}

.hero {
  padding-top: 70px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
}

.tagline {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0.5px;
}

.hero-left h1 {
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 1.02;
  margin-bottom: 20px;
  font-weight: 800;
}

.hero-left h1 span {
  display: block;
  margin-top: 12px;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
  color: var(--muted);
  font-weight: 500;
  line-height: 1.5;
}

.hero-text {
  color: var(--muted);
  line-height: 1.9;
  max-width: 700px;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.btn {
  padding: 14px 24px;
  border-radius: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: white;
  box-shadow: var(--shadow);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: white;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
}

.hero-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mini-card,
.glass-card,
.skill-box,
.service-card,
.project-card,
.timeline-item,
.profile-card,
.contact-form-box {
  background: var(--card);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.mini-card {
  padding: 20px;
  border-radius: 18px;
}

.mini-card h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.mini-card p {
  color: var(--muted);
  font-size: 0.92rem;
}

.profile-card {
  border-radius: 28px;
  padding: 24px;
}

.profile-frame {
  border-radius: 24px;
  overflow: hidden;
  margin-bottom: 20px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(0,212,255,0.15));
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-frame img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.profile-info p {
  color: var(--muted);
  margin-bottom: 18px;
}

.profile-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-tags span {
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  font-size: 0.84rem;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

.section-head p {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.15;
}

.about-grid,
.skills-grid,
.services-grid,
.projects-grid,
.testimonials-grid {
  display: grid;
  gap: 22px;
}

.about-grid {
  grid-template-columns: repeat(3, 1fr);
}

.glass-card {
  padding: 28px;
  border-radius: 24px;
}

.glass-card h3 {
  margin-bottom: 14px;
}

.glass-card p {
  color: var(--muted);
  line-height: 1.8;
}

.skills-grid {
  grid-template-columns: repeat(4, 1fr);
}

.skill-box {
  border-radius: 22px;
  padding: 24px;
}

.skill-box h3 {
  margin-bottom: 12px;
}

.skill-box p {
  color: var(--muted);
  line-height: 1.7;
}

.services-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  border-radius: 22px;
  padding: 28px;
}

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(124,92,255,0.25), rgba(0,212,255,0.18));
  border: 1px solid rgba(255,255,255,0.1);
}

.service-card h3 {
  margin-bottom: 14px;
}

.service-card p {
  color: var(--muted);
  line-height: 1.8;
}

.timeline {
  display: grid;
  gap: 20px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  padding: 26px;
  border-radius: 24px;
}

.timeline-item span {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.timeline-item h3 {
  margin-bottom: 10px;
}

.timeline-item p {
  color: var(--muted);
  line-height: 1.8;
}

.projects-grid {
  grid-template-columns: repeat(3, 1fr);
}

.project-card {
  border-radius: 24px;
  overflow: hidden;
}

.project-top {
  height: 180px;
  background:
    linear-gradient(135deg, rgba(124,92,255,0.25), rgba(0,212,255,0.18)),
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
}

.project-content {
  padding: 24px;
}

.project-label {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--accent-2);
  font-size: 0.85rem;
  font-weight: 700;
}

.project-content h3 {
  margin-bottom: 12px;
}

.project-content p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 18px;
}

.project-link {
  color: white;
  font-weight: 700;
}

.testimonials-grid {
  grid-template-columns: repeat(3, 1fr);
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 18px;
}

.testimonial-card h4 {
  margin-bottom: 5px;
}

.testimonial-card span {
  color: var(--muted);
  font-size: 0.92rem;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-small {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 12px;
}

.contact-info h2 {
  margin-bottom: 16px;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-info > p {
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.contact-list a {
  color: white;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-list i {
  margin-right: 10px;
}

.socials {
  display: flex;
  gap: 12px;
}

.socials a {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.08);
}

.contact-form-box {
  padding: 28px;
  border-radius: 24px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.05);
  color: white;
  padding: 16px 16px;
  border-radius: 14px;
  outline: none;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ea7b8;
}

.full-btn {
  width: 100%;
  border: none;
  cursor: pointer;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer h3 {
  margin-bottom: 8px;
}

.footer p {
  color: var(--muted);
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--success);
  color: white;
  display: grid;
  place-items: center;
  font-size: 1.6rem;
  box-shadow: 0 15px 30px rgba(37, 211, 102, 0.35);
  z-index: 999;
}

@media (max-width: 1100px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .about-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .hero-right {
    order: -1;
  }
}

@media (max-width: 768px) {
  .desktop-nav {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-cards,
  .skills-grid,
  .services-grid,
  .projects-grid,
  .testimonials-grid,
  .about-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 75px 0;
  }

  .hero-left h1 {
    font-size: 2.5rem;
  }

  .profile-frame,
  .profile-frame img {
    min-height: 320px;
    height: 320px;
  }
}