/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  padding: 60px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
  box-sizing: border-box;
}

.hero h1 {
  font-family: 'Abril Fatface', cursive;/**/
  font-size: 68px;
  color: var(--accent-purple);
  font-weight: 700;
}

.hero h1::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(to right, var(--primary-purple), var(--light-purple));
  border-radius: 2px;
}

.hero p {
  font-family: 'Lato', sans-serif;
  font-size: 15px;
  color: var(--text-color);
  font-weight: 450;
  max-width: 90vw;
}

.hero-section-tags {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 6px 0;
  max-width: 100%;
}

.hero-section-tags span {
  padding: 7px 18px;
  background-color: none;
  color: var(--accent-purple); 
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  text-align: center;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero-section-tags span:hover {
  background: var(--accent-purple);
  color: var(--text-color);
  }

/* ===== PROJECTS SECTION ===== */
.projects-section {
  padding: 30px 10px;
}

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: 12px;
  border: 1px solid var(--primary-purple);
  gap: 9px;
}

.project-card h3 {
  font-family: 'Montserrat', sans-serif;
  color: var(--accent-purple);
  font-size: 19.2px;
  font-weight: 600;
}

.project-card p {
  font-family: 'Lato', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  opacity: 0.8;
}

.project-links {
  display: flex;
  gap: 12px;
}

.project-links a {
  padding: 8px 16px;
  background: var(--primary-purple);
  color: var(--text-color);
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
}

.project-links a:hover {
  background: var(--accent-purple);
  transform: translateY(-2px);
}

/* ===== TECH STACK ===== */
.tech {
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tech-stack {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 1000px;
}

.tech-category {
  display: flex;
  flex-direction: column;
  border: 2px solid var(--primary-purple);
  border-radius: 12px;
  padding: 18px;
  background-color: var(--card-bg);
  gap: 10px;
}
.tech-category h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17.6px;
  color: var(--accent-purple);
  font-weight: 600;
}

.tech-category ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-category li {
  font-family: 'Source Code Pro', monospace;
  padding: 8px 12px;
  background-color: rgba(255, 215, 0, 0.1);
  border-radius: 8px;
  font-size: 15.2px;
  font-weight: 500;
  color: var(--accent-gold);
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.tech-category li:hover {
  background-color: var(--light-purple);
  color: var(--primary-purple);
  transform: scale(1.05);
}

/* ===== SECTION TITLES ===== */
.section-title {
  font-family: 'Space Mono', monospace;
  color: var(--accent-purple);
  font-size: 30px;
  text-align: center;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 10px 0 20px 0;
}

/* ===== EXPERIENCE & EDUCATION ===== */
.experience.section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 60px 20px;
  width: 100%;
}

.timeline {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 40px;
  max-width: 800px;
  gap: 30px;
  width: 100%;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 25px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, 
    var(--primary-purple), 
    var(--accent-purple));
  border-radius: 3px;
}

.timeline-item {
  position: relative;
  transition: all 0.3s ease;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 50%;
  width: 16px;
  height: 16px;
  transition: all 0.3s ease;
  transform: translateY(-50%);
  background: var(--card-bg);
  border-radius: 50%;
  border: 3px solid var(--primary-purple);
  box-shadow: 0 0 0 4px rgba(126, 75, 255, 0.2);
  z-index: 2;
}

.timeline-item:hover .timeline-dot {
  background: var(--primary-purple);
  transform: translateY(-50%) scale(1.3);
  box-shadow: 0 0 0 6px rgba(126, 75, 255, 0.3);
}

.timeline-content {
  background: var(--card-bg);
  padding: 25px;
  border-radius: 16px;
  border: 2px solid var(--accent-purple);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 600px;
}

.timeline-content h3 {
  color: var(--primary-purple);
  font-size: 1.4rem;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.timeline-item:hover .timeline-content {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(126, 75, 255, 0.15);
}

.company{
  display: inline-block;
  background: rgba(126, 75, 255, 0.1);
  color: var(--accent-purple);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.timeline-content > .date {
  display: block;
  color: var(--text-color);
  opacity: 0.8;
  font-size: 0.9rem;
  margin-bottom: 15px;
  font-family: 'Space Mono', monospace;
} 

.responsibilities {
  padding-left: 20px;
  position: relative;
  z-index: 2;
}

.responsibilities li {
  margin-bottom: 8px;
  position: relative;
  color: var(--text-color);
  line-height: 1.6;
}

.responsibilities li::before {
  content: '▹';
  position: absolute;
  left: -20px;
  color: var(--accent-purple);
}

/* ===== EDUCATION GRID ===== */
.education.section{
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.education-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  max-width: 1000px;
  padding: 0 20px;
  width: 100%;
}

.education-card {
  background: var(--card-bg);
  padding: 30px;
  display: flex;
  gap: 19px;
  transition: all 0.3s ease;
  border-left: 3px solid var(--light-purple);
  box-shadow: 0 4px 20px rgba(126, 75, 255, 0.05);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.education-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.03) 0%, rgba(255, 215, 0, 0) 100%);
  z-index: 0;
}

