/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", sans-serif;
  background-color: #f9fafc;
  color: #1e293b;
  line-height: 1.5;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === TYPOGRAPHY === */
h1,
h2,
h3 {
  letter-spacing: -0.02em;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
}

.section-title:after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, #2563eb, #a5b4fc);
  border-radius: 3px;
}

/* === NAVBAR === */
.navbar {
  background: white;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(2px);
  background: rgba(255, 255, 255, 0.96);
}

.nav-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
  flex-wrap: wrap;
}

.logo {
  font-weight: 800;
  font-size: 1.6rem;
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  font-weight: 600;
  color: #334155;
  transition: 0.2s;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a.active {
  color: #2563eb;
}

/* === BUTTONS === */
.btn-primary {
  background: #2563eb;
  color: white;
  border: none;
  padding: 12px 28px;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.2);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid #2563eb;
  color: #2563eb;
  padding: 10px 24px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-outline:hover {
  background: #2563eb10;
}

/* === HERO === */
.hero {
  padding: 60px 0 40px;
}

.hero-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.hero-content {
  flex: 1;
}

.hero-badge {
  background: #e0e7ff;
  color: #1e40af;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 20px;
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight {
  color: #2563eb;
  border-bottom: 3px solid #93c5fd;
}

.hero-desc {
  font-size: 1.1rem;
  color: #475569;
  max-width: 550px;
  margin-bottom: 32px;
}

.availability {
  background: #dcfce7;
  color: #166534;
  padding: 8px 16px;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-image {
  flex: 0.8;
  text-align: center;
}

.code-icon {
  background: white;
  border-radius: 40px;
  padding: 20px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.1);
  display: inline-block;
}

.code-icon i {
  font-size: 120px;
  color: #2563eb;
  opacity: 0.8;
}

/* === METRICS ROW === */
.metrics-row {
  display: flex;
  gap: 32px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* === CLIENTS GRID === */
.clients-section {
  background: white;
  border-radius: 32px;
  padding: 40px 32px;
  margin: 48px 0;
  text-align: center;
  border: 1px solid #eef2ff;
}

.clients-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.client-card {
  background: #f8fafc;
  border-radius: 24px;
  padding: 16px 24px;
  transition: 0.2s;
  text-align: center;
  min-width: 140px;
  border: 1px solid #e2e8f0;
}

.client-card a {
  text-decoration: none;
  font-weight: 600;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.client-card i {
  font-size: 2rem;
  color: #2563eb;
}

.client-card:hover {
  transform: translateY(-4px);
  border-color: #2563eb;
  background: white;
}

/* === SKILLS === */
.skills-section {
  background: white;
  border-radius: 32px;
  padding: 40px 32px;
  margin: 48px 0;
}

.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.skill-tag {
  background: #f1f5f9;
  padding: 8px 20px;
  border-radius: 40px;
  font-weight: 500;
  font-size: 0.9rem;
}

/* === PROJECT CARDS (for projects page) === */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
  margin: 40px 0;
}

.project-card {
  background: white;
  border-radius: 28px;
  padding: 28px;
  transition: 0.2s;
  border: 1px solid #eef2ff;
}

.project-card i {
  font-size: 2.2rem;
  color: #2563eb;
  margin-bottom: 16px;
}

.project-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.project-tech span {
  background: #eef2ff;
  font-size: 0.7rem;
  padding: 4px 12px;
  border-radius: 30px;
  font-weight: 500;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #2563eb;
  text-decoration: none;
  margin-top: 12px;
}

/* === EXPERIENCE CARDS === */
.exp-card {
  background: white;
  border-radius: 24px;
  padding: 24px 28px;
  margin-bottom: 24px;
  border: 1px solid #eef2ff;
}

.exp-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}

.exp-title {
  font-size: 1.3rem;
  font-weight: 700;
}

.exp-company {
  color: #2563eb;
  font-weight: 600;
}

.exp-date {
  color: #64748b;
  font-size: 0.85rem;
}

.exp-list {
  margin-top: 14px;
  padding-left: 20px;
  list-style: none;
}

.exp-list li {
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: baseline;
}

.exp-list li i {
  color: #2563eb;
  min-width: 18px;
}

/* === TESTIMONIAL === */
.testimonial-card {
  background: #f1f5f9;
  border-radius: 28px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
  border-left: 6px solid #2563eb;
}

/* === CONTACT FORM === */
.contact-section {
  background: #0f172a;
  color: white;
  border-radius: 32px;
  padding: 48px 40px;
  margin: 60px 0 40px;
}

.contact-form {
  max-width: 600px;
  margin: 32px auto 0;
}

.form-group {
  margin-bottom: 20px;
  text-align: left;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: 40px;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 0.95rem;
  background: #1e293b;
  color: white;
}

.form-group textarea {
  border-radius: 24px;
  resize: vertical;
}

.contact-icons {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin: 32px 0 24px;
  flex-wrap: wrap;
}

.contact-icons a {
  color: #cbd5e1;
  font-size: 1.8rem;
  transition: 0.2s;
}

.contact-icons a:hover {
  color: white;
}

/* === FOOTER === */
.footer-bottom {
  text-align: center;
  padding: 32px 0;
  font-size: 0.85rem;
  color: #64748b;
  border-top: 1px solid #e2e8f0;
  margin-top: 40px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.3rem;
  }
  .nav-flex {
    flex-direction: column;
    gap: 16px;
  }
  .nav-links {
    gap: 24px;
  }
  .hero-grid {
    flex-direction: column;
  }
  .section-title {
    font-size: 1.6rem;
  }
}
/* small addition for image styling */
.profile-img {
  width: 100%;
  max-width: 480px;
  border-radius: 32px;
  box-shadow: 0 20px 35px -12px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  aspect-ratio: 1 / 1;
  border: 3px solid white;
}
@media (max-width: 768px) {
  .profile-img {
    max-width: 320px;
  }
}
