/* Base Styles */
:root {
  --primary-color: #ffffff;
  --accent-color: #00ff9d;
  --accent-gradient: linear-gradient(135deg, #000000, #004d40);
  --text-color: #333333;
  --secondary-text: #666666;
  --border-color: #e0e0e0;
  --shadow-color: rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--primary-color);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

section {
  padding: 80px 20px;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--accent-gradient);
  border-radius: 2px;
}

.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  outline: none;
}

.primary-btn {
  background: var(--accent-gradient);
  color: white;
  box-shadow: 0 4px 15px rgba(0, 255, 157, 0.3);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 255, 157, 0.4);
}

.secondary-btn {
  background: transparent;
  color: var(--text-color);
  border: 2px solid #000;
}

.secondary-btn:hover {
  background: #000;
  color: white;
  transform: translateY(-3px);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px var(--shadow-color);
}

#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--accent-color);
}

.nav-links a:hover::after {
  width: 100%;
}

.hamburger {
  display: none;
  cursor: pointer;
}

.bar {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  margin: 5px 0;
  transition: var(--transition);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: 80px;
  background-color: var(--primary-color);
}

.hero-content {
  max-width: 800px;
  padding: 0 20px;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 30px;
  border: 5px solid white;
  box-shadow: 0 10px 30px var(--shadow-color);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 10px;
  font-weight: 700;
}

.hero h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: var(--secondary-text);
  font-weight: 500;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: var(--secondary-text);
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
}

/* Skills Section */
.skills-section {
  background-color: #f8f9fa;
  padding: 60px 20px;
  text-align: center;
}

.skills-section .section-title {
  font-size: 2rem;
  color: #070707;
  margin-bottom: 10px;
}

.skills-section .section-subtitle {
  color: #884848;
  margin-bottom: 40px;
}

.skill-item {
  margin-bottom: 25px;
  text-align: left;
  max-width: 600px;
  margin-inline: auto;
}

.skill-item h4 {
  margin-bottom: 8px;
  font-weight: 500;
}

.progress {
  background-color: #ddd;
  height: 24px;
  border-radius: 20px;
  overflow: hidden;
}

.progress-bar {
  background-color: rgba(0, 255, 157, 0.3);
  height: 100%;
  line-height: 24px;
  color: white;
  font-weight: bold;
  text-align: right;
  padding-right: 10px;
  transition: width 1s ease;
}

/* Education & Experience Section */
.education-experience {
  background-color: white;
}

.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: var(--accent-gradient);
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
}

.timeline-dot {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-color);
  z-index: 1;
}

.timeline-content {
  position: relative;
  width: calc(50% - 40px);
  padding: 25px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px var(--shadow-color);
}

.timeline-item:nth-child(odd) .timeline-content {
  left: 0;
}

.timeline-item:nth-child(even) .timeline-content {
  left: calc(50% + 40px);
}

.timeline-content h3 {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.timeline-content h4 {
  font-size: 1.1rem;
  color: var(--secondary-text);
  margin-bottom: 10px;
  font-weight: 500;
}

.timeline-date {
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: 10px;
}

/* student Section */
.student {
  background-color: #f9f9f9;
}

.student-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.project-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px var(--shadow-color);
  transition: var(--transition);
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px var(--shadow-color);
}

.project-image {
  height: 200px;
  overflow: hidden;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-info {
  padding: 20px;
}

.project-info h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.project-info p {
  color: var(--secondary-text);
  margin-bottom: 15px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.project-tags span {
  background: #f0f0f0;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
}

.project-link {
  display: inline-block;
  color: var(--accent-color);
  font-weight: 600;
  transition: var(--transition);
}

.project-link i {
  margin-left: 5px;
  transition: var(--transition);
}

.project-link:hover {
  color: #00cc7d;
}

.project-link:hover i {
  transform: translateX(5px);
}

/* Contact Section */
.contact {
  background-color: white;
}

.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info,
.contact-form {
  flex: 1;
  min-width: 300px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 25px;
}

.contact-item i {
  font-size: 1.5rem;
  margin-right: 15px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-gradient);
  color: white;
  border-radius: 50%;
}

.contact-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background-color: #ffffff;
  color: #000000;
  padding: 5px 14px;
  border-radius: 30px;
  font-weight: 500;
  margin-bottom: 5px;
  transition: background-color 0.3s;
}

.contact-link i {
  margin-right: 10px;
  font-size: 18px;
}

.contact-link span {
  font-size: 16px;
}

.contact-link:hover {
  background-color: #00cc7d;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-group textarea {
  min-height: 150px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(0, 255, 157, 0.2);
}

/* Footer */
footer {
  background: #000;
  color: white;
  text-align: center;
  padding: 20px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .section-title {
    font-size: 2.2rem;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 70px;
    left: -100%;
    flex-direction: column;
    background-color: white;
    width: 100%;
    text-align: center;
    transition: var(--transition);
    padding: 20px 0;
    box-shadow: 0 5px 10px var(--shadow-color);
  }

  .nav-links.active {
    left: 0;
  }

  .hamburger {
    display: block;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    left: 80px !important;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .btn {
    width: 100%;
    max-width: 250px;
    text-align: center;
  }
}

@media (max-width: 576px) {
  section {
    padding: 60px 15px;
  }

  .section-title {
    font-size: 2rem;
    margin-bottom: 40px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero h2 {
    font-size: 1.3rem;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .student-grid {
    grid-template-columns: 1fr;
  }
}
