/* Portfolio Website Custom Styles */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: #e2e8f0;
  background-color: #0f172a;
  overflow-x: hidden;
}

/* Particles Background */
#particles-js {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
}

nav .container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #22d3ee;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #22d3ee;
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 0 2rem;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero .subtitle {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero .description {
  font-size: 1.1rem;
  margin-bottom: 3rem;
  opacity: 0.8;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 3rem;
}

.social-links a {
  color: white;
  font-size: 2rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-5px);
}

.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #0f172a;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid #22d3ee;
  transition: all 0.3s ease;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
}

.cta-button:hover {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(34, 211, 238, 0.4);
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background: #1e293b;
}

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

.section-title {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 3rem;
  color: #f1f5f9;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-card {
  background: #334155;
  border-radius: 15px;
  padding: 0;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #475569;
  overflow: hidden;
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.8), rgba(6, 182, 212, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
  border-radius: 15px 15px 0 0;
}

.project-card:hover::before {
  opacity: 0;
}

.project-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 15px 15px 0 0;
  transition: transform 0.3s ease;
}

.project-card:hover .project-image {
  transform: scale(1.05);
}

.project-content {
  padding: 2rem;
  position: relative;
}

.project-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #f1f5f9;
}

.project-card p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #22d3ee;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.project-link:hover {
  color: #06b6d4;
}

/* Education Section */
.education {
  padding: 100px 0;
  background: #0f172a;
  position: relative;
}

.education::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
}

.education .container {
  position: relative;
  z-index: 1;
}

.education-timeline {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
  position: relative;
}

.education-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, #22d3ee, #06b6d4);
  transform: translateX(-50%);
  border-radius: 2px;
}

.education-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
}

.education-item:nth-child(odd) {
  flex-direction: row;
}

.education-item:nth-child(even) {
  flex-direction: row-reverse;
}

.education-content {
  flex: 1;
  background: #1e293b;
  padding: 2.5rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.education-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.education-item:hover .education-content::before {
  transform: scaleX(1);
}

.education-item:hover .education-content {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(34, 211, 238, 0.2);
}

.education-header h3 {
  font-size: 1.8rem;
  color: #f1f5f9;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.education-header h3 a {
  color: #f1f5f9;
  text-decoration: none;
  transition: all 0.3s ease;
}

.education-header h3 a:hover {
  color: #22d3ee;
}

.education-institution {
  font-size: 1.2rem;
  color: #22d3ee;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-institution a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.education-institution a:hover {
  color: #06b6d4;
  border-bottom-color: #22d3ee;
  transform: translateY(-1px);
}

.education-period {
  font-size: 1rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-bottom: 1.5rem;
  padding: 0.3rem 1rem;
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(6, 182, 212, 0.1));
  border-radius: 20px;
  display: inline-block;
}

.education-description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.education-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.highlight-tag {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(6, 182, 212, 0.1));
  color: #22d3ee;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: all 0.3s ease;
}

.highlight-tag:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.2));
  transform: scale(1.05);
  border-color: rgba(34, 211, 238, 0.4);
}

.education-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: white;
  box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
  position: relative;
  z-index: 2;
  transition: all 0.3s ease;
}

.education-item:hover .education-icon {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(102, 126, 234, 0.5);
}

.education-image {
  flex: 0 0 320px;
  height: 240px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

.education-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.education-item:hover .education-image::before {
  opacity: 1;
}

.education-item:hover .education-image {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 20px 40px rgba(102, 126, 234, 0.2);
}

.university-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.education-item:hover .university-image {
  transform: scale(1.05);
}

/* Responsive Education */
@media (max-width: 768px) {
  .education-timeline::before {
    display: none;
  }

  .education-item,
  .education-item:nth-child(even) {
    flex-direction: column;
    padding-left: 0;
    text-align: center;
  }

  .education-image {
    flex: none;
    width: 100%;
    max-width: 350px;
    height: 200px;
    margin: 0 auto 1.5rem;
  }

  .education-content {
    margin-left: 0;
    width: 100%;
  }
}

/* Skills Section */
.skills {
  padding: 100px 0;
  background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
  position: relative;
  overflow: hidden;
}

.skills::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.15)"/><circle cx="20" cy="80" r="0.5" fill="rgba(255,255,255,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.skills::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.15) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255,255,255,0.1) 0%, transparent 50%);
  animation: floatingElements 20s ease-in-out infinite;
}

@keyframes floatingElements {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.skills .container {
  position: relative;
  z-index: 1;
}

.skills .section-title {
  color: white;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
  margin-bottom: 4rem;
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  position: relative;
  z-index: 1;
}

.skill-item {
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 2.5rem 2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3), 0 5px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  position: relative;
  overflow: hidden;
}

