/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  background-color: #121212;
  color: #E0E0E0;
  line-height: 1.6;
}

/* Navbar */
header {
  background: #1E1E1E;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar {
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5em;
  font-weight: bold;
  color: #E0E0E0;
}

.logo span {
  color: #00ADB5;
}

.social-links {
  display: flex;
  gap: 12px;
  align-items: center;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: transparent;
  transition: background 0.2s ease, transform 0.12s ease;
}

.social-links a svg path {
  transition: fill 0.2s ease;
}

.social-links a:hover {
  background: rgba(0, 173, 181, 0.08);
  transform: translateY(-2px);
}

.social-links a:hover svg path {
  fill: #00ADB5;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}

.nav-links a {
  text-decoration: none;
  color: #A9A9A9;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #00ADB5;
}

.nav-links a.active {
  color: #00ADB5;
  font-weight: 700;
  position: relative;
}

html {
  scroll-behavior: smooth;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #121212, #1E1E1E);
  padding: 40px 20px 0 20px;
  box-sizing: border-box;
}

.hero-inner {
  width: 90%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-left h1 {
  font-size: 3.3em;
  color: #E0E0E0;
  margin: 0;
}

.hero-left h1 span {
  color: #00ADB5;
}

.hero-about {
  background: rgba(42,42,42,0.7);
  padding: 28px;
  border-radius: 14px;
  color: #E0E0E0;
  text-align: left;
}

.about-title {
  font-family: inherit;
  font-size: 1.7em;
  color: #E0E0E0;
  margin: 0 0 12px 0;
}

.hero-about p {
  color: #CFCFCF;
  margin-bottom: 20px;
  font-size: 1.10em;
}

.btn {
  background-color: #00ADB5;
  color: #121212;
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn:hover {
  background-color: #02C7D3;
  box-shadow: 0 0 10px #00ADB5;
}

@media (max-width: 800px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-about {
    text-align: center;
  }
  .hero-left h1 {
    font-size: 2.4em;
  }
}

/* About Section */
.about {
  width: 90%;
  margin: 80px auto;
  text-align: center;
}

.about h2 {
  color: #00ADB5;
  margin-bottom: 20px;
}

.section {
  width: 90%;
  max-width: 1200px;
  margin: 80px auto;
  text-align: left;
}

.section h2 {
  font-size: 2.6em;
  color: #00ADB5;
  margin-bottom: 40px;
  text-align: left;
}

.pipe {
  color: #00ADB5;
  margin: 0 6px;
}






.experience-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-top: 20px;
}

.exp-item {
  background: #2A2A2A;
  padding: 28px;
  border-radius: 12px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.exp-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 173, 181, 0.15);
}

.exp-header {
  margin-bottom: 16px;
}


.exp-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
}

.exp-title h3 {
  color: #00ADB5;
  font-size: 1.30em;
  margin: 0;
}

.exp-duration {
  color: #00ADB5;
  font-size: 1.10em;
  font-weight: 600;
}

.exp-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.exp-details li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 12px;
  color: #E0E0E0;
  font-size: 1.10em;
}

.exp-details li::before {
  content: "•";
  color: #00ADB5;
  position: absolute;
  left: 0;
  font-weight: bold;
}
/* Vertical Line for Experience Section */
.experience-list {
  position: relative; /* needed for absolute line positioning */
}

.experience-list::before {
  content: "";
  position: absolute;
  left: 18px; /* same as your project timeline for alignment */
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(0, 173, 181, 0.4); /* same color as project timeline */
}
.exp-item {
  position: relative; /* allows bullets or connectors to be positioned relative to the line */
  margin-left: 40px; /* ensures content doesn’t overlap vertical line */
}


.cert-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.achieve-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  margin-top: 20px;
}

.cert-list li, .achieve-list li {
  background: #2A2A2A;
  padding: 16px 20px;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
  display: flex;
  align-items: center;
}

.cert-list li:hover, .achieve-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0, 173, 181, 0.15);
}

.achieve-text {
  color: #E0E0E0;
  font-size: 1.10em;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 900px) {
  .achieve-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .achieve-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .cert-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .cert-list {
    grid-template-columns: 1fr;
  }
}

.cert-name {
  color: #E0E0E0;
  font-size: 1.10em;
  font-weight: 500;
  margin-bottom: 4px;
}

.cert-provider {
  color: #A9A9A9;
  font-size: 1.10em;
  padding-left: 8px;
}

















/* Projects Section  */
.projects {
  background: #1E1E1E;
  padding: 80px 0;
}