.education-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(126, 75, 255, 0.1);
}

.education-details {
  z-index: 1;
}

.education-details h3 {
  color: var(--primary-purple);
  font-size: 20px;
  font-weight: 700;
}

.institution {
  color: var(--accent-purple);
  font-weight: 600;
  font-size: 16px;
  display: block;
}

.education-details > .date{
  display: inline-block;
  background: rgba(126, 75, 255, 0.1);
  color: var(--accent-purple);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 14px;
  font-family: 'Space Mono', monospace;
}

.achievements {
  color: var(--text-color);
  line-height: 1.5;
  font-size: 15px;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(180deg, transparent 0%, var(--card-bg) 15%);
  padding: 60px 20px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer-social {
  display: flex;
  justify-content: center;
  gap: 15px;
  padding: 20px 0;
} 

.footer-social > a {
  color: var(--light-purple);
  font-size: 22px;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  border-radius: 50%;
  border: 2px solid var(--accent-purple); 
  position: relative;
  overflow: hidden;
}

.footer-social a::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
  opacity: 0;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.footer-social a:hover {
  color: var(--text-color);
  transform: translateY(-3px) scale(1.1); 
}

.footer-social a:hover::after {
  opacity: 1;
}

.footer-social i {
  position: relative;
  z-index: 1;
}

/* ===== CONTACT FORM ===== */
.contact h2 {
  font-family: 'Montserrat', sans-serif;
  color: var(--primary-purple);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  display: inline-block;
}

.contact h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 3px;
}

.contact{
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}

.contact-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 500px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
} 

.form-group input,
.form-group textarea {
  background: var(--card-bg);
  border: 1.5px solid var(--accent-purple);
  border-radius: 8px;
  padding: 15px 20px;
  color: var(--text-color);
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 100%;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--light-purple);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.submit-btn, button {
  background: linear-gradient(135deg, var(--primary-purple), var(--accent-purple));
  color: var(--text-color);
  border: none;
  border-radius: 8px;
  padding: 16px 32px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  width: 100%;
}

.submit-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.5s;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(126, 75, 255, 0.2);
}

.submit-btn:hover::before {
  left: 100%;
}

/* Copyright section with top border */
.copyright {
  padding-top: 30px;
  color: var(--light-purple);
  opacity: 0.8;
  font-size: 14px;
  position: relative;
}

.copyright::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, var(--accent-purple) 50%, transparent 100%);
}

/* RESPONSIVE DESIGN */
/* MIN WIDTH 768PX */
@media (min-width: 768px) {
  /* Navigation */
  .mobile-menu { 
    display: none; 
  }
  header > .nav { 
    display: flex; 
    gap: 40px; 
  }
  .hamburger { 
    display: none; 
  }
  .hero h1 {
    font-size: 80px;
  }

  /* Cards/Grids */
  .projects-grid {
    display: flex;
    flex-direction: row;
  }
  .project-card{
    font-size: 17.6px;
    width: 33%;
  }
  .project-image{
    overflow: hidden;
    border-radius: 12px;
    width: 100%;
  }
  .project-image > img{
    height: 134px;
  }
  .timeline { 
    padding-left: 60px; 
  }
 .education-grid {
    display: flex;
    gap: 24px;
  }
  
  /* Forms */
  .form-group input, .form-group textarea, .form-group select {
    font-size: 18px;
    padding: 15px 17px;
  }
  .contact-form {
    max-width: 500px;
    padding: 40px;
  }
  .editor-container { 
    max-width: 800px; 
  }

  /* Buttons */
  button, .btn, .quick-action-btn, .submit-btn {
    font-size: 18px;
    padding: 14px 28px;
  }

  .tech-stack {
    display: flex;
    flex-direction: row;
    gap: 15px;
    width: 100%;
    max-width: 1000px;
  }
  .tech-category{
    width: 25%;
  }
  .section-title{
    font-size: 48px;
  }

  /* Footer */
   footer {
    padding: 50px 20px 25px;
  }
  
  .footer-social a {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .education-grid {
    grid-template-columns: repeat(2, 1fr);  
    justify-content: center; 
    gap: 30px;
  }
  
  .education-card {
    padding: 25px;
    width: 100%; 
  }
}

/* MIN WIDTH 1024PX */
@media (min-width: 1024px) {
  .hero{
    padding: 110px 14px;
  }
  .hero h1 {
    font-size: 90px;
  }
  .hero p{
    font-size: 25px;
  }
  .hero-section-tags span{
    font-size: 25px;
  }

  .projects-grid {
    padding: 0 150px;
    justify-content: center;
  }

  .education-grid {
    grid-template-columns: repeat(2, minmax(350px, 1fr));
    gap: 40px;
    padding: 0 32px;
  }

  button, .btn, .submit-btn {
    font-size: 18px;
    padding: 17px 35px;
  }

}

