/* Base Styles */
:root {
  --primary-color: #292f1e;
  --secondary-color: #cbd597;
  --accent-color: #8a9a5b;
  --dark-color: #1a1f14;
  --light-color: #f2f4e8;
  --text-color: #292f1e;
  --text-light: #4a5038;
  --success-color: #8a9a5b;
  --border-color: #dfe4c5;
  --shadow-color: rgba(41, 47, 30, 0.1);
  --transition: all 0.3s ease;
  --border-radius: 8px;
}

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

body {
  font-family: "Inter", sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: var(--primary-color);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 100px 0;
  position: relative;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--secondary-color);
}

.btn-outline {
  background-color: transparent;
  color: var(--secondary-color);
  border: 2px solid var(--secondary-color);
}

.btn-outline:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.btn-full {
  width: 100%;
}

/* Section Styles */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.title-line {
  width: 80px;
  height: 4px;
  background-color: var(--secondary-color);
  margin: 0 auto;
}

.section-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: var(--primary-color);
}

.section-divider.top {
  top: 0;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 0);
}

.section-divider.bottom {
  bottom: 0;
  clip-path: polygon(0 100%, 100% 0, 100% 100%, 0 100%);
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--dark-color);
  border-bottom: 1px solid rgba(203, 213, 151, 0.2);
  padding: 15px 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

.nav-list {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--secondary-color);
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 150px 0 100px;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23CBD597' fill-opacity='0.1'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  z-index: -1;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1;
}

.badge {
  display: inline-block;
  padding: 8px 16px;
  background-color: rgba(203, 213, 151, 0.2);
  color: var(--secondary-color);
  border-radius: 30px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 4rem;
  color: #fff;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--secondary-color);
}

.hero-description {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.2rem;
  margin-bottom: 30px;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 20px;
}

.hero-image {
  flex: 1;
  position: relative;
}

.hero-image img {
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
  border: 2px solid var(--dark-color);
}

.image-border {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  border: 4px solid var(--secondary-color);
  border-radius: var(--border-radius);
  z-index: 1;
}

.image-bg {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 100%;
  height: 100%;
  background-color: rgba(138, 154, 91, 0.2);
  border-radius: var(--border-radius);
  z-index: 0;
}

.hero-stats {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--dark-color);
  border-radius: var(--border-radius);
  padding: 20px;
  display: flex;
  gap: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(203, 213, 151, 0.2);
  z-index: 3;

}

.stat-item {
  text-align: center;
  padding: 0 20px;
  border-right: 1px solid rgba(203, 213, 151, 0.2);
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.stat-text {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

/* About Section */
.about-section {
  background-color: var(--dark-color);
  position: relative;
}

.about-content {
  display: flex;
  gap: 50px;
  align-items: center;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-image img {
  border-radius: var(--border-radius);
  position: relative;
  z-index: 2;
  transform: rotate(-2deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.experience-badge {
  position: absolute;
  bottom: -20px;
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: var(--border-radius);
  font-weight: 700;
  z-index: 3;
}

.about-text {
  flex: 1;
}

.about-text h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.about-text ul li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.info-item {
  background-color: var(--primary-color);
  padding: 15px;
  border-radius: var(--border-radius);
}

.info-label {
  font-weight: 600;
  color: var(--secondary-color);
  margin-bottom: 5px;
}

.info-value {
  color: rgba(255, 255, 255, 0.8);
}

.available {
  color: var(--success-color);
  font-weight: 500;
}

/* Skills Section */
.skills-section {
  background-color: var(--primary-color);
  position: relative;
}

.skills-intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.skills-intro h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.skills-intro p {
  color: rgba(255, 255, 255, 0.8);
}

/* Animated Skills */
.skills-animation {
  margin-bottom: 60px;
  overflow: hidden;
}

.skill-track {
  display: flex;
  white-space: nowrap;
}

.track-left {
  animation: scroll 20s linear infinite;
  margin-bottom: 20px;
}

.track-right {
  animation: scroll-reverse 20s linear infinite;
}

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

@keyframes scroll-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

.skill-item {
  display: inline-block;
  margin: 0 15px;
  padding: 10px 20px;
  background-color: var(--dark-color);
  color: var(--secondary-color);
  border-radius: var(--border-radius);
  border: 1px solid rgba(203, 213, 151, 0.2);
}

.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.skill-card {
  background-color: var(--dark-color);
  border-radius: var(--border-radius);
  padding: 30px;
  border-top: 4px solid var(--secondary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  color:#dfe4c5;
}

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

.skill-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
  color: #fff;
  font-size: 24px;
}

.skill-card h4 {
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.skill-bar {
  width: 100%;
  height: 8px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}

.skill-progress {
  height: 100%;
  background: linear-gradient(to right, var(--accent-color), var(--secondary-color));
  border-radius: 4px;
}

.skill-percentage {
  font-weight: 600;
  color: var(--secondary-color);
}

/* Projects Section */
.projects-section {
  background-color: var(--dark-color);
  position: relative;
}

.projects-filter {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 8px 20px;
  border: none;
  background-color: transparent;
  font-size: 16px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}

.filter-btn::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--secondary-color);
}

.filter-btn:hover::after,
.filter-btn.active::after {
  width: 80%;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.project-card {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  background-color: var(--primary-color);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(41, 47, 30, 0.9);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: var(--transition);
}

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

.project-link {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 500;
  transition: var(--transition);
}

.project-link:hover {
  background-color: var(--light-color);
}

.project-info {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-description {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 15px;
  flex-grow: 1;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.project-tag {
  padding: 5px 10px;
  background-color: rgba(203, 213, 151, 0.2);
  border-radius: 20px;
  font-size: 12px;
  color: var(--secondary-color);
}

/* Contact Section */
.contact-section {
  background-color: var(--primary-color);
  position: relative;
}

.contact-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
}

.contact-info {
  color: rgba(255, 255, 255, 0.8);
}

.contact-info h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.contact-info p {
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 30px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(203, 213, 151, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
  font-size: 20px;
}

.contact-text h4 {
  font-size: 1.1rem;
  margin-bottom: 5px;
  color: var(--secondary-color);
}

.contact-social {
  margin-top: 30px;
}

.contact-social h4 {
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--dark-color);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--secondary-color);
  transition: var(--transition);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.contact-form-container {
  background-color: var(--dark-color);
  padding: 30px;
  border-radius: var(--border-radius);
}

.contact-form-container h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  color: var(--secondary-color);
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  padding: 12px;
  border: 1px solid rgba(203, 213, 151, 0.2);
  border-radius: var(--border-radius);
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "Inter", sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
}

/* Footer */
.footer {
  background-color: var(--dark-color);
  padding: 30px 0;
  border-top: 1px solid rgba(203, 213, 151, 0.2);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  font-size: 24px;
  font-weight: 700;
  color: var(--secondary-color);
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--secondary-color);
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero-content,
  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-description {
    max-width: 100%;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-stats {
    position: relative;
    bottom: 0;
    margin-top: 50px;
  }

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

  .contact-content {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .nav-list {
    display: none;
  }

  .menu-btn {
    display: block;
  }

  .hero-title {
    font-size: 3rem;
  }

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

  .projects-filter {
    flex-wrap: wrap;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(203, 213, 151, 0.2);
    padding-bottom: 15px;
  }

  .stat-item:last-child {
    border-bottom: none;
  }
}