.projects h2 {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto 40px;
  font-size: 2.5em;
  color: #00ADB5;
  text-align: left;
}

/* Timeline Container */
.projects-timeline {
  position: relative;
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding-left: 40px;
}

/* Vertical Line */
.projects-timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(0, 173, 181, 0.4);
}

/* Each Entry */
.project-entry {
  position: relative;
  margin-bottom: 40px;
}


/* Content Box */
.project-content {
  background: #2A2A2A;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-content:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 173, 181, 0.08);
}

.project-content h3 {
  color: #00ADB5;
  font-size: 1.35em;
  margin-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-year {
  color: #00ADB5;
  font-size: 0.8em;
  font-weight: 700;
}

.project-content p,
.project-content ul {
  color: #E0E0E0;
  font-size: 1.05em;
  margin-bottom: 10px;
  line-height: 1.6;
}

.project-content p strong {
  color: #00ADB5;
}
.project-content ul {
  margin-left: 20px;
}

.project-content ul li::marker {
  color: #00ADB5;
}

.github-link {
  display: inline-block;
  margin-top: 8px;
  color: #A9A9A9;
  text-decoration: none;
  font-size: 1.1em;
  transition: all 0.2s ease;
}

.github-link:hover {
  color: #00ADB5;
  text-decoration: underline;
}















/* Contact Section */
.contact {
  text-align: center;
  padding: 80px 20px;
}

.contact h2 {
  color: #00ADB5;
  margin-bottom: 20px;
}

/* Footer */
footer {
  background: #1E1E1E;
  text-align: center;
  padding: 15px;
  font-size: 1.10em;
  color: #A9A9A9;
}

/* ===========================
   🧠 SKILLS SECTION
   =========================== */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .skills-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .skills-grid {
    grid-template-columns: 1fr;
  }
}

.skill-card {
  background-color: #2A2A2A;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.skill-card h3 {
  color: #00ADB5;                
  font-weight: 700;
  font-size: 1.30em;   /* ------------------------------------------------------------------------------------------------------*/
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.skill-card p {
  color: #bdbdbd;
  font-size: 1.10em;
}

/*  Bullet-style skill lists */
.skill-card ul {
  list-style: none; 
  padding-left: 0;
  margin-top: 10px;
}

.skill-card li {
  margin: 6px 0;
  color: #E0E0E0;
  font-size: 1.10em;
  line-height: 1.4;
}





/* ===========================
    MEMBERSHIPS SECTION
   =========================== */
.membership-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* exactly 3 per row */
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .membership-grid {
    grid-template-columns: 1fr;
  }
}

.membership-card {
  background-color: #2A2A2A;
  padding: 1.2rem;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.membership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
}

.membership-card h3 {
  color: #00ADB5;                
  font-weight: 700;
  font-size: 1.10em;
  margin-bottom: 0.6rem;
  letter-spacing: 0.3px;
}

.membership-card p {
  color: #bdbdbd;
  font-size: 1.10em;
}


/* Contact section */
#contact {
  background-color: #121212;
  padding: 40px 0; /* remove horizontal padding */
  border-radius: 12px;
  margin-top: 60px;
  position: relative;
}

/* Inner container — matches the width of other sections */
.contact-container {
  background-color: #1E1E1E;
  padding: 30px;
  border-radius: 12px;
  max-width: 1200px; /* matches other section widths */
  margin: 0 auto; /* centers it horizontally */
}

/* Section heading */
#contact .section-title {
  color: #00ffff;
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 30px;
  position: relative;
  top: -20px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact links styling */
.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  align-items: center;
  justify-content: center; /* centers all links horizontally */
  text-align: center;
}


.contact-links a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.10rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.contact-links a:hover {
  color: #00ffff;
}

.contact-links i {
  font-size: 1.10rem;
}


/* Responsive Design Fixes */
@media (max-width: 1024px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 3rem 1rem;
  }

  .hero-left h1 {
    font-size: 2rem;
  }

  .about-me {
    font-size: 1rem;
  }

  .skills-grid,
  .membership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .skills-grid,
  .membership-grid {
    grid-template-columns: 1fr;
  }

  .experience-list, 
  .projects-timeline {
    flex-direction: column;
    gap: 1.5rem;
  }

  .project-entry {
    width: 100%;
  }

  .contact-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  h2 {
    font-size: 1.6rem;
  }

  p, li {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9rem;
  }

  .hero-left h1 span {
    display: block;
    font-size: 2rem;
  }

  .btn {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }

  .social-links a {
    width: 30px;
    height: 30px;
  }

  footer p {
    font-size: 0.8rem;
  }
}
