/* General Styles */
/* Global Styles */
:root {
  /* Light Mode Colors */
  --light-color: #fff;
  --dark-color: #111827;
  --secondary-color: rgb(245, 235, 235);
  --success-color: #10b981;
  --danger-color: #ef4444;
  --extra-color: #2e8a56;

  /* Light Mode Text */
  --dark-text-color: #333;
  --light-text-color: #f3f4f6;
  --border-color: #ccc;

  --transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Dark Mode Styles */
.dark-mode {
  --light-color: #111827;
  --dark-color: #fff;
  --secondary-color: #444;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --extra-color: #2e8a56;

  --dark-text-color: #f3f4f6;
  --light-text-color: #333;
  --border-color: #666;
  --transition: cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body {
  line-height: 1.6;
  margin: 0;
  padding: 0;
  /* font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  background-color: var(--light-color); */
}



/* h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  margin-top: 0;
  line-height: 1.3;
} */

/* a {
  color: var(--extra-color);
  text-decoration: none;
  transition: var(--transition);
} */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background-color: var(--extra-color);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: 8px;
}

.btn:hover {
  background-color: var(--primary-dark);
  color: white;
  transform: translateY(-2px);
}

.btn i {
  font-size: 18px;
}

section {
  /* padding: 80px 0; */
}

/* Hero Section */
.about-hero {
  background-color: var(--light-color);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.about-hero .container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  align-items: center;
}

.about-me-img-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-me-img-content img {
  width: 100%;
  max-width: 350px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);

  transition: var(--transition);
}

.about-me-img-content img:hover {
  box-shadow: var(--shadow);
  transform: scale(1.02);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
  justify-content: center;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background-color: var(--extra-color);
  color: white;
  font-size: 2rem;
  transition: var(--transition);
  border: 2px solid transparent;
  transform: translateY(-3px);
}

.social-links a:hover {
  background-color: var(--accent-color);
  border: 2px solid var(--extra-color);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  color: var(--extra-color)
}

.about-me-text-content h1 {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 5px;
  color: var(--dark-text-color);
}

.about-me-text-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--extra-color);
  margin-bottom: 20px;
}

.about-me-text-content .tagline {
  font-size: 18px;
  color: var(--dark-text-color);
  font-style: italic;
  margin-bottom: 25px;
  border-left: 3px solid var(--extra-color);
  padding-left: 15px;
}

.about-me-text-content p {
  font-size: 16px;
  margin-bottom: 20px;
  color: var(--dark-text-color);
}

.action-btn-container {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

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

.resume-btn:hover {
  background-color: transparent;
  border: 2px solid var(--extra-color);
  color: var(--dark-text-color);
}

.hire-me-btn {
  background-color: transparent;
  border: 2px solid var(--extra-color);
}

.hire-me-btn:hover {
  color: var(--dark-text-color);
  background-color: var(--extra-color);
}

.project-link {
  color: var(--extra-color);
  font-weight: 600;
  text-decoration: underline;
}

/* Quote Section */
.quote-section {
  background-color: var(--extra-color);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.quote-section blockquote {
  margin: 0;
  padding: 0;
}

.quote-section h2 {
  font-size: 28px;
  font-weight: 500;
  font-style: italic;
  max-width: 800px;
  margin: 0 auto 15px;
  line-height: 1.4;
}

.quote-section cite {
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
}

/* My Story Section */
.my-story {
  background-color: var(--light-color);
  padding: 80px 0;
}

.my-story h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--extra-color);
  margin-bottom: 40px;
  /* border-bottom: 3px solid var(--extra-color); */
  text-align: center;
  position: relative;
}

.my-story h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: var(--extra-color);
  border-radius: 2px;
}

.story-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.story-text p {
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--dark-text-color);
}

.timeline {
  position: relative;
  padding-left: 30px;
}

.timeline:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 2px;
  background-color: var(--extra-color);
}

.timeline-item {
  position: relative;
  padding-bottom: 30px;
}

.timeline-dot {
  position: absolute;
  left: -39px;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: var(--extra-color);
  border: 4px solid white;
  box-shadow: var(--shadow);
}

.timeline-content {
  background-color:var(--light-color);
  padding: 20px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.timeline-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--extra-color);
  margin-bottom: 10px;
}

.timeline-content p {
  margin: 0;
  font-size: 15px;
}

/* Skills Section */
.skills-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

