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

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 120px;
}

body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: white;
  line-height: 1.7;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Navbar */

.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

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

.logo {
  color: #38bdf8;
  font-size: 28px;
  font-weight: bold;
}

.nav-links a {
  color: white;
  text-decoration: none;
  margin-left: 25px;
  transition: 0.3s;
}

.nav-links a:hover {
  color: #38bdf8;
}

/* Hero Section */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  min-height: 100vh;
}

.hero-left {
  flex: 1.4;
  max-width: 700px;
}

.hero-right {
  flex: 0.8;
  display: flex;
  justify-content: center;
}

.hero-subtitle {
  color: #38bdf8;
  margin-bottom: 20px;
  font-size: 20px;
  margin-top: 60px;
}

.hero-title {
  font-size: 70px;
  margin-bottom: 20px;
  line-height: 1.1;
}

.hero-title span {
  color: #38bdf8;
}

.hero-description {
  font-size: 22px;
  color: #cbd5e1;
}

.hero-buttons {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

/* Buttons */

.btn {
  padding: 14px 28px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.primary-btn {
  background: #38bdf8;
  color: black;
}

.primary-btn:hover {
  background: #0ea5e9;
}

.secondary-btn {
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.secondary-btn:hover {
  background: #38bdf8;
  color: black;
}

.leetcode-btn {
  background: #f59e0b;
  color: black;
}

.leetcode-btn:hover {
  background: #d97706;
}

.whatsapp-btn {
  background: #22c55e;
  color: white;
}

.whatsapp-btn:hover {
  background: #16a34a;
}

/* Profile Image */

.profile-image {
  width: 320px;
  height: 320px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #38bdf8;
  animation: glow 3s infinite alternate;
  transition: 0.4s;
}

.profile-image:hover {
  transform: scale(1.03);
}

@keyframes glow {
  from {
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
  }

  to {
    box-shadow: 0 0 45px rgba(56, 189, 248, 0.8);
  }
}

/* Sections */

.section {
  padding: 100px 0;
}

.dark-section {
  background: #111827;
}

.section-title {
  font-size: 42px;
  margin-bottom: 40px;
  color: #38bdf8;
}

/* Cards */

.card {
  background: rgba(255,255,255,0.05);
  padding: 35px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Experience */

.experience-header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.role {
  color: #38bdf8;
}

.date {
  color: #94a3b8;
}

/* Projects */

.project-block {
  margin-bottom: 40px;
}

.project-block h4 {
  color: #38bdf8;
  margin-bottom: 15px;
  font-size: 24px;
}

.project-block ul {
  padding-left: 20px;
}

.project-block li {
  margin-bottom: 15px;
}

.project-tech {
  color: #38bdf8;
  margin: 15px 0;
  font-weight: 600;
}

.project-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.project-btn {
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.live-btn {
  background: #22c55e;
  color: white;
}

.live-btn:hover {
  background: #16a34a;
}

.github-btn {
  background: #1e293b;
  border: 1px solid #38bdf8;
  color: #38bdf8;
}

.github-btn:hover {
  background: #38bdf8;
  color: black;
}

/* Grids */

.projects-grid,
.skills-grid,
.education-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 25px;
}

/* Tech Stack */

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tech-stack span {
  background: rgba(56,189,248,0.2);
  color: #38bdf8;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
}

/* Education */

.education-card h3 {
  color: #38bdf8;
  margin-bottom: 15px;
}

.education-degree {
  margin-bottom: 10px;
}

.education-duration {
  color: #94a3b8;
  margin-bottom: 10px;
}

.education-score {
  color: #22c55e;
  font-weight: bold;
}

/* Contact */

.contact-section {
  text-align: center;
}

.contact-text {
  margin-bottom: 35px;
  color: #cbd5e1;
}

.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
}

.contact-info p {
  margin-bottom: 15px;
}

.contact-info a {
  color: #38bdf8;
  text-decoration: none;
}

/* Footer */

.footer {
  text-align: center;
  padding: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #94a3b8;
}

/* Mobile Responsive */

@media (max-width: 900px) {

  .hero-wrapper {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 120px;
    gap: 30px;
  }

  .hero-left {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .profile-image {
    width: 240px;
    height: 240px;
  }
}

@media (max-width: 768px) {

  .hero-title {
    font-size: 42px;
  }

  .hero-description {
    font-size: 18px;
  }

  .nav-links {
    display: none;
  }

  .section-title {
    font-size: 32px;
  }

  .hero-subtitle {
    margin-top: 20px;
  }
}