/* Modern Color Palette */
:root {
  --primary: #6c5ce7;
  --primary-dark: #5649c0;
  --secondary: #00cec9;
  --dark: #2d3436;
  --light: #f5f6fa;
  --accent: #fd79a8;
  --gradient: linear-gradient(135deg, var(--primary), var(--secondary));
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Segoe UI', 'Roboto', sans-serif;
  line-height: 1.7;
  background-color: var(--light);
  color: var(--dark);
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
}

/* Header Styles */
header {
  text-align: center;
  padding: 80px 20px 60px;
  background: var(--gradient);
  color: white;
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" preserveAspectRatio="none"><path fill="rgba(255,255,255,0.05)" d="M0,0 L100,0 L100,100 L0,100 Z" /></svg>');
  background-size: cover;
}

header h1 {
  font-size: 3.5rem;
  margin-bottom: 15px;
  position: relative;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: fadeInDown 1s ease;
}

header p {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.9);
  position: relative;
  animation: fadeInUp 1s ease;
}

/* Section Styles */
section {
  padding: 0 30px;
  margin-bottom: 60px;
  animation: fadeIn 1.5s ease;
}

h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  padding-bottom: 10px;
  position: relative;
  color: var(--primary-dark);
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 70px;
  height: 4px;
  background: var(--gradient);
  border-radius: 2px;
}

/* Project Cards */
.project {
  background: white;
  padding: 30px;
  margin-bottom: 30px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(108, 92, 231, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary);
}

.project:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(108, 92, 231, 0.2);
}

.project h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: var(--primary);
}

.project p {
  margin-bottom: 20px;
  color: #555;
}

/* Links */
a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

a:hover {
  color: var(--primary-dark);
}

a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
}

a:hover::after {
  width: 100%;
}

/* Button Links */
.project-links {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.project-links a {
  padding: 8px 20px;
  border-radius: 30px;
  background: var(--gradient);
  color: white;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
}

.project-links a::after {
  display: none;
}

.project-links a:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
  color: white;
}

.project-links a i {
  margin-right: 8px;
}

/* Footer */
footer {
  text-align: center;
  padding: 30px;
  background: var(--secondary);
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  margin-top: 80px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5rem;
  }
  
  header p {
    font-size: 1.2rem;
  }
  
  section {
    padding: 0 20px;
  }
  
  .project {
    padding: 20px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 60px 20px 40px;
  }
  
  header h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .project-links {
    flex-direction: column;
    gap: 10px;
  }
  
  .project-links a {
    justify-content: center;
  }
}