.skills-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--extra-color);
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.skills-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: var(--extra-color);
  border-radius: 2px;
}

.skills-container {
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.skill-category h3 {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 30px;
  color: var(--dark-text-color);
  text-align: center;
}

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

.skill-card {
  background-color: var(--light-color);
  padding: 30px 20px;
  border-radius: 8px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  box-shadow: 0 5px 20px rgba(46, 138, 86, 0.2);
  transition: var(--transition);
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow);
}

.skill-card i {
  font-size: 40px;
  color: var(--extra-color);
  margin-bottom: 15px;
}

.skill-card h4 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-color);
}

.skill-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0;
}

/* Experience Section */
.experience-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

.experience-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--extra-color);
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.experience-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: var(--extra-color);
  border-radius: 2px;
}

.experience-card {
  background-color:var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
}

.experience-header {
  background-color: var(--extra-color);
  color: white;
  padding: 20px 30px;
  position: relative;
}

.experience-header h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 0 0 5px;
}

.experience-header .company {
  font-size: 18px;
  display: block;
  margin-bottom: 5px;
}

.experience-header .period {
  font-size: 14px;
  opacity: 0.8;
}

.experience-body {
  padding: 25px 30px;
}

.experience-body ul {
  margin: 0;
  padding-left: 20px;
}

.experience-body li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.experience-body li:last-child {
  margin-bottom: 0;
}

/* Education Section */
.education-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

.education-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--extra-color);
  margin-bottom: 50px;
  text-align: center;
  position: relative;
}

.education-section h2:after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 4px;
  background-color: var(--extra-color);
  border-radius: 2px;
}

.education-card {
  display: flex;
  background-color: var(--light-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.education-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  background-color: var(--extra-color);
  color: white;
  font-size: 36px;
}

.education-details {
  padding: 25px 30px;
  flex: 1;
}

.education-details h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 5px;
  color: var(--dark-text-color);
}

.education-details h4 {
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 8px;
  color: var(--extra-color);
}

.education-details .period {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 15px;
  display: block;
}

.education-details p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  background-color: var(--light-color);
  padding: 80px 0;
}

.contact-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--dark-text-color);
  margin-bottom: 15px;
  text-align: center;
}

.contact-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 50px;
  color: var(--dark-text-color);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-card {
  background-color:var(--light-color);
  padding: 25px;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.contact-card i {
  font-size: 28px;
  color: var(--extra-color);
  margin-bottom: 15px;
}

.contact-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--extra-color);
}

.contact-card p {
  margin: 0;
  line-height: 1.6;
  color: var(--dark-text-color);
}

.contact-form-container {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

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

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

.form-group input,
.form-group textarea {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--extra-color);
  outline: none;
  box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.1);
}

.submit-btn {
  background-color: var(--secondary-color);
  margin-top: 10px;
}

.submit-btn:hover {
  background-color:var(--extra-color);
}

/* Footer */
footer {
  background-color: var(--extra-color);
  color: white;
  padding: 60px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo a {
  font-size: 28px;
  font-weight: 700;
  color: white;
  text-decoration: none;
}

.footer-logo span {
  color: var(--accent-color);
}

.footer-logo p {
  margin-top: 15px;
  font-size: 15px;
  opacity: 0.8;
}

.footer-social h3,
.footer-links h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-social h3:after,
.footer-links h3:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--accent-color);
}

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

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #4a4a4a;
  color: white;
  font-size: 18px;
  transition: var(--transition);
}

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

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: white;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  font-size: 14px;
  opacity: 0.7;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-hero .container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-me-img-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
  }

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

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

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

  .about-hero {
    padding: 60px 0;
  }
  .about-me-img-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* margin-bottom: 30px; */
  }
  .about-me-img-content img{
    width: 60%;
  }

  .about-me-text-content h1 {
    font-size: 32px;
  }

  .quote-section h2 {
    font-size: 24px;
  }

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

  .action-btn-container {
    flex-direction: column;
    gap: 15px;
  }

  .submit-btn {
    width: 100%;
  }
}

@media (max-width: 576px) {
  .container {
    width: 95%;
  }

  .about-me-text-content h1 {
    font-size: 28px;
  }

  .about-me-text-content h2 {
    font-size: 20px;
  }

  .education-card {
    flex-direction: column;
  }

  .education-logo {
    width: 100%;
    padding: 20px 0;
  }
}