
/* General Styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #f5f7fa;
  color: #1f2937;
  line-height: 1.6;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-color-1 {
  background-color: #3b82f6;
  color: white;
  border: none;
}

.btn-color-1:hover {
  background-color: #2563eb;
}

.btn-color-2 {
  background-color: transparent;
  border: 2px solid #3b82f6;
  color: #3b82f6;
}

.btn-color-2:hover {
  background-color: #3b82f6;
  color: white;
}

/* Navigation */
#desktop-nav {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: #3b82f6;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links li a {
  font-size: 1.1rem;
  color: #1f2937;
}

.nav-links li a:hover {
  color: #3b82f6;
  text-decoration: underline;
  text-underline-offset: 0.5rem;
}

#hamburger-nav {
  display: none;
}

.hamburger-menu {
  position: relative;
  padding: 1rem 2rem;
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 24px;
  width: 30px;
  cursor: pointer;
}

.hamburger-icon span {
  width: 100%;
  height: 3px;
  background-color: #3b82f6;
  transition: all 0.3s ease-in-out;
}

.menu-links {
  position: absolute;
  top: 100%;
  right: 0;
  background-color: #ffffff;
  width: 200px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.menu-links.open {
  max-height: 350px;
}

.menu-links ul {
  list-style: none;
}

.menu-links a {
  display: block;
  padding: 1rem;
  font-size: 1.1rem;
  color: #1f2937;
  text-align: center;
}

.menu-links a:hover {
  background-color: #f5f7fa;
  color: #3b82f6;
}

.hamburger-icon.open span:first-child {
  transform: rotate(45deg) translate(10px, 5px);
}

.hamburger-icon.open span:nth-child(2) {
  opacity: 0;
}

.hamburger-icon.open span:last-child {
  transform: rotate(-45deg) translate(10px, -5px);
}

/* Section Styles */
section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  color: #1f2937;
  margin-bottom: 2rem;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: #3b82f6;
  margin: 0.5rem auto;
  border-radius: 2px;
}

/* Profile Section */
.profile-container {
  display: flex;
  flex-direction: row; /* Changed to row */
  align-items: center;
  justify-content: center; /* Centers items horizontally */
  text-align: center;
  padding: 4rem 0;
  gap: 3rem; /* Adds spacing between items */
  flex-wrap: wrap; /* Allows items to wrap on smaller screens */
}

.profile-pic {
  width: 400px;
  height: 400px;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 2rem;
}

.profile-text h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #1f2937;
}

.profile-text h2 {
  font-size: 1.8rem;
  color: #3b82f6;
  margin: 1rem 0;
}

.btn-container {
  display: flex;
  gap: 1rem;
  margin: 1.5rem 0;
  justify-content: center; /* Horizontally centers the button */
  align-items: center; /* Vertically centers the button */

}

.socials-container {
  display: flex;
  gap: 1rem;
  justify-content: center; /* Horizontally centers the button */
  align-items: center; /* Vertically centers the button */
}

