:root {
  --bg-color: #f8fafc;
  --card-bg: rgba(255, 255, 255, 0.7);
  --text-primary: #1e293b;
  --text-secondary: #475569;
  --accent: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.3);
  --glass-border: rgba(0, 0, 0, 0.08);
  --gradient-1: linear-gradient(135deg, #0284c7 0%, #6366f1 100%);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  background-image:
    radial-gradient(circle at 10% 20%, rgba(2, 132, 199, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 40%);
  min-height: 40vh;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
  position: relative;
  display: inline-block;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 45px;
  height: 3px;
  background: var(--gradient-1);
  border-radius: 2px;
}

p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

/* Utilities */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 3rem 0;
}

.glass-card {
  background: var(--card-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 40px -15px rgba(0, 0, 0, 0.1);
  border-color: rgba(2, 132, 199, 0.2);
}

.gradient-text {
  background: var(--gradient-1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.btn {
  display: inline-block;
  padding: 0.8rem 2rem;
  background: var(--gradient-1);
  color: white;
  border-radius: 50px;
  font-weight: 600;
  margin-top: 1rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, #818cf8 0%, #38bdf8 100%);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px var(--accent-glow);
}

/* Animation Classes */
.hidden {
  opacity: 0;
  transform: translateY(30px);
  filter: blur(5px);
}

.show {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
  transition: all 0.8s ease;
}

/* Header */
header {
  min-height: 40vh;
  padding: 3rem 0;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-content {
  max-width: 800px;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
  font-family: 'Consolas', monospace;
}

.hero-layout {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: 100%;
}

.profile-img-container {
  flex-shrink: 0;
  width: 280px;
  height: 280px;
  border-radius: 20%;
  overflow: hidden;
  border: 4px solid var(--white);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background: var(--card-bg);
}

.profile-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  font-size: 1.5rem;
  color: var(--text-secondary);
}

.social-links a:hover {
  color: var(--accent);
  transform: translateY(-3px);
}

/* Skills */
.skills-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.skill-tag {
  background: rgba(56, 189, 248, 0.1);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(56, 189, 248, 0.2);
  font-size: 0.9rem;
  font-weight: 500;
}

.skill-tag:hover {
  background: rgba(56, 189, 248, 0.2);
  cursor: default;
}

.skill-category {
  margin-bottom: 1.2rem;
}

.skill-category h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--text-primary);
}

/* Experience & Education Styles */
.timeline {
  position: relative;
  border-left: 2px solid var(--glass-border);
  margin-left: 1rem;
  padding-left: 2rem;
}

.timeline-item {
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.6rem;
  top: 0.5rem;
  width: 1rem;
  height: 1rem;
  background: var(--bg-color);
  border: 2px solid var(--accent);
  border-radius: 50%;
  z-index: 2;
}

.date {
  font-family: 'Consolas', monospace;
  color: var(--accent);
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.9rem;
}

.edu-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}

.edu-content {
  flex: 1;
  min-width: 0;
}

.edu-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--glass-border);
  padding: 0.3rem;
  flex-shrink: 0;
}

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

.project-card h3 {
  color: var(--accent);
}

.project-tags {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.2rem;
}

/* Footer */
footer {
  padding: 1.5rem 0;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  margin-top: 2rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
}