:root {
  --primary-color: #a02334;
  --secondary-color: #ffad60;
  --accent-color: #96ceb4;
  --text-color: #2c3e50;
  --bg-light: #ffeead;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
}

.navbar {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--primary-color) !important;
}

.nav-link {
  color: var(--text-color) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--secondary-color) !important;
}

.hero-section {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: white;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero-section::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="%23fff" stop-opacity="0.1"/><stop offset="100%" stop-color="%23fff" stop-opacity="0"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="400" r="150" fill="url(%23a)"/><circle cx="400" cy="800" r="120" fill="url(%23a)"/></svg>');
  opacity: 0.1;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.profile-image {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  border: 5px solid rgba(255, 255, 255, 0.2);
  object-fit: cover;
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

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

.btn-primary {
  background: var(--secondary-color);
  border: none;
  border-radius: 50px;
  padding: 12px 30px;
  font-weight: 600;
  transition: all 0.3s ease;
  color: var(--primary-color);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  color: var(--primary-color);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--accent-color);
}

.card {
  border: none;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.project-card {
  position: relative;
  overflow: hidden;
}

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

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.skill-bar {
  background: #e9ecef;
  border-radius: 10px;
  height: 10px;
  overflow: hidden;
  margin-bottom: 20px;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(
    90deg,
    var(--accent-color),
    var(--secondary-color)
  );
  border-radius: 10px;
  transition: width 0.3s ease;
}

.contact-form {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 15px;
}

.form-control {
  border-radius: 10px;
  border: 2px solid #e9ecef;
  padding: 15px;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(150, 206, 180, 0.25);
}

.social-links a {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  text-align: center;
  line-height: 50px;
  border-radius: 50%;
  margin: 0 10px;
  transition: all 0.3s ease;
}

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

.footer {
  background: var(--primary-color);
  color: white;
  padding: 40px 0;
}

.animate-on-scroll {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

/* About Section Icons */
.list-unstyled li i {
  color: var(--secondary-color);
  margin-right: 8px;
}

/* Resume Section Styling */
.work-experience-header {
  background-color: var(--primary-color);
}

.education-header {
  background-color: var(--accent-color);
}

.work-title {
  color: var(--primary-color);
}

.education-title {
  color: var(--accent-color);
}

@media (max-width: 768px) {
  .hero-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }
}