@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&display=swap');

:root {
  --bg-main: #0f172a;
  --bg-card: #111827;
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --accent: #38bdf8;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

section {
  padding: 100px 10%;
}

h1, h2 {
  font-weight: 700;
}

p {
  color: var(--text-muted);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(10px);
  z-index: 1000;
}

.nav-container {
  max-width: 1100px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.2rem;
  font-weight: 600;
  color: #38bdf8;
}

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

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

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

#hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
    circle at top,
    rgba(56, 189, 248, 0.12),
    transparent 60%
  );
  padding-top: 120px;
}


/* Glow effect */
#hero::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(
    circle,
    rgba(56, 189, 248, 0.25),
    transparent 70%
  );
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  filter: blur(80px);
  z-index: 0;
}

/* Keep content above glow */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}


#hero h1 {
  font-size: 3rem;
  line-height: 1.3;
  margin-bottom: 20px;
}

#hero h1 span {
  color: var(--accent);
}

#hero p {
  font-size: 1.1rem;
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  padding: 12px 26px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn.primary {
  background-color: var(--accent);
  color: #020617;
}

.btn.secondary {
  border: 1px solid var(--accent);
  color: var(--accent);
}

.btn:hover {
  transform: translateY(-3px);
}

.hero-name {
  font-size: 1.5rem;
  color: #38bdf8; /* accent color */
  margin-bottom: 20px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Hero Subline (skills) */
.hero-subline {
  font-size: 1.1rem;
  margin-bottom: 40px;
  color: #cbd5e1; /* light grey for contrast */
}

@keyframes floatGlow {
  0% {
    transform: translateX(-50%) scale(1);
  }
  100% {
    transform: translateX(-50%) scale(1.05);
  }
}

#hero::before {
  animation: floatGlow 6s ease-in-out infinite alternate;
}

.hero-avatar {
  margin-top: 50px;
  display: flex;
  justify-content: center;
}

.hero-avatar img {
  width: 160px;
  opacity: 0.9;
}




/* Projects Section */
#projects {
  padding: 100px 10%;
  background-color: var(--bg-main);
  text-align: center;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 60px;
  color: var(--accent);
}

/* Single Project Card */
.project-card {
  background-color: var(--bg-card);
  padding: 30px;
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto 60px auto;
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.project-info h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--accent);
}

.project-info p {
  margin-bottom: 12px;
  text-align: left;
}

.project-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  justify-content: flex-start;
}

/* Skills Section */
.skills-section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

.section-title {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: #94a3b8;
  margin-bottom: 60px;
}

/* Grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

/* Card */
.skill-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15);
}

.skill-card h3 {
  margin-bottom: 16px;
  color: #38bdf8;
  font-size: 1.2rem;
}

/* Skill list */
.skill-card ul {
  list-style: none;
  padding: 0;
}

.skill-card li {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  color: #e5e7eb;
  font-size: 0.95rem;
}

.skill-card i {
  color: #38bdf8;
  font-size: 1.1rem;
}

/* Learning card style */
.skill-card.learning {
  border-style: dashed;
  opacity: 0.9;
}


/* Experience Section */
.experience-section {
  padding: 100px 20px;
  max-width: 1100px;
  margin: auto;
}

.experience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

/* Card */
.experience-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 16px;
  padding: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 40px rgba(56, 189, 248, 0.15);
}

.experience-card h3 {
  font-size: 1.2rem;
  color: #38bdf8;
  margin-bottom: 6px;
}

.company {
  display: block;
  color: #94a3b8;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

/* List */
.experience-card ul {
  padding-left: 18px;
}

.experience-card li {
  margin-bottom: 10px;
  font-size: 0.95rem;
  color: #e5e7eb;
}

/* Education Section */
.education-wrapper {
  max-width: 900px;
  margin: auto;
}

.full-card {
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(56, 189, 248, 0.15);
  border-radius: 18px;
  padding: 36px;
}

.full-card h3 {
  color: #38bdf8;
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.full-card h4 {
  margin-top: 24px;
  margin-bottom: 12px;
  color: #e5e7eb;
}

.edu-divider {
  border: none;
  height: 1px;
  background: rgba(148, 163, 184, 0.25);
  margin: 22px 0;
}

.institution {
  color: #e5e7eb;
  font-size: 1rem;
}

.university {
  color: #94a3b8;
  font-size: 0.95rem;
}

.small-text {
  display: block;
  font-size: 0.85rem;
  color: #94a3b8;
  margin-top: 4px;
}

/* About Me Section */
/* .about-section {
  padding: 100px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.about-section .section-subtitle {
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-top: 16px;
} */
.about {
  padding: 80px 10%;
  text-align: center;
}

.about h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text {
  max-width: 700px;
  margin: 0 auto 40px;
  color: #cbd5e1;
  line-height: 1.8;
}

.about-avatar img {
  width: 180px;
  border-radius: 12px;
}



/* Contact Section */
.contact-section {
  padding: 100px 20px;
  text-align: center;
  max-width: 900px;
  margin: auto;
}

.contact-section .section-subtitle {
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Contact Links */
.contact-links {
  display: flex;
  justify-content: center;
  gap: 36px;
  flex-wrap: wrap;
}

.contact-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.6);
  color: #38bdf8;
  font-size: 1.8rem;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-links a:hover {
  transform: translateY(-6px);
  background: rgba(56, 189, 248, 0.15);
  color: #ffffff;
}