.skill-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.skill-item::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  transition: all 0.6s ease;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.skill-item:hover::before {
  transform: scaleX(1);
}

.skill-item:hover::after {
  width: 300px;
  height: 300px;
}

.skill-item:hover {
  transform: translateY(-20px) scale(1.03);
  box-shadow: 0 30px 60px rgba(34, 211, 238, 0.3), 0 10px 30px rgba(0, 0, 0, 0.3);
  background: rgba(51, 65, 85, 1);
  border-color: rgba(34, 211, 238, 0.4);
}

.skill-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.skill-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: #0f172a;
  box-shadow: 0 10px 25px rgba(34, 211, 238, 0.4);
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.skill-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.6s ease;
}

.skill-item:hover .skill-icon::before {
  left: 100%;
}

.skill-item:hover .skill-icon {
  transform: rotate(10deg) scale(1.15);
  box-shadow: 0 15px 35px rgba(34, 211, 238, 0.5);
}

.skill-title {
  flex: 1;
  position: relative;
  z-index: 1;
}

.skill-item h4 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: #f1f5f9;
  font-weight: 700;
  position: relative;
}

.skill-item h4::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  transition: width 0.4s ease;
}

.skill-item:hover h4::after {
  width: 100%;
}

.skill-category {
  font-size: 0.9rem;
  color: #22d3ee;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.8;
}

.skill-description {
  color: #cbd5e1;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.skill-progress {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

.skill-progress-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.8rem;
}

.skill-progress-label span {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.skill-progress-label .percentage {
  color: #667eea;
  font-weight: 700;
  font-size: 1rem;
}

.progress-bar {
  width: 100%;
  height: 10px;
  background: rgba(233, 236, 239, 0.8);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 10px;
  transition: width 2s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(102, 126, 234, 0.3);
}

.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  position: relative;
  z-index: 1;
}

.skill-tag {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.1), rgba(6, 182, 212, 0.1));
  color: #22d3ee;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.skill-tag::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.4s ease;
}

.skill-tag:hover::before {
  left: 100%;
}

.skill-tag:hover {
  background: linear-gradient(135deg, rgba(34, 211, 238, 0.2), rgba(6, 182, 212, 0.2));
  transform: scale(1.05) translateY(-2px);
  border-color: rgba(34, 211, 238, 0.4);
  box-shadow: 0 4px 8px rgba(34, 211, 238, 0.2);
}

/* Contact Page Styles */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.contact-info {
  background: transparent;
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 10px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.6);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-details h3 {
  color: #22d3ee;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.contact-details p {
  color: #b0b0b0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.contact-details a {
  color: #22d3ee;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-details a:hover {
  color: #06b6d4;
}

.contact-details span {
  color: #e0e0e0;
  font-weight: 500;
}

.contact-form-container {
  background: transparent;
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: none;
  border: none;
  box-shadow: none;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.contact-form label i {
  color: #00d4aa;
  font-size: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  background: rgba(30, 41, 59, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  color: #e0e0e0;
  font-size: 1rem;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #22d3ee;
  background: rgba(30, 41, 59, 0.8);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #888;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Button styles */
.btn-primary {
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  color: #0f172a;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #06b6d4, #0891b2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(34, 211, 238, 0.4);
}

.btn-primary:focus {
  outline: none;
  border-color: #22d3ee;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.2);
}

.btn-primary i {
  font-size: 0.9rem;
}

/* Form notification styles */
.form-notification {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  margin-bottom: 30px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  animation: slideInDown 0.5s ease-out;
}

.form-notification.success {
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.3);
}

.form-notification.success i {
  color: #10b981;
  font-size: 2rem;
}

.form-notification.error {
  background: rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.3);
}

.form-notification.error i {
  color: #ef4444;
  font-size: 2rem;
}

.form-notification.error strong {
  color: #ef4444;
}

.form-notification strong {
  display: block;
  color: #10b981;
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.form-notification p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Disabled button state */
.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.btn-primary:disabled:hover {
  transform: none;
}

/* Responsive design for contact page */
@media (max-width: 768px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
  }
  
  .contact-icon {
    align-self: center;
  }
}

/* Header styles for contact and about pages */
.header {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 50%, #1e293b 100%);
  color: white;
  padding: 120px 0 80px;
  text-align: center;
  position: relative;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}



.header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #22d3ee;
}

.header p {
  font-size: 1.2rem;
  opacity: 0.9;
  color: #cbd5e1;
}

/* Content wrapper for contact and about pages */
.content {
  max-width: 1000px;
  margin: -50px auto 0;
  padding: 0 2rem;
  position: relative;
  z-index: 10;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.2rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  nav .container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 1rem;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Loading Animation */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-scale {
  transition: transform 0.3s ease;
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, #667eea, #764ba2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #667eea, #764ba2);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #5a67d8, #6b46c1);
}

/* Particle Animation Enhancement */
.particles-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
}