.social-icon {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icon:hover {
  transform: scale(1.1);
}

/* About Section - New Design */
.about-section {
  padding: 80px 0;
  background-color: #ffffff; /* Light background for separation */
  text-align: center;
}

.about-section .section-subtitle {
  color: #6b7280;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.about-section .section-title {
  font-size: 2.8rem;
  color: #1f2937;
  margin-bottom: 3rem;
}

.about-content {
  display: flex;
  flex-direction: column; /* Stack vertically on small screens */
  align-items: center;
  gap: 3rem; /* Space between image and text */
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 992px) { /* Larger screens: side-by-side */
  .about-content {
    flex-direction: row;
    text-align: left;
  }
}

.about-image-wrapper {
  flex-shrink: 0; /* Prevent image from shrinking */
  width: 100%;
  max-width: 350px; /* Control image size */
  background-color: #ffffff; /* Card-like background for image */
  border-radius: 1.5rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  padding: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-main-pic {
  width: 100%;
  height: auto;
  border-radius: 1rem; /* Slightly rounded corners for the image itself */
}

.about-info {
  flex-grow: 1;
  max-width: 700px; /* Limit text width for readability */
}

.about-description {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 2.5rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Responsive grid for cards */
  gap: 1.5rem;
  text-align: left; /* Align text within cards */
}

.highlight-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.highlight-card h3 {
  font-size: 1.4rem;
  color: #2563eb; /* A distinct blue for headings */
  margin-bottom: 1rem;
  border-bottom: 2px solid #eff6ff; /* Subtle separator */
  padding-bottom: 0.5rem;
}

.highlight-card ul {
  list-style: none; /* Remove default list bullets */
  padding: 0;
  margin: 0;
}

.highlight-card ul li {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 0.7rem;
  position: relative;
  padding-left: 1.5rem; /* Space for custom bullet */
}

.highlight-card ul li::before {
  content: "•"; /* Custom bullet point */
  color: #2563eb;
  position: absolute;
  left: 0;
  font-weight: bold;
}

.highlight-card p {
  font-size: 1rem;
  color: #4b5563;
  line-height: 1.6;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
  .about-section {
    padding: 60px 0;
  }

  .about-section .section-title {
    font-size: 2.2rem;
    margin-bottom: 2rem;
  }

  .about-content {
    gap: 2rem;
  }

  .about-image-wrapper {
    max-width: 300px;
  }

  .about-description {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .about-highlights {
    grid-template-columns: 1fr; /* Single column for very small screens */
  }
}

/* Experience Section */
.experience-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.experience-card {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s ease;
}

.experience-card:hover {
  transform: translateY(-5px);
}

.experience-card::before {
  content: '';
  position: absolute;
  left: -10px;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #3b82f6;
  border-radius: 2px;
}

.job-title {
  font-size: 1.5rem;
  color: #1f2937;
  margin-bottom: 1rem;
  text-align: center;
}

.job-location, .job-duration {
  font-size: 0.9rem;
  color: #6b7280;
}

.job-role {
  font-weight: 600;
  color: #1f2937;
}

.job-details {
  list-style: none;
  padding: 0;
  font-size: 1rem;
  color: #4b5563;
}

.job-details li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.8rem;
}

.job-details li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: #3b82f6;
  font-size: 1.2rem;
}

/* Skills Section #f8fafc*/
.skills-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

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

.skill-card {
  background-color: #e6eff8;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  border-radius: 1rem;
  transition: transform 0.3s ease;
}

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

.skill-card h3 {
  font-size: 1.3rem;
  color: #3b82f6;
  margin-bottom: 0.8rem;
}

.skill-card p {
  font-size: 1rem;
  color: #4b5563;
}

/* Projects Section */
.projects-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
}

.project-card {
  background-color: #f8fafc;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.project-card:hover {
  transform: translateY(-5px);
}

.project-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 1rem;
  margin-bottom: 1rem;
}

.project-card h3 {
  font-size: 1.4rem;
  color: #1f2937;
  margin-bottom: 0.8rem;
}

.project-card p {
  font-size: 1rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.tool-tag {
  display: inline-block;
  background-color: #e5e7eb;
  color: #1f2937;
  padding: 0.4rem 0.8rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  margin-right: 0.5rem;
  margin-top: 0.5rem;
}

/* Certificates Section */
.certificates-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.certificate-card {
  background-color: #ffffff;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: transform 0.3s ease;
}

.certificate-card:hover {
  transform: translateY(-5px);
}

.certificate-img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
}

.certificate-card h3 {
  font-size: 1.2rem;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.certificate-card p {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Contact Section */
.contact-container {
  background-color: #ffffff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact-icon {
  width: 30px;
  height: 30px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form label {
  font-size: 1.1rem;
  color: #1f2937;
}

.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.5rem;
  font-size: 1rem;
  resize: vertical;
}

.contact-form textarea:focus {
  outline: none;
  border-color: #3b82f6;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  background-color: #1f2937;
  color: white;
}


/* Responsive Design */
@media (max-width: 768px) {
  section {
    padding: 3rem 1rem;
  }

  .nav-container {
    flex-direction: column;
    gap: 1rem;
  }

  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: block;
  }

  .profile-container {
    padding: 2rem 1rem;
  }

  .profile-pic {
    width: 200px;
    height: 200px;
  }

  .about-container {
    flex-direction: column;
  }

  .experience-card::before {
    display: none;
  }

  .projects-container {
    grid-template-columns: 1fr;
  }

  .certificates-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 2rem;
  }

  .profile-text h1 {
    font-size: 2rem;
  }

  .profile-text h2 {
    font-size: 1.5rem;
  }
}

/* Icon Styles */
.icon {
  width: 24px;
  height: 24px;
  max-width: 100%;
  vertical-align: middle;
  cursor: default;
}