/* Project Card Animations */
.project-card {
  position: relative;
  overflow: hidden;
}

.project-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s ease;
}

.project-card:hover::before {
  left: 100%;
}

/* Skill Item Animations */
.skill-item {
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.skill-item:hover {
  transform: translateY(-10px);
}

/* Button Ripple Effect */
.ripple {
  position: relative;
  overflow: hidden;
}

.ripple::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.ripple:hover::after {
  width: 300px;
  height: 300px;
}

/* Typing Animation for Hero Text */
@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: white; }
}

.typing-text {
  overflow: hidden;
  border-right: 3px solid white;
  white-space: nowrap;
  margin: 0 auto;
  animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

/* Floating Animation */
@keyframes floating {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.floating {
  animation: floating 3s ease-in-out infinite;
}

/* Pulse Animation */
@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Background Pattern */
.pattern-bg {
  background-image: 
    radial-gradient(circle at 25% 25%, rgba(102, 126, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, rgba(118, 75, 162, 0.1) 0%, transparent 50%);
}

/* Glass Morphism Effect */
.glass {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Intersection Observer Animations */
.slide-up {
  transform: translateY(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-up.animate {
  transform: translateY(0);
  opacity: 1;
}

.slide-left {
  transform: translateX(-50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-left.animate {
  transform: translateX(0);
  opacity: 1;
}

.slide-right {
  transform: translateX(50px);
  opacity: 0;
  transition: transform 0.6s ease, opacity 0.6s ease;
}

.slide-right.animate {
  transform: translateX(0);
  opacity: 1;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
  .typing-text {
    animation: none;
    border-right: none;
    white-space: normal;
  }
  
  .floating {
    animation: none;
  }
}

/* Print Styles */
@media print {
  .particles-js,
  nav,
  .floating,
  .pulse {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}

/* About page styles */
.about-card {
  background: transparent;
  border-radius: 20px;
  padding: 2.5rem;
  backdrop-filter: none;
  border: none;
  margin-bottom: 2rem;
  max-width: 100%;
  box-shadow: none;
}

.about-intro {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3rem;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  color: #0f172a;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.3);
  padding: 4px;
  overflow: hidden;
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #22d3ee;
}

.intro-text h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #22d3ee;
}

.intro-text p {
  font-size: 1.1rem;
  color: #cbd5e1;
  line-height: 1.8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.stat-item {
  text-align: center;
  padding: 2rem;
  background: rgba(15, 23, 42, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  transition: transform 0.3s ease, background 0.3s ease;
}

.stat-item:hover {
  transform: translateY(-5px);
  background: rgba(15, 23, 42, 0.9);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #22d3ee;
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: #cbd5e1;
  font-weight: 500;
}

.education-section,
.interests-section {
  margin: 3rem 0;
}

.education-section .section-title,
.interests-section .section-title {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #22d3ee;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.education-section .section-title i,
.interests-section .section-title i {
  color: #22d3ee;
}

.education-item {
  background: rgba(30, 41, 59, 0.4);
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 1.5rem;
  border-left: 4px solid #22d3ee;
  transition: transform 0.3s ease, background 0.3s ease;
}

.education-item:hover {
  transform: translateY(-2px);
  background: rgba(30, 41, 59, 0.6);
}

.education-item h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: #22d3ee;
}

.education-item .institution {
  color: #00d4aa;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.education-item .year {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.interests-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.interest-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(30, 41, 59, 0.4);
  border-radius: 15px;
  transition: transform 0.3s ease, background 0.3s ease;
  border: 1px solid rgba(34, 211, 238, 0.15);
}

.interest-item:hover {
  transform: translateY(-5px);
  background: rgba(30, 41, 59, 0.6);
}

.interest-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #22d3ee, #06b6d4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.interest-item strong {
  color: #22d3ee;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  display: block;
}

.interest-item p {
  color: #cbd5e1;
  font-size: 0.9rem;
  margin: 0;
}

/* Responsive design for about page */
@media (max-width: 768px) {
  .about-intro {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }

  .profile-image {
    justify-self: center;
    width: 150px;
    height: 150px;
  }

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .interests-grid {
    grid-template-columns: 1fr;
  }

  .about-card {
    padding: 1.5rem;
  }
}

/* Footer */
footer {
  background: #0f172a;
  color: #cbd5e1;
  text-align: center;
  padding: 3rem 0;
  margin-top: 5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

footer p {
  margin-bottom: 1rem;
  color: #94a3b8;
}

footer .social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

footer .social-links a {
  color: #64748b;
  font-size: 1.5rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

footer .social-links a:hover {
  color: #22d3ee;
  transform: translateY(-3px);
}

/* Clean, transparent design - no background boxes */
